Class HotbarStorageEntry

java.lang.Object
net.minecraft.client.option.HotbarStorageEntry

@Environment(CLIENT) public class HotbarStorageEntry extends Object
Mappings:
Namespace Name
named net/minecraft/client/option/HotbarStorageEntry
intermediary net/minecraft/class_748
official gdx
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/option/HotbarStorageEntry;LOGGER:Lorg/slf4j/Logger;
      intermediary field_48943 Lnet/minecraft/class_748;field_48943:Lorg/slf4j/Logger;
      official b Lgdx;b:Lorg/slf4j/Logger;
    • HOTBAR_SIZE

      private static final int HOTBAR_SIZE
      Mappings:
      Namespace Name Mixin selector
      named HOTBAR_SIZE Lnet/minecraft/client/option/HotbarStorageEntry;HOTBAR_SIZE:I
      intermediary field_48944 Lnet/minecraft/class_748;field_48944:I
      official c Lgdx;c:I
    • CODEC

      public static final com.mojang.serialization.Codec<HotbarStorageEntry> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/option/HotbarStorageEntry;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_48942 Lnet/minecraft/class_748;field_48942:Lcom/mojang/serialization/Codec;
      official a Lgdx;a:Lcom/mojang/serialization/Codec;
    • NBT_OPS

      private static final com.mojang.serialization.DynamicOps<NbtElement> NBT_OPS
      Mappings:
      Namespace Name Mixin selector
      named NBT_OPS Lnet/minecraft/client/option/HotbarStorageEntry;NBT_OPS:Lcom/mojang/serialization/DynamicOps;
      intermediary field_48945 Lnet/minecraft/class_748;field_48945:Lcom/mojang/serialization/DynamicOps;
      official d Lgdx;d:Lcom/mojang/serialization/DynamicOps;
    • EMPTY_STACK

      private static final com.mojang.serialization.Dynamic<?> EMPTY_STACK
      Mappings:
      Namespace Name Mixin selector
      named EMPTY_STACK Lnet/minecraft/client/option/HotbarStorageEntry;EMPTY_STACK:Lcom/mojang/serialization/Dynamic;
      intermediary field_48946 Lnet/minecraft/class_748;field_48946:Lcom/mojang/serialization/Dynamic;
      official e Lgdx;e:Lcom/mojang/serialization/Dynamic;
    • stacks

      private List<com.mojang.serialization.Dynamic<?>> stacks
      Mappings:
      Namespace Name Mixin selector
      named stacks Lnet/minecraft/client/option/HotbarStorageEntry;stacks:Ljava/util/List;
      intermediary field_48947 Lnet/minecraft/class_748;field_48947:Ljava/util/List;
      official f Lgdx;f:Ljava/util/List;
  • Constructor Details

    • HotbarStorageEntry

      private HotbarStorageEntry(List<com.mojang.serialization.Dynamic<?>> stacks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/option/HotbarStorageEntry;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_748;<init>(Ljava/util/List;)V
      official <init> Lgdx;<init>(Ljava/util/List;)V
    • HotbarStorageEntry

      public HotbarStorageEntry()
  • Method Details

    • deserialize

      public List<ItemStack> deserialize(RegistryWrapper.WrapperLookup registryLookup)
      Mappings:
      Namespace Name Mixin selector
      named deserialize Lnet/minecraft/client/option/HotbarStorageEntry;deserialize(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Ljava/util/List;
      intermediary method_56839 Lnet/minecraft/class_748;method_56839(Lnet/minecraft/class_7225$class_7874;)Ljava/util/List;
      official a Lgdx;a(Ljo$a;)Ljava/util/List;
    • serialize

      public void serialize(PlayerInventory playerInventory, DynamicRegistryManager registryManager)
      Mappings:
      Namespace Name Mixin selector
      named serialize Lnet/minecraft/client/option/HotbarStorageEntry;serialize(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/registry/DynamicRegistryManager;)V
      intermediary method_56836 Lnet/minecraft/class_748;method_56836(Lnet/minecraft/class_1661;Lnet/minecraft/class_5455;)V
      official a Lgdx;a(Lcmu;Lka;)V
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/client/option/HotbarStorageEntry;isEmpty()Z
      intermediary method_56835 Lnet/minecraft/class_748;method_56835()Z
      official a Lgdx;a()Z
    • isEmpty

      private static boolean isEmpty(com.mojang.serialization.Dynamic<?> stack)
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/client/option/HotbarStorageEntry;isEmpty(Lcom/mojang/serialization/Dynamic;)Z
      intermediary method_56837 Lnet/minecraft/class_748;method_56837(Lcom/mojang/serialization/Dynamic;)Z
      official a Lgdx;a(Lcom/mojang/serialization/Dynamic;)Z