Uses of Record Class
net.minecraft.class_8786
Packages that use class_8786
Package
Description
-
Uses of class_8786 in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type class_8786Modifier and TypeMethodDescriptionboolean
RecipeUnlockedCriterion.Conditions.matches
(class_8786<?> class_8786) void
RecipeUnlockedCriterion.trigger
(ServerPlayerEntity player, class_8786<?> class_8786) -
Uses of class_8786 in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return class_8786Methods in net.minecraft.block.entity that return types with arguments of type class_8786Modifier and TypeMethodDescriptionCampfireBlockEntity.getRecipeFor
(ItemStack stack) List<class_8786<?>>
AbstractFurnaceBlockEntity.getRecipesUsedAndDropExperience
(ServerWorld world, Vec3d pos) Methods in net.minecraft.block.entity with parameters of type class_8786Modifier and TypeMethodDescriptionprivate static boolean
AbstractFurnaceBlockEntity.canAcceptRecipeOutput
(DynamicRegistryManager registryManager, @Nullable class_8786<?> class_8786, DefaultedList<ItemStack> slots, int count) private static boolean
AbstractFurnaceBlockEntity.craftRecipe
(DynamicRegistryManager registryManager, @Nullable class_8786<?> class_8786, DefaultedList<ItemStack> slots, int count) void
AbstractFurnaceBlockEntity.setLastRecipe
(@Nullable class_8786<?> class_8786) -
Uses of class_8786 in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as class_8786Modifier and TypeFieldDescriptionprivate @Nullable class_8786<?>
RecipeAlternativesWidget.lastClickedRecipe
private @Nullable class_8786<?>
RecipeBookResults.lastClickedRecipe
(package private) final class_8786<?>
RecipeAlternativesWidget.AlternativeButtonWidget.recipe
private @Nullable class_8786<?>
RecipeBookGhostSlots.recipe
Fields in net.minecraft.client.gui.screen.recipebook with type parameters of type class_8786Modifier and TypeFieldDescriptionprivate final Set<class_8786<?>>
RecipeResultCollection.craftableRecipes
private final Set<class_8786<?>>
RecipeResultCollection.fittingRecipes
private final List<class_8786<?>>
RecipeResultCollection.recipes
private final Set<class_8786<?>>
RecipeResultCollection.unlockedRecipes
Methods in net.minecraft.client.gui.screen.recipebook that return class_8786Modifier and TypeMethodDescriptionclass_8786<?>
AnimatedResultButton.currentRecipe()
RecipeAlternativesWidget.getLastClickedRecipe()
RecipeBookResults.getLastClickedRecipe()
RecipeBookGhostSlots.getRecipe()
Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type class_8786Modifier and TypeMethodDescriptionList<class_8786<?>>
RecipeResultCollection.getAllRecipes()
List<class_8786<?>>
RecipeResultCollection.getRecipes
(boolean craftable) private List<class_8786<?>>
AnimatedResultButton.getResults()
List<class_8786<?>>
RecipeResultCollection.getResults
(boolean craftableOnly) Methods in net.minecraft.client.gui.screen.recipebook with parameters of type class_8786Modifier and TypeMethodDescriptionprotected void
RecipeAlternativesWidget.AlternativeButtonWidget.alignRecipe
(class_8786<?> class_8786) protected void
RecipeAlternativesWidget.FurnaceAlternativeButtonWidget.alignRecipe
(class_8786<?> class_8786) boolean
RecipeResultCollection.isCraftable
(class_8786<?> class_8786) void
RecipeBookGhostSlots.setRecipe
(class_8786<?> class_8786) void
AbstractFurnaceRecipeBookScreen.showGhostRecipe
(class_8786<?> class_8786, List<Slot> slots) void
RecipeBookWidget.showGhostRecipe
(class_8786<?> class_8786, List<Slot> slots) Method parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type class_8786Modifier and TypeMethodDescriptionvoid
RecipeBookResults.onRecipesDisplayed
(List<class_8786<?>> recipes) void
RecipeBookWidget.onRecipesDisplayed
(List<class_8786<?>> recipes) void
RecipeDisplayListener.onRecipesDisplayed
(List<class_8786<?>> recipes) private static boolean
RecipeResultCollection.shouldHaveSingleOutput
(DynamicRegistryManager registryManager, List<class_8786<?>> recipes) Constructors in net.minecraft.client.gui.screen.recipebook with parameters of type class_8786ModifierConstructorDescriptionAlternativeButtonWidget
(int x, int y, class_8786<?> class_8786, boolean craftable) FurnaceAlternativeButtonWidget
(int x, int y, class_8786<?> class_8786, boolean craftable) Constructor parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type class_8786ModifierConstructorDescriptionRecipeResultCollection
(DynamicRegistryManager registryManager, List<class_8786<?>> recipes) -
Uses of class_8786 in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type class_8786Modifier and TypeMethodDescriptionvoid
ClientPlayerInteractionManager.clickRecipe
(int syncId, class_8786<?> class_8786, boolean craftAll) void
ClientPlayerEntity.onRecipeDisplayed
(class_8786<?> class_8786) -
Uses of class_8786 in net.minecraft.client.recipebook
Methods in net.minecraft.client.recipebook that return types with arguments of type class_8786Modifier and TypeMethodDescriptionprivate static Map<RecipeBookGroup,
List<List<class_8786<?>>>> ClientRecipeBook.toGroupedMap
(Iterable<class_8786<?>> recipes) Methods in net.minecraft.client.recipebook with parameters of type class_8786Modifier and TypeMethodDescriptionprivate static RecipeBookGroup
ClientRecipeBook.getGroupForRecipe
(class_8786<?> class_8786) Method parameters in net.minecraft.client.recipebook with type arguments of type class_8786Modifier and TypeMethodDescriptionvoid
ClientRecipeBook.reload
(Iterable<class_8786<?>> recipes, DynamicRegistryManager registryManager) private static Map<RecipeBookGroup,
List<List<class_8786<?>>>> ClientRecipeBook.toGroupedMap
(Iterable<class_8786<?>> recipes) -
Uses of class_8786 in net.minecraft.client.toast
Fields in net.minecraft.client.toast with type parameters of type class_8786Methods in net.minecraft.client.toast with parameters of type class_8786Modifier and TypeMethodDescriptionprivate void
RecipeToast.addRecipes
(class_8786<?> class_8786) static void
RecipeToast.show
(ToastManager manager, class_8786<?> class_8786) Constructors in net.minecraft.client.toast with parameters of type class_8786 -
Uses of class_8786 in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return class_8786Modifier and TypeMethodDescriptionstatic class_8786<?>
IdentifierArgumentType.getRecipeArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of class_8786 in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type class_8786Modifier and TypeMethodDescriptionvoid
PlayerEntity.onRecipeCrafted
(class_8786<?> class_8786, List<ItemStack> ingredients) Method parameters in net.minecraft.entity.player with type arguments of type class_8786Modifier and TypeMethodDescriptionint
PlayerEntity.lockRecipes
(Collection<class_8786<?>> recipes) int
PlayerEntity.unlockRecipes
(Collection<class_8786<?>> recipes) -
Uses of class_8786 in net.minecraft.inventory
Fields in net.minecraft.inventory declared as class_8786Modifier and TypeFieldDescriptionprivate @Nullable class_8786<?>
CraftingResultInventory.lastRecipe
Methods in net.minecraft.inventory that return class_8786Methods in net.minecraft.inventory with parameters of type class_8786Modifier and TypeMethodDescriptionvoid
CraftingResultInventory.setLastRecipe
(@Nullable class_8786<?> class_8786) -
Uses of class_8786 in net.minecraft.network.packet.c2s.play
Constructors in net.minecraft.network.packet.c2s.play with parameters of type class_8786ModifierConstructorDescriptionCraftRequestC2SPacket
(int syncId, class_8786<?> class_8786, boolean craftAll) RecipeBookDataC2SPacket
(class_8786<?> class_8786) -
Uses of class_8786 in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type class_8786Modifier and TypeFieldDescriptionprivate final List<class_8786<?>>
SynchronizeRecipesS2CPacket.recipes
Methods in net.minecraft.network.packet.s2c.play that return class_8786Modifier and TypeMethodDescriptionprivate static class_8786<?>
SynchronizeRecipesS2CPacket.readRecipe
(PacketByteBuf buf) Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type class_8786Methods in net.minecraft.network.packet.s2c.play with parameters of type class_8786Modifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
voidSynchronizeRecipesS2CPacket.writeRecipe
(PacketByteBuf buf, class_8786<?> class_8786) Constructors in net.minecraft.network.packet.s2c.play with parameters of type class_8786Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type class_8786 -
Uses of class_8786 in net.minecraft.recipe
Fields in net.minecraft.recipe with type parameters of type class_8786Modifier and TypeFieldDescriptionprivate Map<RecipeType<?>,
Map<Identifier, class_8786<?>>> RecipeManager.recipes
private Map<Identifier,
class_8786<?>> RecipeManager.recipesById
Methods in net.minecraft.recipe that return class_8786Modifier and TypeMethodDescriptionprotected static class_8786<?>
RecipeManager.deserialize
(Identifier id, JsonObject json) Reads a recipe from a JSON object.RecipeUnlocker.getLastRecipe()
Methods in net.minecraft.recipe that return types with arguments of type class_8786Modifier and TypeMethodDescriptionOptional<class_8786<?>>
RecipeManager.get
(Identifier id) Returns a recipe with the givenid
, or empty if there is no such recipe.<C extends Inventory,
T extends Recipe<C>>
List<class_8786<T>>RecipeManager.getAllMatches
(RecipeType<T> type, C inventory, World world) Creates a list of all recipes of the giventype
that match the giveninventory
andworld
.private <C extends Inventory,
T extends Recipe<C>>
Map<Identifier,class_8786<T>> RecipeManager.getAllOfType
(RecipeType<T> type) <C extends Inventory,
T extends Recipe<C>>
Optional<class_8786<T>>RecipeManager.getFirstMatch
(RecipeType<T> type, C inventory, World world) Returns a recipe of the giventype
that match the giveninventory
andworld
.<C extends Inventory,
T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<Identifier,class_8786<T>>> RecipeManager.getFirstMatch
(RecipeType<T> type, C inventory, World world, @Nullable Identifier id) RecipeManager.MatchGetter.getFirstMatch
(C inventory, World world) <C extends Inventory,
T extends Recipe<C>>
List<class_8786<T>>RecipeManager.listAllOfType
(RecipeType<T> type) Creates a list of all recipes of the giventype
.Collection<class_8786<?>>
RecipeManager.values()
Returns all recipes in this manager.Methods in net.minecraft.recipe with parameters of type class_8786Modifier and TypeMethodDescriptiondefault void
RecipeGridAligner.alignRecipeToGrid
(int gridWidth, int gridHeight, int gridOutputSlot, class_8786<?> class_8786, Iterator<T> inputs, int amount) int
RecipeMatcher.countCrafts
(class_8786<?> class_8786, int limit, @Nullable IntList output) Determines the number of crafts that can be produced for a recipe using the collected resources available to this crafter.int
RecipeMatcher.countCrafts
(class_8786<?> class_8786, @Nullable IntList output) Determines the number of crafts that can be produced for a recipe using the collected resources available to this crafter.protected void
InputSlotFiller.fillInputSlots
(class_8786<? extends Recipe<C>> class_8786, boolean craftAll) void
InputSlotFiller.fillInputSlots
(ServerPlayerEntity entity, @Nullable class_8786<? extends Recipe<C>> class_8786, boolean craftAll) void
RecipeUnlocker.setLastRecipe
(@Nullable class_8786<?> class_8786) default boolean
RecipeUnlocker.shouldCraftRecipe
(World world, ServerPlayerEntity player, class_8786<?> class_8786) Method parameters in net.minecraft.recipe with type arguments of type class_8786Modifier and TypeMethodDescriptionvoid
RecipeManager.setRecipes
(Iterable<class_8786<?>> recipes) Sets the recipes for this recipe manager. -
Uses of class_8786 in net.minecraft.recipe.book
Methods in net.minecraft.recipe.book with parameters of type class_8786Modifier and TypeMethodDescriptionvoid
RecipeBook.add
(class_8786<?> class_8786) boolean
RecipeBook.contains
(@Nullable class_8786<?> class_8786) void
RecipeBook.display
(class_8786<?> class_8786) void
RecipeBook.onRecipeDisplayed
(class_8786<?> class_8786) void
RecipeBook.remove
(class_8786<?> class_8786) boolean
RecipeBook.shouldDisplay
(class_8786<?> class_8786) -
Uses of class_8786 in net.minecraft.screen
Fields in net.minecraft.screen declared as class_8786Modifier and TypeFieldDescriptionprivate @Nullable class_8786<SmithingRecipe>
SmithingScreenHandler.currentRecipe
Fields in net.minecraft.screen with type parameters of type class_8786Modifier and TypeFieldDescriptionprivate List<class_8786<StonecuttingRecipe>>
StonecutterScreenHandler.availableRecipes
private final List<class_8786<SmithingRecipe>>
SmithingScreenHandler.recipes
Methods in net.minecraft.screen that return types with arguments of type class_8786Methods in net.minecraft.screen with parameters of type class_8786Modifier and TypeMethodDescriptionvoid
AbstractRecipeScreenHandler.fillInputSlots
(boolean craftAll, class_8786<?> class_8786, ServerPlayerEntity player) boolean
AbstractFurnaceScreenHandler.matches
(class_8786<? extends Recipe<Inventory>> class_8786) abstract boolean
AbstractRecipeScreenHandler.matches
(class_8786<? extends Recipe<C>> class_8786) boolean
CraftingScreenHandler.matches
(class_8786<? extends Recipe<RecipeInputInventory>> class_8786) boolean
PlayerScreenHandler.matches
(class_8786<? extends Recipe<RecipeInputInventory>> class_8786) -
Uses of class_8786 in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type class_8786Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.onRecipeCrafted
(class_8786<?> class_8786, List<ItemStack> ingredients) Method parameters in net.minecraft.server.network with type arguments of type class_8786Modifier and TypeMethodDescriptionprivate void
ServerRecipeBook.handleList
(NbtList list, Consumer<class_8786<?>> handler, RecipeManager recipeManager) int
ServerPlayerEntity.lockRecipes
(Collection<class_8786<?>> recipes) int
ServerRecipeBook.lockRecipes
(Collection<class_8786<?>> recipes, ServerPlayerEntity player) int
ServerPlayerEntity.unlockRecipes
(Collection<class_8786<?>> recipes) int
ServerRecipeBook.unlockRecipes
(Collection<class_8786<?>> recipes, ServerPlayerEntity player)