net.minecraft.network.packet.s2c.play

public record RecipeBookAddS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundRecipeBookAddPacket
net.minecraft.class_10266
net.minecraft.network.packet.s2c.play.RecipeBookAddS2CPacket

Field summary

Modifier and TypeField
private final List<RecipeBookAddS2CPacket$Entry>
entries
comp_3232
entries
private final boolean
replace
comp_3294
replace
public static final PacketCodec<RegistryByteBuf, RecipeBookAddS2CPacket>
STREAM_CODEC
field_54517
CODEC

Constructor summary

ModifierConstructor
public (List<RecipeBookAddS2CPacket$Entry> entries, boolean replace)

Method summary

Modifier and TypeMethod
public PacketType<RecipeBookAddS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_64560(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public List<RecipeBookAddS2CPacket$Entry>
entries()
comp_3232()
entries()
public boolean
replace()
comp_3294()
replace()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)