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
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<SlotDisplay> 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

      static final PacketCodec<RegistryByteBuf,SlotDisplay> 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

      <T> Stream<T> appendStacks(ContextParameterMap parameters, DisplayedItemFactory<T> factory)
      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

      default boolean isEnabled(FeatureSet features)
      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

      default List<ItemStack> getStacks(ContextParameterMap parameters)
      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

      default ItemStack getFirst(ContextParameterMap context)
      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;