Package net.minecraft.client.option
Class HotbarStorageEntry
java.lang.Object
net.minecraft.client.option.HotbarStorageEntry
- Mappings:
Namespace Name named net/minecraft/client/option/HotbarStorageEntry
intermediary net/minecraft/class_748
official gct
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HotbarStorageEntry> private static final com.mojang.serialization.Dynamic
<?> private static final int
private static final Logger
private static final com.mojang.serialization.DynamicOps
<NbtElement> private List
<com.mojang.serialization.Dynamic<?>> -
Constructor Summary
ModifierConstructorDescriptionprivate
HotbarStorageEntry
(List<com.mojang.serialization.Dynamic<?>> stacks) -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(RegistryWrapper.WrapperLookup registryLookup) boolean
isEmpty()
private static boolean
isEmpty
(com.mojang.serialization.Dynamic<?> stack) void
serialize
(PlayerInventory playerInventory, DynamicRegistryManager registryManager)
-
Field Details
-
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
Lgct;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
Lgct;c:I
-
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
Lgct;a:Lcom/mojang/serialization/Codec;
-
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
Lgct;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
Lgct;e:Lcom/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
Lgct;f:Ljava/util/List;
-
-
Constructor Details
-
HotbarStorageEntry
- 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>
Lgct;<init>(Ljava/util/List;)V
-
HotbarStorageEntry
public HotbarStorageEntry()
-
-
Method Details
-
deserialize
- 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
Lgct;a(Ljk$a;)Ljava/util/List;
-
serialize
- 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
Lgct;a(Lcmx;Ljw;)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
Lgct;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
Lgct;a(Lcom/mojang/serialization/Dynamic;)Z
-