net.minecraft.recipe

public record RecipeDisplayEntry

net.minecraft.world.item.crafting.display.RecipeDisplayEntry
net.minecraft.class_10297
net.minecraft.recipe.RecipeDisplayEntry

Field summary

Modifier and TypeField
private final NetworkRecipeId
id
comp_3262
id
private final RecipeDisplay
display
comp_3263
display
private final OptionalInt
group
comp_3264
group
private final RecipeBookCategory
category
comp_3265
category
private final Optional<List<Ingredient>>
craftingRequirements
comp_3266
craftingRequirements
public static final PacketCodec<RegistryByteBuf, RecipeDisplayEntry>
STREAM_CODEC
field_54663
PACKET_CODEC

Constructor summary

ModifierConstructor
public (NetworkRecipeId id, RecipeDisplay display, OptionalInt group, RecipeBookCategory category, Optional<List<Ingredient>> craftingRequirements)

Method summary

Modifier and TypeMethod
public List<ItemStack>
resultItems(ContextMap context)
method_64730(class_10352 arg0)
getStacks(ContextParameterMap context)
public boolean
canCraft(StackedItemContents providedContents)
method_64729(class_9875 arg0)
isCraftable(RecipeFinder finder)
public NetworkRecipeId
id()
comp_3262()
id()
public RecipeDisplay
display()
comp_3263()
display()
public OptionalInt
group()
comp_3264()
group()
public RecipeBookCategory
category()
comp_3265()
category()
public Optional<List<Ingredient>>
craftingRequirements()
comp_3266()
craftingRequirements()