Uses of Interface
net.minecraft.recipe.CraftingRecipe
-
Uses of CraftingRecipe in net.minecraft.block
Modifier and TypeMethodDescriptionstatic Optional
<RecipeEntry<CraftingRecipe>> CrafterBlock.getCraftingRecipe
(ServerWorld world, CraftingRecipeInput input) -
Uses of CraftingRecipe in net.minecraft.recipe
Modifier and TypeClassDescriptionstatic class
A serializer for hardcoded recipes.static interface
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionstatic final RecipeType
<CraftingRecipe> RecipeType.CRAFTING
private final @Nullable RecipeEntry
<CraftingRecipe> RecipeCache.CachedRecipe.value
The field for thevalue
record component.Modifier and TypeMethodDescriptionprivate Optional
<RecipeEntry<CraftingRecipe>> RecipeCache.getAndCacheRecipe
(CraftingRecipeInput input, ServerWorld world) RecipeCache.getRecipe
(ServerWorld world, CraftingRecipeInput input) RecipeSerializer
<? extends CraftingRecipe> CraftingRecipe.getSerializer()
Returns the serializer associated with this recipe.default RecipeType
<CraftingRecipe> CraftingRecipe.getType()
Returns the type of this recipe.RecipeCache.CachedRecipe.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionprivate void
RecipeCache.cache
(CraftingRecipeInput input, @Nullable RecipeEntry<CraftingRecipe> recipe) ModifierConstructorDescription(package private)
CachedRecipe
(DefaultedList<ItemStack> defaultedList, int int2, int int3, @Nullable RecipeEntry<CraftingRecipe> recipeEntry) -
Uses of CraftingRecipe in net.minecraft.screen
Modifier and TypeMethodDescriptionprotected void
AbstractCraftingScreenHandler.onInputSlotFillFinish
(ServerWorld world, RecipeEntry<CraftingRecipe> recipe) void
CraftingScreenHandler.onInputSlotFillFinish
(ServerWorld world, RecipeEntry<CraftingRecipe> recipe) protected static void
CraftingScreenHandler.updateResult
(ScreenHandler handler, ServerWorld world, PlayerEntity player, RecipeInputInventory craftingInventory, CraftingResultInventory resultInventory, @Nullable RecipeEntry<CraftingRecipe> recipe)