net.minecraft.recipe.display

public record ShapedCraftingRecipeDisplay

implements RecipeDisplay

net.minecraft.world.item.crafting.display.ShapedCraftingRecipeDisplay
net.minecraft.world.item.crafting.display.ShapedCraftingRecipeDisplay
net.minecraft.class_10300
net.minecraft.recipe.display.ShapedCraftingRecipeDisplay

Field summary

Modifier and TypeField
private final int
width
width
comp_3268
width
private final int
height
height
comp_3269
height
private final List<SlotDisplay>
ingredients
ingredients
comp_3270
ingredients
private final SlotDisplay
result
result
comp_3258
result
private final SlotDisplay
craftingStation
craftingStation
comp_3259
craftingStation
public static final com.mojang.serialization.MapCodec<ShapedCraftingRecipeDisplay>
MAP_CODEC
MAP_CODEC
field_54665
CODEC
public static final PacketCodec<RegistryByteBuf, ShapedCraftingRecipeDisplay>
STREAM_CODEC
STREAM_CODEC
field_54666
PACKET_CODEC
public static final RecipeDisplay$Serializer<ShapedCraftingRecipeDisplay>
TYPE
TYPE
field_54667
SERIALIZER

Constructor summary

ModifierConstructor
public (int width, int height, List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation)

Method summary

Modifier and TypeMethod
public RecipeDisplay$Serializer<ShapedCraftingRecipeDisplay>
type()
type()
method_64726()
serializer()
public boolean
isEnabled(FeatureFlagSet enabledFeatures)
isEnabled(FeatureFlagSet enabledFeatures)
method_64728(class_7699 arg0)
isEnabled(FeatureSet arg0)
public int
width()
width()
comp_3268()
width()
public int
height()
height()
comp_3269()
height()
public List<SlotDisplay>
ingredients()
ingredients()
comp_3270()
ingredients()
public SlotDisplay
result()
result()
comp_3258()
result()
public SlotDisplay
craftingStation()
craftingStation()
comp_3259()
craftingStation()