Class HotbarStorageEntry

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

@Environment(CLIENT) public class HotbarStorageEntry extends ForwardingList<ItemStack>
Mappings:
Namespace Name
official fij
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 Lfij;a:Lhn;
      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 Lfij;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;
    • toNbtList

      public NbtList toNbtList()
      Mappings:
      Namespace Name Mixin selector
      official a Lfij;a()Lqx;
      intermediary method_3153 Lnet/minecraft/class_748;method_3153()Lnet/minecraft/class_2499;
      named toNbtList Lnet/minecraft/client/option/HotbarStorageEntry;toNbtList()Lnet/minecraft/nbt/NbtList;
    • readNbtList

      public void readNbtList(NbtList list)
      Mappings:
      Namespace Name Mixin selector
      official a Lfij;a(Lqx;)V
      intermediary method_3152 Lnet/minecraft/class_748;method_3152(Lnet/minecraft/class_2499;)V
      named readNbtList Lnet/minecraft/client/option/HotbarStorageEntry;readNbtList(Lnet/minecraft/nbt/NbtList;)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>