Uses of Interface
net.minecraft.recipe.display.SlotDisplay
Packages that use SlotDisplay
Package
Description
-
Uses of SlotDisplay in net.minecraft.client.gui.screen.recipebook
Methods in net.minecraft.client.gui.screen.recipebook with parameters of type SlotDisplayModifier and TypeMethodDescriptionprotected voidGhostRecipe.addInputs(Slot slot, ContextParameterMap context, SlotDisplay display) private voidGhostRecipe.addItems(Slot slot, ContextParameterMap context, SlotDisplay display, boolean resultSlot) protected voidGhostRecipe.addResults(Slot slot, ContextParameterMap context, SlotDisplay display) -
Uses of SlotDisplay in net.minecraft.recipe
Methods in net.minecraft.recipe that return SlotDisplayModifier and TypeMethodDescriptionprivate static SlotDisplayIngredient.createDisplayWithRemainder(RegistryEntry<Item> displayedItem) StonecuttingRecipe.createResultDisplay()TransmuteRecipeResult.createSlotDisplay()Ingredient.toDisplay()static SlotDisplayIngredient.toDisplay(Optional<Ingredient> ingredient) -
Uses of SlotDisplay in net.minecraft.recipe.display
Classes in net.minecraft.recipe.display with type parameters of type SlotDisplayModifier and TypeClassDescriptionstatic final recordSlotDisplay.Serializer<T extends SlotDisplay>Classes in net.minecraft.recipe.display that implement SlotDisplayModifier and TypeClassDescriptionstatic classstatic final recordstatic classstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordFields in net.minecraft.recipe.display declared as SlotDisplayModifier and TypeFieldDescriptionprivate final SlotDisplaySmithingRecipeDisplay.additionThe field for theadditionrecord component.private final SlotDisplaySlotDisplay.SmithingTrimSlotDisplay.baseThe field for thebaserecord component.private final SlotDisplaySmithingRecipeDisplay.baseThe field for thebaserecord component.private final SlotDisplayFurnaceRecipeDisplay.craftingStationThe field for thecraftingStationrecord component.private final SlotDisplayShapedCraftingRecipeDisplay.craftingStationThe field for thecraftingStationrecord component.private final SlotDisplayShapelessCraftingRecipeDisplay.craftingStationThe field for thecraftingStationrecord component.private final SlotDisplaySmithingRecipeDisplay.craftingStationThe field for thecraftingStationrecord component.private final SlotDisplayStonecutterRecipeDisplay.craftingStationThe field for thecraftingStationrecord component.private final SlotDisplayFurnaceRecipeDisplay.fuelThe field for thefuelrecord component.private final SlotDisplayFurnaceRecipeDisplay.ingredientThe field for theingredientrecord component.private final SlotDisplaySlotDisplay.WithRemainderSlotDisplay.inputThe field for theinputrecord component.private final SlotDisplayStonecutterRecipeDisplay.inputThe field for theinputrecord component.private final SlotDisplaySlotDisplay.SmithingTrimSlotDisplay.materialThe field for thematerialrecord component.private final SlotDisplayCuttingRecipeDisplay.optionDisplayThe field for theoptionDisplayrecord component.private final SlotDisplaySlotDisplay.WithRemainderSlotDisplay.remainderThe field for theremainderrecord component.private final SlotDisplayFurnaceRecipeDisplay.resultThe field for theresultrecord component.private final SlotDisplayShapedCraftingRecipeDisplay.resultThe field for theresultrecord component.private final SlotDisplayShapelessCraftingRecipeDisplay.resultThe field for theresultrecord component.private final SlotDisplaySmithingRecipeDisplay.resultThe field for theresultrecord component.private final SlotDisplayStonecutterRecipeDisplay.resultThe field for theresultrecord component.private final SlotDisplaySmithingRecipeDisplay.templateThe field for thetemplaterecord component.Fields in net.minecraft.recipe.display with type parameters of type SlotDisplayModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SlotDisplay> SlotDisplay.CODECprivate final List<SlotDisplay> SlotDisplay.CompositeSlotDisplay.contentsThe field for thecontentsrecord component.private final List<SlotDisplay> ShapedCraftingRecipeDisplay.ingredientsThe field for theingredientsrecord component.private final List<SlotDisplay> ShapelessCraftingRecipeDisplay.ingredientsThe field for theingredientsrecord component.static final PacketCodec<RegistryByteBuf, SlotDisplay> SlotDisplay.PACKET_CODECMethods in net.minecraft.recipe.display that return SlotDisplayModifier and TypeMethodDescriptionSmithingRecipeDisplay.addition()Returns the value of theadditionrecord component.SlotDisplay.SmithingTrimSlotDisplay.base()Returns the value of thebaserecord component.SmithingRecipeDisplay.base()Returns the value of thebaserecord component.FurnaceRecipeDisplay.craftingStation()Returns the value of thecraftingStationrecord component.RecipeDisplay.craftingStation()ShapedCraftingRecipeDisplay.craftingStation()Returns the value of thecraftingStationrecord component.ShapelessCraftingRecipeDisplay.craftingStation()Returns the value of thecraftingStationrecord component.SmithingRecipeDisplay.craftingStation()Returns the value of thecraftingStationrecord component.StonecutterRecipeDisplay.craftingStation()Returns the value of thecraftingStationrecord component.FurnaceRecipeDisplay.fuel()Returns the value of thefuelrecord component.FurnaceRecipeDisplay.ingredient()Returns the value of theingredientrecord component.SlotDisplay.WithRemainderSlotDisplay.input()Returns the value of theinputrecord component.StonecutterRecipeDisplay.input()Returns the value of theinputrecord component.SlotDisplay.SmithingTrimSlotDisplay.material()Returns the value of thematerialrecord component.CuttingRecipeDisplay.optionDisplay()Returns the value of theoptionDisplayrecord component.SlotDisplay.WithRemainderSlotDisplay.remainder()Returns the value of theremainderrecord component.FurnaceRecipeDisplay.result()Returns the value of theresultrecord component.RecipeDisplay.result()ShapedCraftingRecipeDisplay.result()Returns the value of theresultrecord component.ShapelessCraftingRecipeDisplay.result()Returns the value of theresultrecord component.SmithingRecipeDisplay.result()Returns the value of theresultrecord component.StonecutterRecipeDisplay.result()Returns the value of theresultrecord component.SmithingRecipeDisplay.template()Returns the value of thetemplaterecord component.Methods in net.minecraft.recipe.display that return types with arguments of type SlotDisplayModifier and TypeMethodDescriptionSlotDisplay.CompositeSlotDisplay.contents()Returns the value of thecontentsrecord component.ShapedCraftingRecipeDisplay.ingredients()Returns the value of theingredientsrecord component.ShapelessCraftingRecipeDisplay.ingredients()Returns the value of theingredientsrecord component.SlotDisplay.Serializer<? extends SlotDisplay> SlotDisplay.serializer()Constructors in net.minecraft.recipe.display with parameters of type SlotDisplayModifierConstructorDescriptionCuttingRecipeDisplay(SlotDisplay optionDisplay, Optional<RecipeEntry<T>> recipe) Creates an instance of aCuttingRecipeDisplayrecord class.FurnaceRecipeDisplay(SlotDisplay ingredient, SlotDisplay fuel, SlotDisplay result, SlotDisplay craftingStation, int duration, float experience) Creates an instance of aFurnaceRecipeDisplayrecord class.ShapedCraftingRecipeDisplay(int width, int height, List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aShapedCraftingRecipeDisplayrecord class.ShapelessCraftingRecipeDisplay(List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aShapelessCraftingRecipeDisplayrecord class.SmithingRecipeDisplay(SlotDisplay template, SlotDisplay base, SlotDisplay addition, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aSmithingRecipeDisplayrecord class.SmithingTrimSlotDisplay(SlotDisplay base, SlotDisplay material, RegistryEntry<ArmorTrimPattern> pattern) Creates an instance of aSmithingTrimSlotDisplayrecord class.StonecutterRecipeDisplay(SlotDisplay input, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aStonecutterRecipeDisplayrecord class.WithRemainderSlotDisplay(SlotDisplay input, SlotDisplay remainder) Creates an instance of aWithRemainderSlotDisplayrecord class.Constructor parameters in net.minecraft.recipe.display with type arguments of type SlotDisplayModifierConstructorDescriptionCompositeSlotDisplay(List<SlotDisplay> contents) Creates an instance of aCompositeSlotDisplayrecord class.ShapedCraftingRecipeDisplay(int width, int height, List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aShapedCraftingRecipeDisplayrecord class.ShapelessCraftingRecipeDisplay(List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aShapelessCraftingRecipeDisplayrecord class.