public class AmadronPlayerOffers extends AuxConfigJson
| Modifier and Type | Field and Description |
|---|---|
static AmadronPlayerOffers |
INSTANCE |
file| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the contents of this config when init'ing a new config file.
|
java.lang.String |
getConfigFilename()
Get the filename (within the "pneumaticcraft/" folder in the top-level config directory) where this
config should be stored.
|
java.util.Map<net.minecraft.util.ResourceLocation,AmadronPlayerOffer> |
getPlayerOffers() |
protected void |
readFromJson(com.google.gson.JsonObject json) |
static void |
save() |
boolean |
useWorldSpecificDir()
If true, use a world-local directory for this config, outside the normal config/ hierarchy.
|
protected void |
writeToJson(com.google.gson.JsonObject json) |
postInit, preInit, tryWriteToFile, writeToFilepublic static final AmadronPlayerOffers INSTANCE
public java.lang.String getConfigFilename()
IAuxConfigpublic java.util.Map<net.minecraft.util.ResourceLocation,AmadronPlayerOffer> getPlayerOffers()
public static void save()
public void clear()
IAuxConfigprotected void writeToJson(com.google.gson.JsonObject json)
writeToJson in class AuxConfigJsonprotected void readFromJson(com.google.gson.JsonObject json)
readFromJson in class AuxConfigJsonpublic boolean useWorldSpecificDir()
IAuxConfig