Uses of Interface
net.minecraft.recipe.Recipe
Packages that use Recipe
Package
Description
-
Uses of Recipe in net.minecraft.advancement
Fields in net.minecraft.advancement with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<RegistryKey<Recipe<?>>> AdvancementRewards.Builder.recipesprivate final List<RegistryKey<Recipe<?>>> AdvancementRewards.recipesThe field for therecipesrecord component.Methods in net.minecraft.advancement that return types with arguments of type RecipeModifier and TypeMethodDescriptionList<RegistryKey<Recipe<?>>> AdvancementRewards.recipes()Returns the value of therecipesrecord component.Method parameters in net.minecraft.advancement with type arguments of type RecipeModifier and TypeMethodDescriptionAdvancementRewards.Builder.addRecipe(RegistryKey<Recipe<?>> registryKey) static AdvancementRewards.BuilderAdvancementRewards.Builder.recipe(RegistryKey<Recipe<?>> registryKey) -
Uses of Recipe in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final RegistryKey<Recipe<?>> RecipeUnlockedCriterion.Conditions.recipeThe field for thereciperecord component.private final RegistryKey<Recipe<?>> RecipeCraftedCriterion.Conditions.recipeIdThe field for therecipeIdrecord component.Methods in net.minecraft.advancement.criterion that return types with arguments of type RecipeModifier and TypeMethodDescriptionRegistryKey<Recipe<?>> RecipeUnlockedCriterion.Conditions.recipe()Returns the value of thereciperecord component.RegistryKey<Recipe<?>> RecipeCraftedCriterion.Conditions.recipeId()Returns the value of therecipeIdrecord component.Method parameters in net.minecraft.advancement.criterion with type arguments of type RecipeModifier and TypeMethodDescriptionRecipeCraftedCriterion.Conditions.create(RegistryKey<Recipe<?>> registryKey) RecipeCraftedCriterion.Conditions.create(RegistryKey<Recipe<?>> registryKey, List<ItemPredicate.Builder> ingredients) RecipeUnlockedCriterion.create(RegistryKey<Recipe<?>> registryKey) RecipeCraftedCriterion.Conditions.createCrafterRecipeCrafted(RegistryKey<Recipe<?>> registryKey) (package private) booleanRecipeCraftedCriterion.Conditions.matches(RegistryKey<Recipe<?>> registryKey, List<ItemStack> ingredients) voidRecipeCraftedCriterion.trigger(ServerPlayerEntity player, RegistryKey<Recipe<?>> registryKey, List<ItemStack> ingredients) Constructor parameters in net.minecraft.advancement.criterion with type arguments of type RecipeModifierConstructorDescriptionConditions(Optional<LootContextPredicate> playerPredicate, RegistryKey<Recipe<?>> registryKey, List<ItemPredicate> ingredients) Conditions(Optional<LootContextPredicate> playerPredicate, RegistryKey<Recipe<?>> registryKey) -
Uses of Recipe in net.minecraft.block.entity
Fields in net.minecraft.block.entity with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final Reference2IntOpenHashMap<RegistryKey<Recipe<?>>> AbstractFurnaceBlockEntity.recipesUsed -
Uses of Recipe in net.minecraft.component
Fields in net.minecraft.component with type parameters of type RecipeModifier and TypeFieldDescriptionstatic final ComponentType<List<RegistryKey<Recipe<?>>>> DataComponentTypes.RECIPES -
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 RegistryKey<Recipe<?>> VanillaRecipeGenerator.SmithingTemplate.idThe field for theidrecord component.private final Function<CraftingRecipeCategory, Recipe<?>> ComplexRecipeJsonBuilder.recipeFactoryMethods in net.minecraft.data.server.recipe that return types with arguments of type RecipeModifier and TypeMethodDescriptionRegistryKey<Recipe<?>> VanillaRecipeGenerator.SmithingTemplate.id()Returns the value of theidrecord component.Methods in net.minecraft.data.server.recipe with parameters of type RecipeModifier and TypeMethodDescriptionvoidRecipeExporter.accept(RegistryKey<Recipe<?>> key, Recipe<?> recipe, @Nullable AdvancementEntry advancement) Method parameters in net.minecraft.data.server.recipe with type arguments of type RecipeModifier and TypeMethodDescriptionvoidRecipeExporter.accept(RegistryKey<Recipe<?>> key, Recipe<?> recipe, @Nullable AdvancementEntry advancement) static ComplexRecipeJsonBuilderComplexRecipeJsonBuilder.create(Function<CraftingRecipeCategory, Recipe<?>> recipeFactory) protected voidRecipeGenerator.offerSmithingTrimRecipe(Item input, RegistryKey<Recipe<?>> registryKey) voidComplexRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) voidCookingRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) voidCraftingRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) voidShapedRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) voidShapelessRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) voidSmithingTransformRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) voidSmithingTrimRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) voidStonecuttingRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) voidTransmuteRecipeJsonBuilder.offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> registryKey) private voidCookingRecipeJsonBuilder.validate(RegistryKey<Recipe<?>> registryKey) private RawShapedRecipeShapedRecipeJsonBuilder.validate(RegistryKey<Recipe<?>> registryKey) private voidShapelessRecipeJsonBuilder.validate(RegistryKey<Recipe<?>> registryKey) private voidSmithingTransformRecipeJsonBuilder.validate(RegistryKey<Recipe<?>> registryKey) private voidSmithingTrimRecipeJsonBuilder.validate(RegistryKey<Recipe<?>> registryKey) private voidStonecuttingRecipeJsonBuilder.validate(RegistryKey<Recipe<?>> registryKey) private voidTransmuteRecipeJsonBuilder.validate(RegistryKey<Recipe<?>> registryKey) Constructor parameters in net.minecraft.data.server.recipe with type arguments of type RecipeModifierConstructorDescriptionComplexRecipeJsonBuilder(Function<CraftingRecipeCategory, Recipe<?>> recipeFactory) SmithingTemplate(Item item, RegistryKey<Recipe<?>> registryKey) -
Uses of Recipe in net.minecraft.entity.player
Method parameters in net.minecraft.entity.player with type arguments of type RecipeModifier and TypeMethodDescriptionvoidPlayerEntity.unlockRecipes(List<RegistryKey<Recipe<?>>> recipes) -
Uses of Recipe in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final Object2BooleanMap<RegistryKey<Recipe<?>>> PlayerPredicate.Builder.recipesprivate final Object2BooleanMap<RegistryKey<Recipe<?>>> PlayerPredicate.recipesThe field for therecipesrecord component.Methods in net.minecraft.predicate.entity that return types with arguments of type RecipeModifier and TypeMethodDescriptionPlayerPredicate.recipes()Returns the value of therecipesrecord component.Method parameters in net.minecraft.predicate.entity with type arguments of type RecipeModifier and TypeMethodDescriptionPlayerPredicate.Builder.recipe(RegistryKey<Recipe<?>> registryKey, boolean unlocked) Constructor parameters in net.minecraft.predicate.entity with type arguments of type RecipeModifierConstructorDescriptionPlayerPredicate(NumberRange.IntRange experienceLevel, GameModeList gameModeList, List<PlayerPredicate.StatMatcher<?>> list, Object2BooleanMap<RegistryKey<Recipe<?>>> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> optional, Optional<InputPredicate> optional2) -
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.Handler<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 TypeFieldDescriptionprivate final Map<RegistryKey<Recipe<?>>, RecipeEntry<?>> PreparedRecipes.byKeystatic final com.mojang.serialization.Codec<Recipe<?>> Recipe.CODECprivate Map<RegistryKey<Recipe<?>>, List<RecipeManager.class_10288>> RecipeManager.field_54642private final RegistryKey<Recipe<?>> RecipeEntry.idThe field for theidrecord component.static 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.static <I extends RecipeInput,R extends Recipe<I>>
AbstractRecipeScreenHandler.PostFillActionInputSlotFiller.fill(InputSlotFiller.Handler<R> handler, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn, PlayerInventory inventory, RecipeEntry<R> recipe, boolean craftAll, boolean creative) <I extends RecipeInput,T extends Recipe<I>>
Stream<RecipeEntry<T>> PreparedRecipes.find(RecipeType<T> type, I input, World world) private <T extends Recipe<?>>
@Nullable RecipeEntry<T> RecipeManager.get(RecipeType<T> type, RegistryKey<Recipe<?>> key) Returns a recipe with the givenidandtype, or empty if there is no such recipe.<I extends RecipeInput,T extends Recipe<I>>
Collection<RecipeEntry<T>> PreparedRecipes.getAll(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 RegistryKey<Recipe<?>> recipe) static <S extends RecipeSerializer<T>,T extends Recipe<?>>
Sstatic <T extends Recipe<?>>
RecipeType<T> Methods in net.minecraft.recipe that return types with arguments of type RecipeModifier and TypeMethodDescriptionRecipeSerializer<? extends Recipe<T>> Recipe.getSerializer()Returns the serializer associated with this recipe.RecipeType<? extends Recipe<T>> Recipe.getType()Returns the type of this recipe.RegistryKey<Recipe<?>> RecipeEntry.id()Returns the value of theidrecord component.Methods in net.minecraft.recipe with parameters of type RecipeModifier and TypeMethodDescriptionintRecipeFinder.countCrafts(Recipe<?> recipe, int max, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) intRecipeFinder.countCrafts(Recipe<?> recipe, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) booleanRecipeFinder.isCraftable(Recipe<?> recipe, int quantity, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) booleanRecipeFinder.isCraftable(Recipe<?> recipe, RecipeMatcher.ItemCallback<RegistryEntry<Item>> itemCallback) static <T> voidRecipeGridAligner.method_64566(int int2, int int3, Recipe<?> recipe, Iterable<T> iterable, RecipeGridAligner.Filler<T> filler) Method parameters in net.minecraft.recipe with type arguments of type RecipeModifier and TypeMethodDescriptionprotected static RecipeEntry<?> RecipeManager.deserialize(RegistryKey<Recipe<?>> key, JsonObject json, RegistryWrapper.WrapperLookup registries) Reads a recipe from a JSON object.PreparedRecipes.get(RegistryKey<Recipe<?>> key) private <T extends Recipe<?>>
@Nullable RecipeEntry<T> RecipeManager.get(RecipeType<T> type, RegistryKey<Recipe<?>> key) Returns a recipe with the givenidandtype, or empty if there is no such recipe.Optional<RecipeEntry<?>> RecipeManager.get(RegistryKey<Recipe<?>> key) Returns a recipe with the givenid, or empty if there is no such recipe.<I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch(RecipeType<T> type, I input, World world, @Nullable RegistryKey<Recipe<?>> recipe) voidRecipeManager.method_64679(RegistryKey<Recipe<?>> key, Consumer<class_10297> consumer) Constructor parameters in net.minecraft.recipe with type arguments of type RecipeModifierConstructorDescriptionprivatePreparedRecipes(Multimap<RecipeType<?>, RecipeEntry<?>> byType, Map<RegistryKey<Recipe<?>>, RecipeEntry<?>> byKey) RecipeEntry(RegistryKey<Recipe<?>> registryKey, T t) -
Uses of Recipe in net.minecraft.recipe.display
Classes in net.minecraft.recipe.display with type parameters of type RecipeModifier and TypeClassDescriptionfinal recordCuttingRecipeDisplay<T extends Recipe<?>>static final recordCuttingRecipeDisplay.GroupEntry<T extends Recipe<?>>static final recordCuttingRecipeDisplay.Grouping<T extends Recipe<?>>Methods in net.minecraft.recipe.display with type parameters of type RecipeModifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
PacketCodec<RegistryByteBuf, CuttingRecipeDisplay<T>> CuttingRecipeDisplay.codec()static <T extends Recipe<?>>
PacketCodec<RegistryByteBuf, CuttingRecipeDisplay.GroupEntry<T>> CuttingRecipeDisplay.GroupEntry.codec()static <T extends Recipe<?>>
PacketCodec<RegistryByteBuf, CuttingRecipeDisplay.Grouping<T>> CuttingRecipeDisplay.Grouping.codec()static <T extends Recipe<?>>
CuttingRecipeDisplay.Grouping<T> CuttingRecipeDisplay.Grouping.empty() -
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.server.network
Fields in net.minecraft.server.network with type parameters of type RecipeModifier and TypeFieldDescriptionprotected final Set<RegistryKey<Recipe<?>>> ServerRecipeBook.field_54550protected final Set<RegistryKey<Recipe<?>>> ServerRecipeBook.field_54551Method parameters in net.minecraft.server.network with type arguments of type RecipeModifier and TypeMethodDescriptionvoidServerRecipeBook.class_10271.displaysForRecipe(RegistryKey<Recipe<?>> registryKey, Consumer<class_10297> consumer) private voidServerRecipeBook.handleList(NbtList list, Consumer<RegistryKey<Recipe<?>>> handler, Predicate<RegistryKey<Recipe<?>>> predicate) private voidServerRecipeBook.handleList(NbtList list, Consumer<RegistryKey<Recipe<?>>> handler, Predicate<RegistryKey<Recipe<?>>> predicate) voidServerRecipeBook.method_64588(RegistryKey<Recipe<?>> registryKey) booleanServerRecipeBook.method_64593(RegistryKey<Recipe<?>> registryKey) voidServerRecipeBook.method_64594(RegistryKey<Recipe<?>> registryKey) voidServerRecipeBook.method_64595(RegistryKey<Recipe<?>> registryKey) private voidServerRecipeBook.method_64596(RegistryKey<Recipe<?>> registryKey) voidServerRecipeBook.readNbt(NbtCompound nbt, Predicate<RegistryKey<Recipe<?>>> predicate) voidServerPlayerEntity.unlockRecipes(List<RegistryKey<Recipe<?>>> recipes)