public class ArmorFeatureStatus extends AuxConfigJson
| Modifier and Type | Field and Description |
|---|---|
static ArmorFeatureStatus |
INSTANCE |
file| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfigFilename()
Get the filename (within the "pneumaticcraft/" folder in the top-level config directory) where this
config should be stored.
|
boolean |
isUpgradeEnabled(net.minecraft.util.ResourceLocation upgradeID) |
protected void |
readFromJson(com.google.gson.JsonObject json) |
void |
setUpgradeEnabled(net.minecraft.util.ResourceLocation upgradeID,
boolean enabled) |
protected void |
writeToJson(com.google.gson.JsonObject json) |
postInit, preInit, tryWriteToFile, writeToFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, useWorldSpecificDirpublic static final ArmorFeatureStatus INSTANCE
public java.lang.String getConfigFilename()
IAuxConfigprotected void writeToJson(com.google.gson.JsonObject json)
writeToJson in class AuxConfigJsonprotected void readFromJson(com.google.gson.JsonObject json)
readFromJson in class AuxConfigJsonpublic void setUpgradeEnabled(net.minecraft.util.ResourceLocation upgradeID,
boolean enabled)
public boolean isUpgradeEnabled(net.minecraft.util.ResourceLocation upgradeID)