Class ClientboundPlaceGhostRecipePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlaceGhostRecipePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundPlaceGhostRecipePacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundPlaceGhostRecipePacket(int p_132647_, Recipe<?> p_132648_)
ClientboundPlaceGhostRecipePacket(FriendlyByteBuf p_179027_)
-
Method Summary
Modifier and TypeMethodDescriptionint
void
handle(ClientGamePacketListener p_132654_)
void
write(FriendlyByteBuf p_132657_)
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
-
Field Details
-
containerId
private final int containerId -
recipe
-
-
Constructor Details
-
ClientboundPlaceGhostRecipePacket
-
ClientboundPlaceGhostRecipePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getRecipe
-
getContainerId
public int getContainerId()
-