Uses of Interface
net.minecraft.recipe.Recipe
Packages that use Recipe
-
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.recipeFactoryMethods in net.minecraft.data.server.recipe with parameters of type RecipeModifier and TypeMethodDescriptionvoidRecipeExporter.accept(Identifier recipeId, Recipe<?> recipe, @Nullable AdvancementEntry advancement) Method parameters in net.minecraft.data.server.recipe with type arguments of type RecipeModifier and TypeMethodDescriptionstatic ComplexRecipeJsonBuilderComplexRecipeJsonBuilder.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 TypeClassDescriptionclassInputSlotFiller<R extends Recipe<?>>static interfaceInputSlotFiller.class_9840<T extends Recipe<?>>final recordRecipeEntry<T extends Recipe<?>>static interfaceRecipeManager.MatchGetter<I extends RecipeInput,T extends Recipe<I>> interfaceRecipeSerializer<T extends Recipe<?>>The recipe serializer controls the serialization and deserialization of recipe content.interfaceRecipeType<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 TypeClassDescriptionclassclassclassclassclassclassclassclassA recipe that has only one input ingredient.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.recipe declared as RecipeModifier and TypeFieldDescriptionprivate final TRecipeEntry.valueThe field for thevaluerecord component.Fields in net.minecraft.recipe with type parameters of type RecipeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Recipe<?>> Recipe.CODECstatic final PacketCodec<RegistryByteBuf, Recipe<?>> Recipe.PACKET_CODECMethods 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 givenidandtype, 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 giventypethat match the giveninventoryandworld.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 giventypethat match the giveninventoryandworld.<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 giventypethat match the giveninventoryandworld, 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 <I extends RecipeInput,R extends Recipe<I>>
AbstractRecipeScreenHandler.class_9885InputSlotFiller.method_61232(InputSlotFiller.class_9840<R> class_9840, int int2, int int3, List<Slot> list, List<Slot> list2, PlayerInventory playerInventory, RecipeEntry<R> recipeEntry, boolean bool, boolean bool2) 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 TypeMethodDescriptionbooleanRecipeFinder.isCraftable(Recipe<?> recipe, int quantity, RecipeMatcher.class_9874<RegistryEntry<Item>> class_9874) booleanRecipeFinder.isCraftable(Recipe<?> recipe, RecipeMatcher.class_9874<RegistryEntry<Item>> class_9874) intRecipeFinder.method_61542(Recipe<?> recipe, int int2, RecipeMatcher.class_9874<RegistryEntry<Item>> class_9874) intRecipeFinder.method_61543(Recipe<?> recipe, RecipeMatcher.class_9874<RegistryEntry<Item>> class_9874) -
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