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 TypeMethodDescriptionvoid
GhostSlots.setInput
(Slot p_379329_, ContextMap p_381026_, SlotDisplay p_379367_) void
GhostSlots.setResult
(Slot p_379733_, ContextMap p_381037_, SlotDisplay p_380406_) private void
GhostSlots.setSlot
(Slot p_380315_, ContextMap p_380942_, SlotDisplay p_379948_, boolean p_379880_) -
Uses of SlotDisplay in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as SlotDisplayModifier and TypeFieldDescriptionprivate final SlotDisplay
SelectableRecipe.optionDisplay
The field for theoptionDisplay
record component.Methods in net.minecraft.world.item.crafting that return SlotDisplayModifier and TypeMethodDescriptionIngredient.display()
TransmuteResult.display()
static SlotDisplay
Ingredient.displayForSingleItem
(Holder<Item> p_380940_) static SlotDisplay
Ingredient.optionalIngredientToDisplay
(Optional<Ingredient> p_381167_) SelectableRecipe.optionDisplay()
Returns the value of theoptionDisplay
record 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 aSelectableRecipe
record 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 class
static final record
static class
static final record
static final record
static final record
static final record
static final record
Fields in net.minecraft.world.item.crafting.display declared as SlotDisplayModifier and TypeFieldDescriptionprivate final SlotDisplay
SmithingRecipeDisplay.addition
The field for theaddition
record component.private final SlotDisplay
SlotDisplay.SmithingTrimDemoSlotDisplay.base
The field for thebase
record component.private final SlotDisplay
SmithingRecipeDisplay.base
The field for thebase
record component.private final SlotDisplay
FurnaceRecipeDisplay.craftingStation
The field for thecraftingStation
record component.private final SlotDisplay
ShapedCraftingRecipeDisplay.craftingStation
The field for thecraftingStation
record component.private final SlotDisplay
ShapelessCraftingRecipeDisplay.craftingStation
The field for thecraftingStation
record component.private final SlotDisplay
SmithingRecipeDisplay.craftingStation
The field for thecraftingStation
record component.private final SlotDisplay
StonecutterRecipeDisplay.craftingStation
The field for thecraftingStation
record component.private final SlotDisplay
FurnaceRecipeDisplay.fuel
The field for thefuel
record component.private final SlotDisplay
FurnaceRecipeDisplay.ingredient
The field for theingredient
record component.private final SlotDisplay
SlotDisplay.WithRemainder.input
The field for theinput
record component.private final SlotDisplay
StonecutterRecipeDisplay.input
The field for theinput
record component.private final SlotDisplay
SlotDisplay.SmithingTrimDemoSlotDisplay.material
The field for thematerial
record component.private final SlotDisplay
SlotDisplay.WithRemainder.remainder
The field for theremainder
record component.private final SlotDisplay
FurnaceRecipeDisplay.result
The field for theresult
record component.private final SlotDisplay
ShapedCraftingRecipeDisplay.result
The field for theresult
record component.private final SlotDisplay
ShapelessCraftingRecipeDisplay.result
The field for theresult
record component.private final SlotDisplay
SmithingRecipeDisplay.result
The field for theresult
record component.private final SlotDisplay
StonecutterRecipeDisplay.result
The field for theresult
record component.private final SlotDisplay
SmithingRecipeDisplay.template
The field for thetemplate
record component.Fields in net.minecraft.world.item.crafting.display with type parameters of type SlotDisplayModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SlotDisplay> SlotDisplay.CODEC
private final List
<SlotDisplay> SlotDisplay.Composite.contents
The field for thecontents
record component.private final List
<SlotDisplay> ShapedCraftingRecipeDisplay.ingredients
The field for theingredients
record component.private final List
<SlotDisplay> ShapelessCraftingRecipeDisplay.ingredients
The field for theingredients
record component.static final StreamCodec
<RegistryFriendlyByteBuf, SlotDisplay> SlotDisplay.STREAM_CODEC
Methods in net.minecraft.world.item.crafting.display that return SlotDisplayModifier and TypeMethodDescriptionSmithingRecipeDisplay.addition()
Returns the value of theaddition
record component.SlotDisplay.SmithingTrimDemoSlotDisplay.base()
Returns the value of thebase
record component.SmithingRecipeDisplay.base()
Returns the value of thebase
record component.FurnaceRecipeDisplay.craftingStation()
Returns the value of thecraftingStation
record component.RecipeDisplay.craftingStation()
ShapedCraftingRecipeDisplay.craftingStation()
Returns the value of thecraftingStation
record component.ShapelessCraftingRecipeDisplay.craftingStation()
Returns the value of thecraftingStation
record component.SmithingRecipeDisplay.craftingStation()
Returns the value of thecraftingStation
record component.StonecutterRecipeDisplay.craftingStation()
Returns the value of thecraftingStation
record component.FurnaceRecipeDisplay.fuel()
Returns the value of thefuel
record component.FurnaceRecipeDisplay.ingredient()
Returns the value of theingredient
record component.SlotDisplay.WithRemainder.input()
Returns the value of theinput
record component.StonecutterRecipeDisplay.input()
Returns the value of theinput
record component.SlotDisplay.SmithingTrimDemoSlotDisplay.material()
Returns the value of thematerial
record component.SlotDisplay.WithRemainder.remainder()
Returns the value of theremainder
record component.FurnaceRecipeDisplay.result()
Returns the value of theresult
record component.RecipeDisplay.result()
ShapedCraftingRecipeDisplay.result()
Returns the value of theresult
record component.ShapelessCraftingRecipeDisplay.result()
Returns the value of theresult
record component.SmithingRecipeDisplay.result()
Returns the value of theresult
record component.StonecutterRecipeDisplay.result()
Returns the value of theresult
record component.SmithingRecipeDisplay.template()
Returns the value of thetemplate
record 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 thecontents
record component.ShapedCraftingRecipeDisplay.ingredients()
Returns the value of theingredients
record component.ShapelessCraftingRecipeDisplay.ingredients()
Returns the value of theingredients
record 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 aFurnaceRecipeDisplay
record class.ShapedCraftingRecipeDisplay
(int width, int height, List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aShapedCraftingRecipeDisplay
record class.ShapelessCraftingRecipeDisplay
(List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aShapelessCraftingRecipeDisplay
record class.SmithingRecipeDisplay
(SlotDisplay template, SlotDisplay base, SlotDisplay addition, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aSmithingRecipeDisplay
record class.SmithingTrimDemoSlotDisplay
(SlotDisplay base, SlotDisplay material, Holder<TrimPattern> pattern) Creates an instance of aSmithingTrimDemoSlotDisplay
record class.StonecutterRecipeDisplay
(SlotDisplay input, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aStonecutterRecipeDisplay
record class.WithRemainder
(SlotDisplay input, SlotDisplay remainder) Creates an instance of aWithRemainder
record class.Constructor parameters in net.minecraft.world.item.crafting.display with type arguments of type SlotDisplayModifierConstructorDescriptionComposite
(List<SlotDisplay> contents) Creates an instance of aComposite
record class.ShapedCraftingRecipeDisplay
(int width, int height, List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aShapedCraftingRecipeDisplay
record class.ShapelessCraftingRecipeDisplay
(List<SlotDisplay> ingredients, SlotDisplay result, SlotDisplay craftingStation) Creates an instance of aShapelessCraftingRecipeDisplay
record class. -
Uses of SlotDisplay in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as SlotDisplayModifier and TypeFieldDescriptionprivate final SlotDisplay
CustomDisplayIngredient.display
The field for thedisplay
record component.Methods in net.neoforged.neoforge.common.crafting that return SlotDisplayModifier and TypeMethodDescriptionBlockTagIngredient.display()
CompoundIngredient.display()
CustomDisplayIngredient.display()
Returns the value of thedisplay
record component.DataComponentIngredient.display()
default SlotDisplay
ICustomIngredient.display()
Returns the display for this ingredient.Methods in net.neoforged.neoforge.common.crafting with parameters of type SlotDisplayModifier and TypeMethodDescriptionstatic Ingredient
CustomDisplayIngredient.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 aCustomDisplayIngredient
record 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 SlotDisplay
FluidIngredient.displayForSingleFluid
(Holder<Fluid> holder) Methods in net.neoforged.neoforge.fluids.crafting with parameters of type SlotDisplayModifier and TypeMethodDescriptionstatic FluidIngredient
CustomDisplayFluidIngredient.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 record
Slot display for a single fluid holder.final record
Slot display for a given fluid stack, including fluid amount and data components.final record
Slot display that shows all fluids in a given tag.