Uses of Interface
net.minecraft.recipe.CraftingRecipe
-
Uses of CraftingRecipe in net.minecraft.block
Modifier and TypeMethodDescriptionstatic Optional
<RecipeEntry<CraftingRecipe>> CrafterBlock.getCraftingRecipe
(World world, RecipeInputInventory inputInventory) Modifier and TypeMethodDescriptionprivate void
CrafterBlock.transferOrSpawnStack
(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeEntry<CraftingRecipe> recipe) -
Uses of CraftingRecipe in net.minecraft.recipe
Modifier and TypeClassDescriptionclass
SpecialRecipeSerializer<T extends CraftingRecipe>
A serializer for hardcoded recipes.static interface
SpecialRecipeSerializer.Factory<T extends CraftingRecipe>
Modifier and TypeClassDescriptionclass
class
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
(RecipeInputInventory inputInventory, World world) RecipeCache.getRecipe
(World world, RecipeInputInventory inputInventory) RecipeCache.CachedRecipe.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionprivate void
RecipeCache.cache
(List<ItemStack> inputStacks, @Nullable RecipeEntry<CraftingRecipe> recipe) ModifierConstructorDescription(package private)
CachedRecipe
(DefaultedList<ItemStack> defaultedList, @Nullable RecipeEntry<CraftingRecipe> recipeEntry)