Uses of Interface
net.minecraft.recipe.Recipe
Packages that use Recipe
Package
Description
-
Uses of Recipe in net.minecraft.data.server.recipe
Fields in net.minecraft.data.server.recipe with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final Function
<CraftingRecipeCategory, Recipe<?>> ComplexRecipeJsonBuilder.recipeFactory
Methods in net.minecraft.data.server.recipe with parameters of type RecipeModifier and TypeMethodDescriptionvoid
RecipeExporter.accept
(Identifier recipeId, Recipe<?> recipe, @Nullable AdvancementEntry advancement) Method parameters in net.minecraft.data.server.recipe with type arguments of type RecipeModifier and TypeMethodDescriptionstatic ComplexRecipeJsonBuilder
ComplexRecipeJsonBuilder.create
(Function<CraftingRecipeCategory, Recipe<?>> recipeFactory) Constructor parameters in net.minecraft.data.server.recipe with type arguments of type RecipeModifierConstructorDescriptionComplexRecipeJsonBuilder
(Function<CraftingRecipeCategory, Recipe<?>> recipeFactory) -
Uses of Recipe in net.minecraft.recipe
Classes in net.minecraft.recipe with type parameters of type RecipeModifier and TypeClassDescriptionclass
InputSlotFiller<I extends RecipeInput,
R extends Recipe<I>> final record
RecipeEntry<T extends Recipe<?>>
static interface
RecipeManager.MatchGetter<I extends RecipeInput,
T extends Recipe<I>> interface
RecipeSerializer<T extends Recipe<?>>
The recipe serializer controls the serialization and deserialization of recipe content.interface
RecipeType<T extends Recipe<?>>
The recipe type allows matching recipes more efficiently by only checking recipes under a given type.Subinterfaces of Recipe in net.minecraft.recipeClasses in net.minecraft.recipe that implement RecipeModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
A recipe that has only one input ingredient.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.recipe declared as RecipeModifier and TypeFieldDescriptionprivate final Recipe
<?> RecipeMatcher.Matcher.recipe
private final T
RecipeEntry.value
The field for thevalue
record component.Fields in net.minecraft.recipe with type parameters of type RecipeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Recipe<?>> Recipe.CODEC
static final PacketCodec
<RegistryByteBuf, Recipe<?>> Recipe.PACKET_CODEC
Methods in net.minecraft.recipe with type parameters of type RecipeModifier and TypeMethodDescriptionstatic <I extends RecipeInput,
T extends Recipe<I>>
RecipeManager.MatchGetter<I, T> RecipeManager.createCachedMatchGetter
(RecipeType<T> type) Creates a cached match getter.private <T extends Recipe<?>>
@Nullable RecipeEntry<T> RecipeManager.get
(RecipeType<T> type, Identifier id) Returns a recipe with the givenid
andtype
, or empty if there is no such recipe.<I extends RecipeInput,
T extends Recipe<I>>
List<RecipeEntry<T>> RecipeManager.getAllMatches
(RecipeType<T> type, I input, World world) Creates a list of all recipes of the giventype
that match the giveninventory
andworld
.private <I extends RecipeInput,
T extends Recipe<I>>
Collection<RecipeEntry<T>> RecipeManager.getAllOfType
(RecipeType<T> type) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world) Returns a recipe of the giventype
that match the giveninventory
andworld
.<I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world, @Nullable RecipeEntry<T> recipe) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world, @Nullable Identifier id) <I extends RecipeInput,
T extends Recipe<I>>
DefaultedList<ItemStack> RecipeManager.getRemainingStacks
(RecipeType<T> type, I input, World world) Returns the remainder of a recipe of the giventype
that match the giveninventory
andworld
, or a shallow copy of theinventory
.<I extends RecipeInput,
T extends Recipe<I>>
List<RecipeEntry<T>> RecipeManager.listAllOfType
(RecipeType<T> type) Creates a list of all recipes of the giventype
.static <S extends RecipeSerializer<T>,
T extends Recipe<?>>
Sstatic <T extends Recipe<?>>
RecipeType<T> Methods in net.minecraft.recipe with parameters of type RecipeModifier and TypeMethodDescriptionboolean
Attempts to match the recipe against the collected inputs.boolean
Attempts to match the recipe against the collected inputs.Constructors in net.minecraft.recipe with parameters of type Recipe -
Uses of Recipe in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type RecipeModifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<Recipe<?>>> RegistryKeys.RECIPE
-
Uses of Recipe in net.minecraft.screen
Classes in net.minecraft.screen with type parameters of type RecipeModifier and TypeClassDescriptionclass
AbstractRecipeScreenHandler<I extends RecipeInput,
R extends Recipe<I>>