Class HotbarStorageEntry

All Implemented Interfaces:
Iterable<ItemStack>, Collection<ItemStack>, List<ItemStack>

@Environment(CLIENT)
public class HotbarStorageEntry
extends ForwardingList<ItemStack>
Mappings:
Namespace Name
official egy
intermediary net/minecraft/class_748
named net/minecraft/client/option/HotbarStorageEntry
  • Field Details

    • delegate

      private final DefaultedList<ItemStack> delegate
      Mappings:
      Namespace Name Mixin selector
      official a Legy;a:Lgj;
      intermediary field_3948 Lnet/minecraft/class_748;field_3948:Lnet/minecraft/class_2371;
      named delegate Lnet/minecraft/client/option/HotbarStorageEntry;delegate:Lnet/minecraft/util/collection/DefaultedList;
  • Constructor Details

    • HotbarStorageEntry

      public HotbarStorageEntry()
  • Method Details

    • delegate

      protected List<ItemStack> delegate()
      Specified by:
      delegate in class ForwardingList<ItemStack>
      Mappings:
      Namespace Name Mixin selector
      official delegate Legy;delegate()Ljava/util/List;
      intermediary delegate Lnet/minecraft/class_748;delegate()Ljava/util/List;
      named delegate Lnet/minecraft/client/option/HotbarStorageEntry;delegate()Ljava/util/List;
    • toListTag

      public ListTag toListTag()
      Mappings:
      Namespace Name Mixin selector
      official a Legy;a()Lmw;
      intermediary method_3153 Lnet/minecraft/class_748;method_3153()Lnet/minecraft/class_2499;
      named toListTag Lnet/minecraft/client/option/HotbarStorageEntry;toListTag()Lnet/minecraft/nbt/ListTag;
    • fromListTag

      public void fromListTag​(ListTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Legy;a(Lmw;)V
      intermediary method_3152 Lnet/minecraft/class_748;method_3152(Lnet/minecraft/class_2499;)V
      named fromListTag Lnet/minecraft/client/option/HotbarStorageEntry;fromListTag(Lnet/minecraft/nbt/ListTag;)V
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Collection<ItemStack>
      Specified by:
      isEmpty in interface List<ItemStack>
      Overrides:
      isEmpty in class ForwardingCollection<ItemStack>
      Mappings:
      Namespace Name Mixin selector
      official isEmpty Legy;isEmpty()Z
      intermediary isEmpty Lnet/minecraft/class_748;isEmpty()Z
      named isEmpty Lnet/minecraft/client/option/HotbarStorageEntry;isEmpty()Z