net.minecraft.network.protocol.game

public class ServerboundPlaceRecipePacket

implements Packet<ServerGamePacketListener>

ahk
net.minecraft.network.protocol.game.ServerboundPlaceRecipePacket
net.minecraft.class_2840
net.minecraft.network.packet.c2s.play.CraftRequestC2SPacket
net.minecraft.src.C_5173_
net.minecraft.network.protocol.game.PacketPlayInAutoRecipe

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundPlaceRecipePacket>
a
STREAM_CODEC
field_48205
CODEC
f_316340_
private final int
b
containerId
field_12933
syncId
f_134235_
private final ResourceLocation
c
recipe
field_12931
recipeId
f_134236_
private final boolean
d
shiftDown
field_12932
craftAll
f_134237_

Constructor summary

ModifierConstructor
public (int syncId, RecipeHolder<?> recipe, boolean craftAll)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55986(class_2540 arg0)
write(PacketByteBuf buf)
m_134250_(C_4983_ arg0)
public PacketType<ServerboundPlaceRecipePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12317(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
getContainerId()
method_12318()
getSyncId()
m_134249_()
public ResourceLocation
e()
getRecipe()
method_12320()
getRecipeId()
m_134252_()
public boolean
f()
isShiftDown()
method_12319()
shouldCraftAll()
m_134253_()