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 TypeMethodDescriptionbooleanRecipeUnlockedCriterion.Conditions.matches(class_8786<?> class_8786) voidRecipeUnlockedCriterion.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 booleanAbstractFurnaceBlockEntity.canAcceptRecipeOutput(DynamicRegistryManager registryManager, @Nullable class_8786<?> class_8786, DefaultedList<ItemStack> slots, int count) private static booleanAbstractFurnaceBlockEntity.craftRecipe(DynamicRegistryManager registryManager, @Nullable class_8786<?> class_8786, DefaultedList<ItemStack> slots, int count) voidAbstractFurnaceBlockEntity.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.lastClickedRecipeprivate @Nullable class_8786<?>RecipeBookResults.lastClickedRecipe(package private) final class_8786<?>RecipeAlternativesWidget.AlternativeButtonWidget.recipeprivate @Nullable class_8786<?>RecipeBookGhostSlots.recipeFields in net.minecraft.client.gui.screen.recipebook with type parameters of type class_8786Modifier and TypeFieldDescriptionprivate final Set<class_8786<?>>RecipeResultCollection.craftableRecipesprivate final Set<class_8786<?>>RecipeResultCollection.fittingRecipesprivate final List<class_8786<?>>RecipeResultCollection.recipesprivate final Set<class_8786<?>>RecipeResultCollection.unlockedRecipesMethods 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 voidRecipeAlternativesWidget.AlternativeButtonWidget.alignRecipe(class_8786<?> class_8786) protected voidRecipeAlternativesWidget.FurnaceAlternativeButtonWidget.alignRecipe(class_8786<?> class_8786) booleanRecipeResultCollection.isCraftable(class_8786<?> class_8786) voidRecipeBookGhostSlots.setRecipe(class_8786<?> class_8786) voidAbstractFurnaceRecipeBookScreen.showGhostRecipe(class_8786<?> class_8786, List<Slot> slots) voidRecipeBookWidget.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 TypeMethodDescriptionvoidRecipeBookResults.onRecipesDisplayed(List<class_8786<?>> recipes) voidRecipeBookWidget.onRecipesDisplayed(List<class_8786<?>> recipes) voidRecipeDisplayListener.onRecipesDisplayed(List<class_8786<?>> recipes) private static booleanRecipeResultCollection.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 TypeMethodDescriptionvoidClientPlayerInteractionManager.clickRecipe(int syncId, class_8786<?> class_8786, boolean craftAll) voidClientPlayerEntity.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 RecipeBookGroupClientRecipeBook.getGroupForRecipe(class_8786<?> class_8786) Method parameters in net.minecraft.client.recipebook with type arguments of type class_8786Modifier and TypeMethodDescriptionvoidClientRecipeBook.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 voidRecipeToast.addRecipes(class_8786<?> class_8786) static voidRecipeToast.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 TypeMethodDescriptionvoidPlayerEntity.onRecipeCrafted(class_8786<?> class_8786, List<ItemStack> ingredients) Method parameters in net.minecraft.entity.player with type arguments of type class_8786Modifier and TypeMethodDescriptionintPlayerEntity.lockRecipes(Collection<class_8786<?>> recipes) intPlayerEntity.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.lastRecipeMethods in net.minecraft.inventory that return class_8786Methods in net.minecraft.inventory with parameters of type class_8786Modifier and TypeMethodDescriptionvoidCraftingResultInventory.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.recipesMethods 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.recipesprivate Map<Identifier,class_8786<?>> RecipeManager.recipesByIdMethods 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 giventypethat match the giveninventoryandworld.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 giventypethat match the giveninventoryandworld.<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 voidRecipeGridAligner.alignRecipeToGrid(int gridWidth, int gridHeight, int gridOutputSlot, class_8786<?> class_8786, Iterator<T> inputs, int amount) intRecipeMatcher.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.intRecipeMatcher.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 voidInputSlotFiller.fillInputSlots(class_8786<? extends Recipe<C>> class_8786, boolean craftAll) voidInputSlotFiller.fillInputSlots(ServerPlayerEntity entity, @Nullable class_8786<? extends Recipe<C>> class_8786, boolean craftAll) voidRecipeUnlocker.setLastRecipe(@Nullable class_8786<?> class_8786) default booleanRecipeUnlocker.shouldCraftRecipe(World world, ServerPlayerEntity player, class_8786<?> class_8786) Method parameters in net.minecraft.recipe with type arguments of type class_8786Modifier and TypeMethodDescriptionvoidRecipeManager.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 TypeMethodDescriptionvoidRecipeBook.add(class_8786<?> class_8786) booleanRecipeBook.contains(@Nullable class_8786<?> class_8786) voidRecipeBook.display(class_8786<?> class_8786) voidRecipeBook.onRecipeDisplayed(class_8786<?> class_8786) voidRecipeBook.remove(class_8786<?> class_8786) booleanRecipeBook.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.currentRecipeFields in net.minecraft.screen with type parameters of type class_8786Modifier and TypeFieldDescriptionprivate List<class_8786<StonecuttingRecipe>>StonecutterScreenHandler.availableRecipesprivate final List<class_8786<SmithingRecipe>>SmithingScreenHandler.recipesMethods in net.minecraft.screen that return types with arguments of type class_8786Methods in net.minecraft.screen with parameters of type class_8786Modifier and TypeMethodDescriptionvoidAbstractRecipeScreenHandler.fillInputSlots(boolean craftAll, class_8786<?> class_8786, ServerPlayerEntity player) booleanAbstractFurnaceScreenHandler.matches(class_8786<? extends Recipe<Inventory>> class_8786) abstract booleanAbstractRecipeScreenHandler.matches(class_8786<? extends Recipe<C>> class_8786) booleanCraftingScreenHandler.matches(class_8786<? extends Recipe<RecipeInputInventory>> class_8786) booleanPlayerScreenHandler.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 TypeMethodDescriptionvoidServerPlayerEntity.onRecipeCrafted(class_8786<?> class_8786, List<ItemStack> ingredients) Method parameters in net.minecraft.server.network with type arguments of type class_8786Modifier and TypeMethodDescriptionprivate voidServerRecipeBook.handleList(NbtList list, Consumer<class_8786<?>> handler, RecipeManager recipeManager) intServerPlayerEntity.lockRecipes(Collection<class_8786<?>> recipes) intServerRecipeBook.lockRecipes(Collection<class_8786<?>> recipes, ServerPlayerEntity player) intServerPlayerEntity.unlockRecipes(Collection<class_8786<?>> recipes) intServerRecipeBook.unlockRecipes(Collection<class_8786<?>> recipes, ServerPlayerEntity player)