net.minecraft.network.packet.s2c.play

public record SynchronizeRecipesS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket
net.minecraft.class_2788
net.minecraft.network.packet.s2c.play.SynchronizeRecipesS2CPacket

Field summary

Modifier and TypeField
private final Map<RegistryKey<RecipePropertySet>, RecipePropertySet>
itemSets
comp_3241
itemSets
private final CuttingRecipeDisplay$Grouping<StonecuttingRecipe>
stonecutterRecipes
comp_3242
stonecutterRecipes
public static final PacketCodec<RegistryByteBuf, SynchronizeRecipesS2CPacket>
STREAM_CODEC
field_48012
CODEC

Constructor summary

ModifierConstructor
public (Map<RegistryKey<RecipePropertySet>, RecipePropertySet> itemSets, CuttingRecipeDisplay$Grouping<StonecuttingRecipe> stonecutterRecipes)

Method summary

Modifier and TypeMethod
public PacketType<SynchronizeRecipesS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11997(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public Map<RegistryKey<RecipePropertySet>, RecipePropertySet>
itemSets()
comp_3241()
itemSets()
public CuttingRecipeDisplay$Grouping<StonecuttingRecipe>
stonecutterRecipes()
comp_3242()
stonecutterRecipes()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)