Class ServerboundRecipeBookSeenRecipePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundRecipeBookSeenRecipePacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundRecipeBookSeenRecipePacket(io.netty.buffer.ByteBuf in) ServerboundRecipeBookSeenRecipePacket(@NonNull String recipeId) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundRecipeBookSeenRecipePacket
public ServerboundRecipeBookSeenRecipePacket(io.netty.buffer.ByteBuf in) -
ServerboundRecipeBookSeenRecipePacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getRecipeId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withRecipeId
public @NonNull ServerboundRecipeBookSeenRecipePacket withRecipeId(@NonNull @NonNull String recipeId) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-