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
Modifier and TypeFieldDescriptionprivate final int
private final ResourceLocation
static final StreamCodec
<FriendlyByteBuf, ClientboundPlaceGhostRecipePacket> -
Constructor Summary
ModifierConstructorDescriptionClientboundPlaceGhostRecipePacket
(int p_132647_, RecipeHolder<?> p_301206_) private
ClientboundPlaceGhostRecipePacket
(FriendlyByteBuf p_179027_) -
Method Summary
Modifier and TypeMethodDescriptionint
void
handle
(ClientGamePacketListener p_132654_) type()
private 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
containerId
private final int containerId -
recipe
-
-
Constructor Details
-
ClientboundPlaceGhostRecipePacket
-
ClientboundPlaceGhostRecipePacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getRecipe
-
getContainerId
public int getContainerId()
-