public class CreativeSettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.io.File |
dataFile |
private com.mojang.datafixers.DataFixer |
dataFixer |
private HotbarSnapshot[] |
hotbarSnapshots |
private boolean |
loaded |
private static org.apache.logging.log4j.Logger |
LOGGER |
Constructor and Description |
---|
CreativeSettings(java.io.File dataPath,
com.mojang.datafixers.DataFixer dataFixerIn) |
Modifier and Type | Method and Description |
---|---|
HotbarSnapshot |
getHotbarSnapshot(int index) |
private void |
load() |
void |
save() |
private static final org.apache.logging.log4j.Logger LOGGER
private final java.io.File dataFile
private final com.mojang.datafixers.DataFixer dataFixer
private final HotbarSnapshot[] hotbarSnapshots
private boolean loaded
public CreativeSettings(java.io.File dataPath, com.mojang.datafixers.DataFixer dataFixerIn)
private void load()
public void save()
public HotbarSnapshot getHotbarSnapshot(int index)