Class ClientboundRecipeBookSettingsPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundRecipeBookSettingsPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionClientboundRecipeBookSettingsPacket(io.netty.buffer.ByteBuf in) ClientboundRecipeBookSettingsPacket(ClientboundRecipeBookSettingsPacket.TypeSettings crafting, ClientboundRecipeBookSettingsPacket.TypeSettings furnace, ClientboundRecipeBookSettingsPacket.TypeSettings blastFurnace, ClientboundRecipeBookSettingsPacket.TypeSettings smoker) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundRecipeBookSettingsPacket@NonNull ClientboundRecipeBookSettingsPacket@NonNull ClientboundRecipeBookSettingsPacket@NonNull ClientboundRecipeBookSettingsPacketMethods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundRecipeBookSettingsPacket
public ClientboundRecipeBookSettingsPacket(io.netty.buffer.ByteBuf in) -
ClientboundRecipeBookSettingsPacket
public ClientboundRecipeBookSettingsPacket(ClientboundRecipeBookSettingsPacket.TypeSettings crafting, ClientboundRecipeBookSettingsPacket.TypeSettings furnace, ClientboundRecipeBookSettingsPacket.TypeSettings blastFurnace, ClientboundRecipeBookSettingsPacket.TypeSettings smoker)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getCrafting
-
getFurnace
-
getBlastFurnace
-
getSmoker
-
equals
-
canEqual
-
hashCode
-
toString
-
withCrafting
public @NonNull ClientboundRecipeBookSettingsPacket withCrafting(ClientboundRecipeBookSettingsPacket.TypeSettings crafting) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFurnace
public @NonNull ClientboundRecipeBookSettingsPacket withFurnace(ClientboundRecipeBookSettingsPacket.TypeSettings furnace) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBlastFurnace
public @NonNull ClientboundRecipeBookSettingsPacket withBlastFurnace(ClientboundRecipeBookSettingsPacket.TypeSettings blastFurnace) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSmoker
public @NonNull ClientboundRecipeBookSettingsPacket withSmoker(ClientboundRecipeBookSettingsPacket.TypeSettings smoker) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-