Uses of Interface
net.minecraft.world.item.crafting.display.SlotDisplay
Packages that use SlotDisplay
Package
Description
-
Uses of SlotDisplay in net.minecraft.client.gui.screens.recipebook
Methods in net.minecraft.client.gui.screens.recipebook with parameters of type SlotDisplayModifier and TypeMethodDescriptionvoidGhostSlots.setInput(Slot pSlot, ContextMap pContextMap, SlotDisplay pSlotDisplay) voidGhostSlots.setResult(Slot pSlot, ContextMap pContextMap, SlotDisplay pSlotDisplay) private voidGhostSlots.setSlot(Slot pSlot, ContextMap pContextMap, SlotDisplay pSlotDisplay, boolean pIsResultSlot) -
Uses of SlotDisplay in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as SlotDisplayModifier and TypeFieldDescriptionprivate final SlotDisplaySelectableRecipe.optionDisplayThe field for theoptionDisplayrecord component.Methods in net.minecraft.world.item.crafting that return SlotDisplayModifier and TypeMethodDescriptionIngredient.display()TransmuteResult.display()static SlotDisplayIngredient.displayForSingleItem(Holder<Item> pItem) static SlotDisplayIngredient.optionalIngredientToDisplay(Optional<Ingredient> pIngredient) SelectableRecipe.optionDisplay()Returns the value of theoptionDisplayrecord component.StonecutterRecipe.resultDisplay()Constructors in net.minecraft.world.item.crafting with parameters of type SlotDisplayModifierConstructorDescriptionSelectableRecipe(SlotDisplay optionDisplay, Optional<RecipeHolder<T>> recipe) Creates an instance of aSelectableReciperecord class. -
Uses of SlotDisplay in net.minecraft.world.item.crafting.display
Classes in net.minecraft.world.item.crafting.display with type parameters of type SlotDisplayClasses in net.minecraft.world.item.crafting.display that implement SlotDisplayModifier and TypeClassDescriptionstatic classstatic final recordstatic classstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordFields in net.minecraft.world.item.crafting.display declared as SlotDisplayModifier and TypeFieldDescriptionprivate final SlotDisplaySmithingRecipeDisplay.additionThe field for theadditionrecord component.private final SlotDisplaySlotDisplay.SmithingTrimDemoSlotDisplay.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.WithRemainder.inputThe field for theinputrecord component.private final SlotDisplayStonecutterRecipeDisplay.inputThe field for theinputrecord component.private final SlotDisplaySlotDisplay.SmithingTrimDemoSlotDisplay.materialThe field for thematerialrecord component.private final SlotDisplaySlotDisplay.WithRemainder.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.world.item.crafting.display with type parameters of type SlotDisplayModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SlotDisplay> SlotDisplay.CODECprivate final List<SlotDisplay> SlotDisplay.Composite.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 StreamCodec<RegistryFriendlyByteBuf, SlotDisplay> SlotDisplay.STREAM_CODECMethods in net.minecraft.world.item.crafting.display that return SlotDisplayModifier and TypeMethodDescriptionSmithingRecipeDisplay.addition()Returns the value of theadditionrecord component.SlotDisplay.SmithingTrimDemoSlotDisplay.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.WithRemainder.input()Returns the value of theinputrecord component.StonecutterRecipeDisplay.input()Returns the value of theinputrecord component.SlotDisplay.SmithingTrimDemoSlotDisplay.material()Returns the value of thematerialrecord component.SlotDisplay.WithRemainder.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.world.item.crafting.display that return types with arguments of type SlotDisplayModifier and TypeMethodDescriptionSlotDisplay.Composite.contents()Returns the value of thecontentsrecord component.ShapedCraftingRecipeDisplay.ingredients()Returns the value of theingredientsrecord component.ShapelessCraftingRecipeDisplay.ingredients()Returns the value of theingredientsrecord component.SlotDisplay.Type<? extends SlotDisplay> SlotDisplay.type()Constructors in net.minecraft.world.item.crafting.display with parameters of type SlotDisplayModifierConstructorDescriptionFurnaceRecipeDisplay(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.SmithingTrimDemoSlotDisplay(SlotDisplay base, SlotDisplay material, Holder<TrimPattern> pattern) Creates an instance of aSmithingTrimDemoSlotDisplayrecord class.StonecutterRecipeDisplay(SlotDisplay input, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aStonecutterRecipeDisplayrecord class.WithRemainder(SlotDisplay input, SlotDisplay remainder) Creates an instance of aWithRemainderrecord class.Constructor parameters in net.minecraft.world.item.crafting.display with type arguments of type SlotDisplayModifierConstructorDescriptionComposite(List<SlotDisplay> contents) Creates an instance of aCompositerecord 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. -
Uses of SlotDisplay in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as SlotDisplayModifier and TypeFieldDescriptionprivate final SlotDisplayCustomDisplayIngredient.displayThe field for thedisplayrecord component.Methods in net.neoforged.neoforge.common.crafting that return SlotDisplayModifier and TypeMethodDescriptionBlockTagIngredient.display()CompoundIngredient.display()CustomDisplayIngredient.display()Returns the value of thedisplayrecord component.DataComponentIngredient.display()default SlotDisplayICustomIngredient.display()Returns the display for this ingredient.Methods in net.neoforged.neoforge.common.crafting with parameters of type SlotDisplayModifier and TypeMethodDescriptionstatic IngredientCustomDisplayIngredient.of(Ingredient base, SlotDisplay display) Constructors in net.neoforged.neoforge.common.crafting with parameters of type SlotDisplayModifierConstructorDescriptionCustomDisplayIngredient(Ingredient base, SlotDisplay display) Creates an instance of aCustomDisplayIngredientrecord class. -
Uses of SlotDisplay in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting declared as SlotDisplayMethods in net.neoforged.neoforge.fluids.crafting that return SlotDisplayModifier and TypeMethodDescriptionCustomDisplayFluidIngredient.display()DataComponentFluidIngredient.display()FluidIngredient.display()Returns a slot display for this ingredient, used for display on the client-side.SimpleFluidIngredient.display()static SlotDisplayFluidIngredient.displayForSingleFluid(Holder<Fluid> holder) Methods in net.neoforged.neoforge.fluids.crafting with parameters of type SlotDisplayModifier and TypeMethodDescriptionstatic FluidIngredientCustomDisplayFluidIngredient.of(FluidIngredient base, SlotDisplay display) Constructors in net.neoforged.neoforge.fluids.crafting with parameters of type SlotDisplayModifierConstructorDescriptionCustomDisplayFluidIngredient(FluidIngredient base, SlotDisplay display) -
Uses of SlotDisplay in net.neoforged.neoforge.fluids.crafting.display
Classes in net.neoforged.neoforge.fluids.crafting.display that implement SlotDisplayModifier and TypeClassDescriptionfinal recordSlot display for a single fluid holder.final recordSlot display for a given fluid stack, including fluid amount and data components.final recordSlot display that shows all fluids in a given tag.