Class Hotbar
java.lang.Object
net.minecraft.client.player.inventory.Hotbar
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Hotbar> private static final com.mojang.serialization.DynamicOps
<Tag> private static final com.mojang.serialization.Dynamic
<?> private List
<com.mojang.serialization.Dynamic<?>> private static final org.slf4j.Logger
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
private static boolean
isEmpty
(com.mojang.serialization.Dynamic<?> p_331706_) load
(HolderLookup.Provider p_331400_) void
storeFrom
(Inventory p_335728_, RegistryAccess p_328533_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
SIZE
private static final int SIZE -
CODEC
-
DEFAULT_OPS
-
EMPTY_STACK
private static final com.mojang.serialization.Dynamic<?> EMPTY_STACK -
items
-
-
Constructor Details
-
Hotbar
-
Hotbar
public Hotbar()
-
-
Method Details
-
load
-
storeFrom
-
isEmpty
public boolean isEmpty() -
isEmpty
private static boolean isEmpty(com.mojang.serialization.Dynamic<?> p_331706_)
-