Class ServerboundRecipeBookChangeSettingsPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundRecipeBookChangeSettingsPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
public class ServerboundRecipeBookChangeSettingsPacket
extends Object
implements Packet<ServerGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RecipeBookType
private final boolean
private final boolean
-
Constructor Summary
ConstructorDescriptionServerboundRecipeBookChangeSettingsPacket
(RecipeBookType p_134366_, boolean p_134367_, boolean p_134368_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(ServerGamePacketListener p_134374_) boolean
boolean
isOpen()
void
write
(FriendlyByteBuf p_134377_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol
-
Field Details
-
bookType
-
isOpen
private final boolean isOpen -
isFiltering
private final boolean isFiltering
-
-
Constructor Details
-
ServerboundRecipeBookChangeSettingsPacket
public ServerboundRecipeBookChangeSettingsPacket(RecipeBookType p_134366_, boolean p_134367_, boolean p_134368_) -
ServerboundRecipeBookChangeSettingsPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
getBookType
-
isOpen
public boolean isOpen() -
isFiltering
public boolean isFiltering()
-