类 ServerboundRecipeBookChangeSettingsPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundRecipeBookChangeSettingsPacket
- 所有已实现的接口:
Packet<ServerGamePacketListener>
public class ServerboundRecipeBookChangeSettingsPacket
extends Object
implements Packet<ServerGamePacketListener>
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明private
ServerboundRecipeBookChangeSettingsPacket
(RecipeBookType p_134366_, boolean p_134367_, boolean p_134368_) -
方法概要
修饰符和类型方法说明void
handle
(ServerGamePacketListener p_134374_) boolean
boolean
isOpen()
type()
private void
write
(FriendlyByteBuf p_134377_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
字段详细资料
-
STREAM_CODEC
public static final StreamCodec<FriendlyByteBuf,ServerboundRecipeBookChangeSettingsPacket> STREAM_CODEC -
bookType
-
isOpen
private final boolean isOpen -
isFiltering
private final boolean isFiltering
-
-
构造器详细资料
-
ServerboundRecipeBookChangeSettingsPacket
public ServerboundRecipeBookChangeSettingsPacket(RecipeBookType p_134366_, boolean p_134367_, boolean p_134368_) -
ServerboundRecipeBookChangeSettingsPacket
-
-
方法详细资料
-
write
-
type
- 指定者:
type
在接口中Packet<ServerGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ServerGamePacketListener>
-
getBookType
-
isOpen
public boolean isOpen() -
isFiltering
public boolean isFiltering()
-