Uses of Record Class
net.minecraft.recipe.RecipeEntry
Packages that use RecipeEntry
Package
Description
-
Uses of RecipeEntry in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type RecipeEntryModifier and TypeMethodDescriptionbooleanRecipeUnlockedCriterion.Conditions.matches(RecipeEntry<?> recipe) voidRecipeUnlockedCriterion.trigger(ServerPlayerEntity player, RecipeEntry<?> recipe) -
Uses of RecipeEntry in net.minecraft.block
Methods in net.minecraft.block that return types with arguments of type RecipeEntryModifier and TypeMethodDescriptionstatic Optional<RecipeEntry<CraftingRecipe>> CrafterBlock.getCraftingRecipe(World world, CraftingRecipeInput input) Methods in net.minecraft.block with parameters of type RecipeEntryModifier and TypeMethodDescriptionprivate voidCrafterBlock.transferOrSpawnStack(ServerWorld world, BlockPos pos, CrafterBlockEntity blockEntity, ItemStack stack, BlockState state, RecipeEntry<CraftingRecipe> recipe) -
Uses of RecipeEntry in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return RecipeEntryMethods in net.minecraft.block.entity that return types with arguments of type RecipeEntryModifier and TypeMethodDescriptionCampfireBlockEntity.getRecipeFor(ItemStack stack) List<RecipeEntry<?>> AbstractFurnaceBlockEntity.getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos) Methods in net.minecraft.block.entity with parameters of type RecipeEntryModifier and TypeMethodDescriptionprivate static booleanAbstractFurnaceBlockEntity.canAcceptRecipeOutput(DynamicRegistryManager registryManager, @Nullable RecipeEntry<?> recipe, DefaultedList<ItemStack> slots, int count) private static booleanAbstractFurnaceBlockEntity.craftRecipe(DynamicRegistryManager registryManager, @Nullable RecipeEntry<?> recipe, DefaultedList<ItemStack> slots, int count) voidAbstractFurnaceBlockEntity.setLastRecipe(@Nullable RecipeEntry<?> recipe) -
Uses of RecipeEntry in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as RecipeEntryModifier and TypeFieldDescriptionprivate @Nullable RecipeEntry<?> RecipeBookWidget.ghostSlotsprivate @Nullable RecipeEntry<?> RecipeAlternativesWidget.lastClickedRecipeprivate @Nullable RecipeEntry<?> RecipeBookResults.lastClickedRecipe(package private) final RecipeEntry<?> RecipeAlternativesWidget.AlternativeButtonWidget.recipeFields in net.minecraft.client.gui.screen.recipebook with type parameters of type RecipeEntryModifier and TypeFieldDescriptionprivate final Set<RecipeEntry<?>> RecipeResultCollection.craftableRecipesprivate List<RecipeEntry<?>> AnimatedResultButton.field_52845private final Set<RecipeEntry<?>> RecipeResultCollection.fittingRecipesprivate final List<RecipeEntry<?>> RecipeResultCollection.recipesprivate final Set<RecipeEntry<?>> RecipeResultCollection.unlockedRecipesMethods in net.minecraft.client.gui.screen.recipebook that return RecipeEntryModifier and TypeMethodDescriptionRecipeEntry<?> AnimatedResultButton.currentRecipe()RecipeAlternativesWidget.getLastClickedRecipe()RecipeBookResults.getLastClickedRecipe()Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type RecipeEntryModifier and TypeMethodDescriptionList<RecipeEntry<?>> RecipeResultCollection.getAllRecipes()List<RecipeEntry<?>> RecipeResultCollection.method_62050(RecipeResultCollection.RecipeFilterMode filterMode) Methods in net.minecraft.client.gui.screen.recipebook with parameters of type RecipeEntryModifier and TypeMethodDescriptionprivate static List<RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot> RecipeAlternativesWidget.FurnaceAlternativeButtonWidget.alignRecipe(RecipeEntry<?> entry) booleanRecipeResultCollection.isCraftable(RecipeEntry<?> recipe) private static List<RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot> RecipeAlternativesWidget.CraftingAlternativeButtonWidget.method_62036(RecipeEntry<?> recipeEntry) voidRecipeBookWidget.setGhostRecipe(RecipeEntry<?> ghostSlots) protected voidAbstractCraftingRecipeBookWidget.showGhostRecipe(GhostRecipe ghostRecipe, RecipeEntry<?> entry) protected voidAbstractFurnaceRecipeBookWidget.showGhostRecipe(GhostRecipe ghostRecipe, RecipeEntry<?> entry) protected abstract voidRecipeBookWidget.showGhostRecipe(GhostRecipe ghostRecipe, RecipeEntry<?> entry) Method parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type RecipeEntryModifier and TypeMethodDescriptionvoidRecipeBookResults.onRecipesDisplayed(List<RecipeEntry<?>> recipes) voidRecipeBookWidget.onRecipesDisplayed(List<RecipeEntry<?>> recipes) voidRecipeDisplayListener.onRecipesDisplayed(List<RecipeEntry<?>> recipes) private static booleanRecipeResultCollection.shouldHaveSingleOutput(DynamicRegistryManager registryManager, List<RecipeEntry<?>> recipes) Constructors in net.minecraft.client.gui.screen.recipebook with parameters of type RecipeEntryModifierConstructorDescriptionAlternativeButtonWidget(int x, int y, RecipeEntry<?> recipe, boolean craftable, List<RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot> inputSlots) CraftingAlternativeButtonWidget(int x, int y, RecipeEntry<?> entry, boolean craftable) FurnaceAlternativeButtonWidget(int x, int y, RecipeEntry<?> entry, boolean craftable) Constructor parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type RecipeEntryModifierConstructorDescriptionRecipeResultCollection(DynamicRegistryManager registryManager, List<RecipeEntry<?>> recipes) -
Uses of RecipeEntry in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type RecipeEntryModifier and TypeMethodDescriptionvoidClientPlayerInteractionManager.clickRecipe(int syncId, RecipeEntry<?> recipe, boolean craftAll) voidClientPlayerEntity.onRecipeDisplayed(RecipeEntry<?> recipe) -
Uses of RecipeEntry in net.minecraft.client.recipebook
Methods in net.minecraft.client.recipebook that return types with arguments of type RecipeEntryModifier and TypeMethodDescriptionprivate static Map<RecipeBookGroup, List<List<RecipeEntry<?>>>> ClientRecipeBook.toGroupedMap(Iterable<RecipeEntry<?>> recipes) Methods in net.minecraft.client.recipebook with parameters of type RecipeEntryModifier and TypeMethodDescriptionprivate static RecipeBookGroupClientRecipeBook.getGroupForRecipe(RecipeEntry<?> recipe) Method parameters in net.minecraft.client.recipebook with type arguments of type RecipeEntryModifier and TypeMethodDescriptionvoidClientRecipeBook.reload(Iterable<RecipeEntry<?>> recipes, DynamicRegistryManager registryManager) private static Map<RecipeBookGroup, List<List<RecipeEntry<?>>>> ClientRecipeBook.toGroupedMap(Iterable<RecipeEntry<?>> recipes) -
Uses of RecipeEntry in net.minecraft.client.toast
Methods in net.minecraft.client.toast with parameters of type RecipeEntryModifier and TypeMethodDescriptionstatic voidRecipeToast.show(ToastManager manager, RecipeEntry<?> recipe) -
Uses of RecipeEntry in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return RecipeEntryModifier and TypeMethodDescriptionstatic RecipeEntry<?> IdentifierArgumentType.getRecipeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of RecipeEntry in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type RecipeEntryModifier and TypeMethodDescriptionvoidPlayerEntity.onRecipeCrafted(RecipeEntry<?> recipe, List<ItemStack> ingredients) Method parameters in net.minecraft.entity.player with type arguments of type RecipeEntryModifier and TypeMethodDescriptionintPlayerEntity.lockRecipes(Collection<RecipeEntry<?>> recipes) intPlayerEntity.unlockRecipes(Collection<RecipeEntry<?>> recipes) -
Uses of RecipeEntry in net.minecraft.inventory
Fields in net.minecraft.inventory declared as RecipeEntryModifier and TypeFieldDescriptionprivate @Nullable RecipeEntry<?> CraftingResultInventory.lastRecipeMethods in net.minecraft.inventory that return RecipeEntryMethods in net.minecraft.inventory with parameters of type RecipeEntryModifier and TypeMethodDescriptionvoidCraftingResultInventory.setLastRecipe(@Nullable RecipeEntry<?> recipe) -
Uses of RecipeEntry in net.minecraft.network.packet.c2s.play
Constructors in net.minecraft.network.packet.c2s.play with parameters of type RecipeEntryModifierConstructorDescriptionCraftRequestC2SPacket(int syncId, RecipeEntry<?> recipe, boolean craftAll) RecipeBookDataC2SPacket(RecipeEntry<?> recipe) -
Uses of RecipeEntry in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type RecipeEntryModifier and TypeFieldDescriptionprivate final List<RecipeEntry<?>> SynchronizeRecipesS2CPacket.recipesMethods in net.minecraft.network.packet.s2c.play that return types with arguments of type RecipeEntryConstructors in net.minecraft.network.packet.s2c.play with parameters of type RecipeEntryConstructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type RecipeEntry -
Uses of RecipeEntry in net.minecraft.recipe
Fields in net.minecraft.recipe declared as RecipeEntryModifier and TypeFieldDescriptionprivate final @Nullable RecipeEntry<CraftingRecipe> RecipeCache.CachedRecipe.valueThe field for thevaluerecord component.Fields in net.minecraft.recipe with type parameters of type RecipeEntryModifier and TypeFieldDescriptionstatic final PacketCodec<RegistryByteBuf, RecipeEntry<?>> RecipeEntry.PACKET_CODECprivate Map<Identifier, RecipeEntry<?>> RecipeManager.recipesByIdprivate Multimap<RecipeType<?>, RecipeEntry<?>> RecipeManager.recipesByTypeprivate @Nullable List<RecipeEntry<?>> RecipeManager.usableValuesMethods in net.minecraft.recipe that return RecipeEntryModifier and TypeMethodDescriptionprotected static RecipeEntry<?> RecipeManager.deserialize(Identifier id, JsonObject json, RegistryWrapper.WrapperLookup registryLookup) Reads a recipe from a JSON object.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.RecipeUnlocker.getLastRecipe()RecipeCache.CachedRecipe.value()Returns the value of thevaluerecord component.Methods in net.minecraft.recipe that return types with arguments of type RecipeEntryModifier and TypeMethodDescriptionOptional<RecipeEntry<?>> RecipeManager.get(Identifier id) Returns a recipe with the givenid, 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) private Optional<RecipeEntry<CraftingRecipe>> RecipeCache.getAndCacheRecipe(CraftingRecipeInput input, World world) <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) RecipeManager.MatchGetter.getFirstMatch(I input, World world) RecipeCache.getRecipe(World world, CraftingRecipeInput input) <I extends RecipeInput,T extends Recipe<I>>
List<RecipeEntry<T>> RecipeManager.listAllOfType(RecipeType<T> type) Creates a list of all recipes of the giventype.RecipeManager.sortedValues()RecipeManager.syncedValues()RecipeManager.values()Returns all recipes in this manager.Methods in net.minecraft.recipe with parameters of type RecipeEntryModifier and TypeMethodDescriptionstatic <T> voidRecipeGridAligner.alignRecipeToGrid(int width, int height, RecipeEntry<?> recipe, Iterable<T> inputs, RecipeGridAligner.Filler<T> filler) private voidRecipeCache.cache(CraftingRecipeInput input, @Nullable RecipeEntry<CraftingRecipe> recipe) 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) private voidInputSlotFiller.fill(RecipeEntry<R> recipe, RecipeFinder finder) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch(RecipeType<T> type, I input, World world, @Nullable RecipeEntry<T> recipe) booleanInputSlotFiller.Handler.matches(RecipeEntry<T> entry) voidRecipeUnlocker.setLastRecipe(@Nullable RecipeEntry<?> recipe) default booleanRecipeUnlocker.shouldCraftRecipe(World world, ServerPlayerEntity player, RecipeEntry<?> recipe) InputSlotFiller.tryFill(RecipeEntry<R> recipe, RecipeFinder finder) Method parameters in net.minecraft.recipe with type arguments of type RecipeEntryModifier and TypeMethodDescriptionvoidRecipeManager.setRecipes(Iterable<RecipeEntry<?>> recipes) Sets the recipes for this recipe manager.Constructors in net.minecraft.recipe with parameters of type RecipeEntryModifierConstructorDescription(package private)CachedRecipe(DefaultedList<ItemStack> defaultedList, int int2, int int3, @Nullable RecipeEntry<CraftingRecipe> recipeEntry) -
Uses of RecipeEntry in net.minecraft.recipe.book
Methods in net.minecraft.recipe.book with parameters of type RecipeEntryModifier and TypeMethodDescriptionvoidRecipeBook.add(RecipeEntry<?> recipe) booleanRecipeBook.contains(@Nullable RecipeEntry<?> recipe) voidRecipeBook.display(RecipeEntry<?> recipe) voidRecipeBook.onRecipeDisplayed(RecipeEntry<?> recipe) voidRecipeBook.remove(RecipeEntry<?> recipe) booleanRecipeBook.shouldDisplay(RecipeEntry<?> recipe) -
Uses of RecipeEntry in net.minecraft.screen
Fields in net.minecraft.screen declared as RecipeEntryModifier and TypeFieldDescriptionprivate @Nullable RecipeEntry<SmithingRecipe> SmithingScreenHandler.currentRecipeFields in net.minecraft.screen with type parameters of type RecipeEntryModifier and TypeFieldDescriptionprivate List<RecipeEntry<StonecuttingRecipe>> StonecutterScreenHandler.availableRecipesprivate final List<RecipeEntry<SmithingRecipe>> SmithingScreenHandler.recipesMethods in net.minecraft.screen that return types with arguments of type RecipeEntryMethods in net.minecraft.screen with parameters of type RecipeEntryModifier and TypeMethodDescriptionAbstractCraftingScreenHandler.fillInputSlots(boolean craftAll, boolean creative, RecipeEntry<?> recipe, PlayerInventory inventory) AbstractFurnaceScreenHandler.fillInputSlots(boolean craftAll, boolean creative, RecipeEntry<?> recipe, PlayerInventory inventory) AbstractRecipeScreenHandler.fillInputSlots(boolean craftAll, boolean creative, RecipeEntry<?> recipe, PlayerInventory inventory) protected voidAbstractCraftingScreenHandler.onInputSlotFillFinish(RecipeEntry<CraftingRecipe> recipe) voidCraftingScreenHandler.onInputSlotFillFinish(RecipeEntry<CraftingRecipe> recipe) protected static voidCraftingScreenHandler.updateResult(ScreenHandler handler, World world, PlayerEntity player, RecipeInputInventory craftingInventory, CraftingResultInventory resultInventory, @Nullable RecipeEntry<CraftingRecipe> recipe) -
Uses of RecipeEntry in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type RecipeEntryModifier and TypeMethodDescriptionvoidServerPlayerEntity.onRecipeCrafted(RecipeEntry<?> recipe, List<ItemStack> ingredients) Method parameters in net.minecraft.server.network with type arguments of type RecipeEntryModifier and TypeMethodDescriptionprivate voidServerRecipeBook.handleList(NbtList list, Consumer<RecipeEntry<?>> handler, RecipeManager recipeManager) intServerPlayerEntity.lockRecipes(Collection<RecipeEntry<?>> recipes) intServerRecipeBook.lockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player) intServerPlayerEntity.unlockRecipes(Collection<RecipeEntry<?>> recipes) intServerRecipeBook.unlockRecipes(Collection<RecipeEntry<?>> recipes, ServerPlayerEntity player)