@Environment(value=CLIENT) public class HotbarStorage extends Object
Modifier and Type | Field and Description |
---|---|
private com.mojang.datafixers.DataFixer |
dataFixer |
private HotbarStorageEntry[] |
entries |
private File |
file |
private boolean |
loaded |
private static Logger |
LOGGER |
Constructor and Description |
---|
HotbarStorage(File file,
com.mojang.datafixers.DataFixer dataFixer) |
Modifier and Type | Method and Description |
---|---|
HotbarStorageEntry |
getSavedHotbar(int i) |
private void |
load() |
void |
save() |
private static final Logger LOGGER
private final File file
private final com.mojang.datafixers.DataFixer dataFixer
private final HotbarStorageEntry[] entries
private boolean loaded
public HotbarStorage(File file, com.mojang.datafixers.DataFixer dataFixer)
private void load()
public void save()
public HotbarStorageEntry getSavedHotbar(int i)