Class SlotDisplay.Empty
java.lang.Object
net.minecraft.world.item.crafting.display.SlotDisplay.Empty
- All Implemented Interfaces:
SlotDisplay
- Enclosing interface:
SlotDisplay
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.item.crafting.display.SlotDisplay
SlotDisplay.AnyFuel, SlotDisplay.Composite, SlotDisplay.Empty, SlotDisplay.ItemSlotDisplay, SlotDisplay.ItemStackContentsFactory, SlotDisplay.ItemStackSlotDisplay, SlotDisplay.SmithingTrimDemoSlotDisplay, SlotDisplay.TagSlotDisplay, SlotDisplay.Type<T extends SlotDisplay>, SlotDisplay.WithRemainder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SlotDisplay.Empty
static final com.mojang.serialization.MapCodec
<SlotDisplay.Empty> static final StreamCodec
<RegistryFriendlyByteBuf, SlotDisplay.Empty> static final SlotDisplay.Type
<SlotDisplay.Empty> Fields inherited from interface net.minecraft.world.item.crafting.display.SlotDisplay
CODEC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Stream
<T> resolve
(ContextMap p_381154_, DisplayContentsFactory<T> p_380978_) toString()
type()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.item.crafting.display.SlotDisplay
isEnabled, resolveForFirstStack, resolveForStacks
-
Field Details
-
INSTANCE
-
MAP_CODEC
-
STREAM_CODEC
-
TYPE
-
-
Constructor Details
-
Empty
private Empty()
-
-
Method Details
-
type
- Specified by:
type
in interfaceSlotDisplay
-
toString
-
resolve
- Specified by:
resolve
in interfaceSlotDisplay
-