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_324499_) load
(HolderLookup.Provider p_323741_) void
storeFrom
(Inventory p_324559_, RegistryAccess p_324514_)
-
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_324499_)
-