Uses of Interface
net.minecraft.recipe.CraftingRecipe
-
Uses of CraftingRecipe in net.minecraft.block
Modifier and TypeMethodDescriptionstatic Optional
<RecipeEntry<CraftingRecipe>> CrafterBlock.getCraftingRecipe
(World world, CraftingRecipeInput input) 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
(CraftingRecipeInput input, World world) RecipeCache.getRecipe
(World world, CraftingRecipeInput input) 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 TypeMethodDescriptionboolean
CraftingScreenHandler.matches
(RecipeEntry<CraftingRecipe> recipe) boolean
PlayerScreenHandler.matches
(RecipeEntry<CraftingRecipe> recipe) void
CraftingScreenHandler.onInputSlotFillFinish
(RecipeEntry<CraftingRecipe> recipe) protected static void
CraftingScreenHandler.updateResult
(ScreenHandler handler, World world, PlayerEntity player, RecipeInputInventory craftingInventory, CraftingResultInventory resultInventory, @Nullable RecipeEntry<CraftingRecipe> recipe)