Class ServerboundPlaceRecipePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundPlaceRecipePacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundPlaceRecipePacket(int containerId, @NonNull String recipeId, boolean makeAll) ServerboundPlaceRecipePacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanint@NonNull StringinthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ServerboundPlaceRecipePacketwithContainerId(int containerId) @NonNull ServerboundPlaceRecipePacketwithMakeAll(boolean makeAll) @NonNull ServerboundPlaceRecipePacketwithRecipeId(@NonNull String recipeId) 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
-
ServerboundPlaceRecipePacket
-
ServerboundPlaceRecipePacket
public ServerboundPlaceRecipePacket(int containerId, @NonNull @NonNull String recipeId, boolean makeAll)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getContainerId
public int getContainerId() -
getRecipeId
-
isMakeAll
public boolean isMakeAll() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withContainerId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRecipeId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMakeAll
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-