net.minecraft.network.packet.c2s.play

public record CraftRequestC2SPacket

implements Packet<ServerPlayPacketListener>

net.minecraft.network.protocol.game.ServerboundPlaceRecipePacket
net.minecraft.class_2840
net.minecraft.network.packet.c2s.play.CraftRequestC2SPacket

Field summary

Modifier and TypeField
private final int
containerId
comp_3243
syncId
private final NetworkRecipeId
recipe
comp_3244
recipeId
private final boolean
useMaxItems
comp_3245
craftAll
public static final PacketCodec<PacketByteBuf, CraftRequestC2SPacket>
STREAM_CODEC
field_48205
CODEC

Constructor summary

ModifierConstructor
public (int syncId, NetworkRecipeId recipeId, boolean craftAll)

Method summary

Modifier and TypeMethod
public PacketType<CraftRequestC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_12317(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
containerId()
comp_3243()
syncId()
public NetworkRecipeId
recipe()
comp_3244()
recipeId()
public boolean
useMaxItems()
comp_3245()
craftAll()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)