Package net.minecraft.recipe.display
Interface SlotDisplay
- All Known Implementing Classes:
SlotDisplay.AnyFuelSlotDisplay
,SlotDisplay.CompositeSlotDisplay
,SlotDisplay.EmptySlotDisplay
,SlotDisplay.ItemSlotDisplay
,SlotDisplay.SmithingTrimSlotDisplay
,SlotDisplay.StackSlotDisplay
,SlotDisplay.TagSlotDisplay
,SlotDisplay.WithRemainderSlotDisplay
public interface SlotDisplay
- Mappings:
Namespace Name named net/minecraft/recipe/display/SlotDisplay
intermediary net/minecraft/class_10302
official ddo
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static final record
static class
static final record
static class
static final record
SlotDisplay.Serializer<T extends SlotDisplay>
static final record
static final record
static final record
static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SlotDisplay> static final PacketCodec
<RegistryByteBuf, SlotDisplay> -
Method Summary
Modifier and TypeMethodDescription<T> Stream
<T> appendStacks
(ContextParameterMap parameters, DisplayedItemFactory<T> factory) default ItemStack
getFirst
(ContextParameterMap context) getStacks
(ContextParameterMap parameters) default boolean
isEnabled
(FeatureSet features) SlotDisplay.Serializer
<? extends SlotDisplay>
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/recipe/display/SlotDisplay;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_54671
Lnet/minecraft/class_10302;field_54671:Lcom/mojang/serialization/Codec;
official a
Lddo;a:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/recipe/display/SlotDisplay;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_54672
Lnet/minecraft/class_10302;field_54672:Lnet/minecraft/class_9139;
official b
Lddo;b:Lzt;
-
-
Method Details
-
appendStacks
- Mappings:
Namespace Name Mixin selector named appendStacks
Lnet/minecraft/recipe/display/SlotDisplay;appendStacks(Lnet/minecraft/util/context/ContextParameterMap;Lnet/minecraft/recipe/display/DisplayedItemFactory;)Ljava/util/stream/Stream;
intermediary method_64739
Lnet/minecraft/class_10302;method_64739(Lnet/minecraft/class_10352;Lnet/minecraft/class_10358;)Ljava/util/stream/Stream;
official a
Lddo;a(Lbbp;Lddg;)Ljava/util/stream/Stream;
-
serializer
SlotDisplay.Serializer<? extends SlotDisplay> serializer()- Mappings:
Namespace Name Mixin selector named serializer
Lnet/minecraft/recipe/display/SlotDisplay;serializer()Lnet/minecraft/recipe/display/SlotDisplay$Serializer;
intermediary method_64736
Lnet/minecraft/class_10302;method_64736()Lnet/minecraft/class_10302$class_10312;
official a
Lddo;a()Lddo$i;
-
isEnabled
- Mappings:
Namespace Name Mixin selector named isEnabled
Lnet/minecraft/recipe/display/SlotDisplay;isEnabled(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
intermediary method_64737
Lnet/minecraft/class_10302;method_64737(Lnet/minecraft/class_7699;)Z
official a
Lddo;a(Lcss;)Z
-
getStacks
- Mappings:
Namespace Name Mixin selector named getStacks
Lnet/minecraft/recipe/display/SlotDisplay;getStacks(Lnet/minecraft/util/context/ContextParameterMap;)Ljava/util/List;
intermediary method_64738
Lnet/minecraft/class_10302;method_64738(Lnet/minecraft/class_10352;)Ljava/util/List;
official a
Lddo;a(Lbbp;)Ljava/util/List;
-
getFirst
- Mappings:
Namespace Name Mixin selector named getFirst
Lnet/minecraft/recipe/display/SlotDisplay;getFirst(Lnet/minecraft/util/context/ContextParameterMap;)Lnet/minecraft/item/ItemStack;
intermediary method_64742
Lnet/minecraft/class_10302;method_64742(Lnet/minecraft/class_10352;)Lnet/minecraft/class_1799;
official b
Lddo;b(Lbbp;)Lcxo;
-