Uses of Interface
net.minecraft.recipe.Recipe
-
Uses of Recipe in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type Recipe Modifier and Type Method Description booleanRecipeUnlockedCriterion.Conditions. matches(Recipe<?> recipe)voidRecipeUnlockedCriterion. trigger(ServerPlayerEntity player, Recipe<?> recipe) -
Uses of Recipe in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return Recipe Modifier and Type Method Description @Nullable Recipe<?>AbstractFurnaceBlockEntity. getLastRecipe()Methods in net.minecraft.block.entity that return types with arguments of type Recipe Modifier and Type Method Description List<Recipe<?>>AbstractFurnaceBlockEntity. getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)Methods in net.minecraft.block.entity with parameters of type Recipe Modifier and Type Method Description private static booleanAbstractFurnaceBlockEntity. canAcceptRecipeOutput(@Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)private static booleanAbstractFurnaceBlockEntity. craftRecipe(@Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count)voidAbstractFurnaceBlockEntity. setLastRecipe(@Nullable Recipe<?> recipe) -
Uses of Recipe in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as Recipe Modifier and Type Field Description private Recipe<?>RecipeAlternativesWidget. lastClickedRecipeprivate Recipe<?>RecipeBookResults. lastClickedRecipeprivate Recipe<?>RecipeAlternativesWidget.AlternativeButtonWidget. recipeprivate Recipe<?>RecipeBookGhostSlots. recipeFields in net.minecraft.client.gui.screen.recipebook with type parameters of type Recipe Modifier and Type Field Description private Set<Recipe<?>>RecipeResultCollection. craftableRecipesprivate Set<Recipe<?>>RecipeResultCollection. fittingRecipesprivate List<Recipe<?>>RecipeResultCollection. recipesprivate Set<Recipe<?>>RecipeResultCollection. unlockedRecipesMethods in net.minecraft.client.gui.screen.recipebook that return Recipe Modifier and Type Method Description Recipe<?>AnimatedResultButton. currentRecipe()Recipe<?>RecipeAlternativesWidget. getLastClickedRecipe()@Nullable Recipe<?>RecipeBookResults. getLastClickedRecipe()@Nullable Recipe<?>RecipeBookGhostSlots. getRecipe()Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type Recipe Modifier and Type Method Description List<Recipe<?>>RecipeResultCollection. getAllRecipes()List<Recipe<?>>RecipeResultCollection. getRecipes(boolean craftable)private List<Recipe<?>>AnimatedResultButton. getResults()List<Recipe<?>>RecipeResultCollection. getResults(boolean craftableOnly)Methods in net.minecraft.client.gui.screen.recipebook with parameters of type Recipe Modifier and Type Method Description protected voidRecipeAlternativesWidget.AlternativeButtonWidget. alignRecipe(Recipe<?> recipe)protected voidRecipeAlternativesWidget.FurnaceAlternativeButtonWidget. alignRecipe(Recipe<?> recipe)booleanRecipeResultCollection. isCraftable(Recipe<?> recipe)voidRecipeBookGhostSlots. setRecipe(Recipe<?> recipe)voidAbstractFurnaceRecipeBookScreen. showGhostRecipe(Recipe<?> recipe, List<Slot> slots)voidRecipeBookWidget. showGhostRecipe(Recipe<?> recipe, List<Slot> slots)Method parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type Recipe Modifier and Type Method Description voidRecipeBookResults. onRecipesDisplayed(List<Recipe<?>> recipes)voidRecipeBookWidget. onRecipesDisplayed(List<Recipe<?>> recipes)voidRecipeDisplayListener. onRecipesDisplayed(List<Recipe<?>> recipes)private static booleanRecipeResultCollection. shouldHaveSingleOutput(List<Recipe<?>> list)Constructors in net.minecraft.client.gui.screen.recipebook with parameters of type Recipe Constructor Description AlternativeButtonWidget(int x, int y, Recipe<?> recipe, boolean craftable)FurnaceAlternativeButtonWidget(int x, int y, Recipe<?> recipe, boolean craftable)Constructor parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type Recipe Constructor Description RecipeResultCollection(List<Recipe<?>> list) -
Uses of Recipe in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type Recipe Modifier and Type Method Description voidClientPlayerInteractionManager. clickRecipe(int syncId, Recipe<?> recipe, boolean craftAll)voidClientPlayerEntity. onRecipeDisplayed(Recipe<?> recipe) -
Uses of Recipe in net.minecraft.client.recipebook
Methods in net.minecraft.client.recipebook that return types with arguments of type Recipe Modifier and Type Method Description private static Map<RecipeBookGroup,List<List<Recipe<?>>>>ClientRecipeBook. method_30283(Iterable<Recipe<?>> iterable)Methods in net.minecraft.client.recipebook with parameters of type Recipe Modifier and Type Method Description private static RecipeBookGroupClientRecipeBook. getGroupForRecipe(Recipe<?> recipe)Method parameters in net.minecraft.client.recipebook with type arguments of type Recipe Modifier and Type Method Description private static Map<RecipeBookGroup,List<List<Recipe<?>>>>ClientRecipeBook. method_30283(Iterable<Recipe<?>> iterable)voidClientRecipeBook. reload(Iterable<Recipe<?>> iterable) -
Uses of Recipe in net.minecraft.client.toast
Fields in net.minecraft.client.toast with type parameters of type Recipe Modifier and Type Field Description private List<Recipe<?>>RecipeToast. recipesMethods in net.minecraft.client.toast with parameters of type Recipe Modifier and Type Method Description private voidRecipeToast. addRecipes(Recipe<?> recipes)static voidRecipeToast. show(ToastManager manager, Recipe<?> recipes)Constructors in net.minecraft.client.toast with parameters of type Recipe Constructor Description RecipeToast(Recipe<?> recipes) -
Uses of Recipe in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return Recipe Modifier and Type Method Description static Recipe<?>IdentifierArgumentType. getRecipeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of Recipe in net.minecraft.entity.player
Method parameters in net.minecraft.entity.player with type arguments of type Recipe Modifier and Type Method Description intPlayerEntity. lockRecipes(Collection<Recipe<?>> recipes)intPlayerEntity. unlockRecipes(Collection<Recipe<?>> recipes) -
Uses of Recipe in net.minecraft.inventory
Fields in net.minecraft.inventory declared as Recipe Modifier and Type Field Description private @Nullable Recipe<?>CraftingResultInventory. lastRecipeMethods in net.minecraft.inventory that return Recipe Modifier and Type Method Description @Nullable Recipe<?>CraftingResultInventory. getLastRecipe()Methods in net.minecraft.inventory with parameters of type Recipe Modifier and Type Method Description voidCraftingResultInventory. setLastRecipe(@Nullable Recipe<?> recipe) -
Uses of Recipe in net.minecraft.network.packet.c2s.play
Constructors in net.minecraft.network.packet.c2s.play with parameters of type Recipe Constructor Description CraftRequestC2SPacket(int syncId, Recipe<?> recipe, boolean craftAll)RecipeBookDataC2SPacket(Recipe<?> recipe) -
Uses of Recipe in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type Recipe Modifier and Type Field Description private List<Recipe<?>>SynchronizeRecipesS2CPacket. recipesMethods in net.minecraft.network.packet.s2c.play with type parameters of type Recipe Modifier and Type Method Description static <T extends Recipe<?>>
voidSynchronizeRecipesS2CPacket. writeRecipe(PacketByteBuf buf, T recipe)Methods in net.minecraft.network.packet.s2c.play that return Recipe Modifier and Type Method Description static Recipe<?>SynchronizeRecipesS2CPacket. readRecipe(PacketByteBuf buf)Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type Recipe Modifier and Type Method Description List<Recipe<?>>SynchronizeRecipesS2CPacket. getRecipes()Constructors in net.minecraft.network.packet.s2c.play with parameters of type Recipe Constructor Description CraftFailedResponseS2CPacket(int syncId, Recipe<?> recipe)Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type Recipe Constructor Description SynchronizeRecipesS2CPacket(Collection<Recipe<?>> recipes) -
Uses of Recipe in net.minecraft.recipe
Classes in net.minecraft.recipe with type parameters of type Recipe Modifier and Type Interface Description interfaceRecipeSerializer<T extends Recipe<?>>interfaceRecipeType<T extends Recipe<?>>classSpecialRecipeSerializer<T extends Recipe<?>>Subinterfaces of Recipe in net.minecraft.recipe Modifier and Type Interface Description interfaceCraftingRecipeClasses in net.minecraft.recipe that implement Recipe Modifier and Type Class Description classAbstractCookingRecipeclassArmorDyeRecipeclassBannerDuplicateRecipeclassBlastingRecipeclassBookCloningRecipeclassCampfireCookingRecipeclassCuttingRecipeclassFireworkRocketRecipeclassFireworkStarFadeRecipeclassFireworkStarRecipeclassMapCloningRecipeclassMapExtendingRecipeclassRepairItemRecipeclassShapedRecipeclassShapelessRecipeclassShieldDecorationRecipeclassShulkerBoxColoringRecipeclassSmeltingRecipeclassSmithingRecipeclassSmokingRecipeclassSpecialCraftingRecipeclassStonecuttingRecipeclassSuspiciousStewRecipeclassTippedArrowRecipeFields in net.minecraft.recipe declared as Recipe Modifier and Type Field Description private Recipe<?>RecipeFinder.Filter. recipeFields in net.minecraft.recipe with type parameters of type Recipe Modifier and Type Field Description private Map<RecipeType<?>,Map<Identifier,Recipe<?>>>RecipeManager. recipesMethods in net.minecraft.recipe with type parameters of type Recipe Modifier and Type Method Description <C extends Inventory, T extends Recipe<C>>
List<T>RecipeManager. getAllMatches(RecipeType<T> type, C inventory, World world)private <C extends Inventory, T extends Recipe<C>>
Map<Identifier,Recipe<C>>RecipeManager. getAllOfType(RecipeType<T> type)<C extends Inventory, T extends Recipe<C>>
Optional<T>RecipeManager. getFirstMatch(RecipeType<T> type, C inventory, World world)<C extends Inventory, T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager. getRemainingStacks(RecipeType<T> recipeType, C inventory, World world)<C extends Inventory, T extends Recipe<C>>
List<T>RecipeManager. listAllOfType(RecipeType<T> recipeType)Creates a list of all recipes of the given type.static <S extends RecipeSerializer<T>, T extends Recipe<?>>
SRecipeSerializer. register(String id, S serializer)static <T extends Recipe<?>>
RecipeType<T>RecipeType. register(String id)Methods in net.minecraft.recipe that return Recipe Modifier and Type Method Description static Recipe<?>RecipeManager. deserialize(Identifier id, JsonObject json)@Nullable Recipe<?>RecipeUnlocker. getLastRecipe()Methods in net.minecraft.recipe that return types with arguments of type Recipe Modifier and Type Method Description Optional<? extends Recipe<?>>RecipeManager. get(Identifier id)private <C extends Inventory, T extends Recipe<C>>
Map<Identifier,Recipe<C>>RecipeManager. getAllOfType(RecipeType<T> type)Collection<Recipe<?>>RecipeManager. values()Methods in net.minecraft.recipe with parameters of type Recipe Modifier and Type Method Description default voidRecipeGridAligner. alignRecipeToGrid(int gridWidth, int gridHeight, int gridOutputSlot, Recipe<?> recipe, Iterator<T> inputs, int amount)intRecipeFinder. countRecipeCrafts(Recipe<?> recipe, int limit, @Nullable IntList outMatchingInputIds)intRecipeFinder. countRecipeCrafts(Recipe<?> recipe, @Nullable IntList outMatchingInputIds)protected voidInputSlotFiller. fillInputSlots(Recipe<C> recipe, boolean craftAll)voidInputSlotFiller. fillInputSlots(ServerPlayerEntity entity, @Nullable Recipe<C> recipe, boolean craftAll)booleanRecipeFinder. findRecipe(Recipe<?> recipe, @Nullable IntList outMatchingInputIds)booleanRecipeFinder. findRecipe(Recipe<?> recipe, @Nullable IntList outMatchingInputIds, int amount)default <C extends Inventory>
Optional<T>RecipeType. get(Recipe<C> recipe, World world, C inventory)voidRecipeUnlocker. setLastRecipe(@Nullable Recipe<?> recipe)default booleanRecipeUnlocker. shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe)Method parameters in net.minecraft.recipe with type arguments of type Recipe Modifier and Type Method Description voidRecipeManager. setRecipes(Iterable<Recipe<?>> recipes)Constructors in net.minecraft.recipe with parameters of type Recipe Constructor Description Filter(Recipe<?> recipe) -
Uses of Recipe in net.minecraft.recipe.book
Methods in net.minecraft.recipe.book with parameters of type Recipe Modifier and Type Method Description voidRecipeBook. add(Recipe<?> recipe)booleanRecipeBook. contains(@Nullable Recipe<?> recipe)voidRecipeBook. display(Recipe<?> recipe)voidRecipeBook. onRecipeDisplayed(Recipe<?> recipe)voidRecipeBook. remove(Recipe<?> recipe)booleanRecipeBook. shouldDisplay(Recipe<?> recipe) -
Uses of Recipe in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type Recipe Modifier and Type Method Description voidAbstractRecipeScreenHandler. fillInputSlots(boolean craftAll, Recipe<?> recipe, ServerPlayerEntity player)booleanAbstractFurnaceScreenHandler. matches(Recipe<? super Inventory> recipe)abstract booleanAbstractRecipeScreenHandler. matches(Recipe<? super C> recipe)booleanCraftingScreenHandler. matches(Recipe<? super CraftingInventory> recipe)booleanPlayerScreenHandler. matches(Recipe<? super CraftingInventory> recipe) -
Uses of Recipe in net.minecraft.server.network
Method parameters in net.minecraft.server.network with type arguments of type Recipe Modifier and Type Method Description private voidServerRecipeBook. handleList(NbtList list, Consumer<Recipe<?>> handler, RecipeManager recipeManager)intServerPlayerEntity. lockRecipes(Collection<Recipe<?>> recipes)intServerRecipeBook. lockRecipes(Collection<Recipe<?>> recipes, ServerPlayerEntity player)intServerPlayerEntity. unlockRecipes(Collection<Recipe<?>> recipes)intServerRecipeBook. unlockRecipes(Collection<Recipe<?>> recipes, ServerPlayerEntity player)