public class ForgeModContainer extends DummyModContainer implements WorldAccessContainer
ModContainer.Disableable| Modifier and Type | Field and Description |
|---|---|
static int[] |
blendRanges |
static int |
clumpingThreshold |
static boolean |
disableStitchedFileSaving |
static boolean |
disableVersionCheck |
static boolean |
forceDuplicateFluidBlockCrash |
static boolean |
fullBoundingBoxLadders |
static boolean |
removeErroringEntities |
static boolean |
removeErroringTileEntities |
static boolean |
shouldSortRecipies |
static float |
zombieBabyChance |
static double |
zombieSummonBaseChance |
EMPTY_PROPERTIES| Constructor and Description |
|---|
ForgeModContainer() |
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
getConfig() |
java.lang.Class<?> |
getCustomResourcePackClass() |
NBTTagCompound |
getDataForWriting(SaveHandler handler,
WorldInfo info) |
java.lang.String |
getGuiClassName() |
java.util.List<java.lang.String> |
getOwnedPackages() |
java.io.File |
getSource()
The location on the file system which this mod came from
|
void |
mappingChanged(FMLModIdMappingEvent evt) |
void |
modConstruction(FMLConstructionEvent evt) |
void |
onAvailable(FMLLoadCompleteEvent evt) |
void |
onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event)
By subscribing to the OnConfigChangedEvent we are able to execute code when our config screens are closed.
|
void |
postInit(FMLPostInitializationEvent evt) |
void |
preInit(FMLPreInitializationEvent evt) |
void |
readData(SaveHandler handler,
WorldInfo info,
java.util.Map<java.lang.String,NBTBase> propertyMap,
NBTTagCompound tag) |
boolean |
registerBus(com.google.common.eventbus.EventBus bus,
LoadController controller)
Register the event bus for the mod and the controller for error handling
Returns if this bus was successfully registered - disabled mods and other
mods that don't need real events should return false and avoid further
processing
|
void |
serverStarting(FMLServerStartingEvent evt) |
acceptableMinecraftVersionRange, bindMetadata, canBeDisabled, getCustomModProperties, getDependants, getDependencies, getDisplayVersion, getMetadata, getMod, getModId, getName, getProcessedVersion, getRequirements, getSharedModDescriptor, getSigningCertificate, getSortingRules, getVersion, isImmutable, matches, setEnabledState, toStringpublic static int clumpingThreshold
public static boolean removeErroringEntities
public static boolean removeErroringTileEntities
public static boolean disableStitchedFileSaving
public static boolean forceDuplicateFluidBlockCrash
public static boolean fullBoundingBoxLadders
public static double zombieSummonBaseChance
public static int[] blendRanges
public static float zombieBabyChance
public static boolean shouldSortRecipies
public static boolean disableVersionCheck
public java.lang.String getGuiClassName()
getGuiClassName in interface ModContainergetGuiClassName in class DummyModContainerpublic static Configuration getConfig()
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event)
public boolean registerBus(com.google.common.eventbus.EventBus bus,
LoadController controller)
ModContainerregisterBus in interface ModContainerregisterBus in class DummyModContainerpublic void modConstruction(FMLConstructionEvent evt)
public void preInit(FMLPreInitializationEvent evt)
public void postInit(FMLPostInitializationEvent evt)
public void onAvailable(FMLLoadCompleteEvent evt)
public void serverStarting(FMLServerStartingEvent evt)
public NBTTagCompound getDataForWriting(SaveHandler handler, WorldInfo info)
getDataForWriting in interface WorldAccessContainerpublic void readData(SaveHandler handler, WorldInfo info, java.util.Map<java.lang.String,NBTBase> propertyMap, NBTTagCompound tag)
readData in interface WorldAccessContainerpublic void mappingChanged(FMLModIdMappingEvent evt)
public java.io.File getSource()
ModContainergetSource in interface ModContainergetSource in class DummyModContainerpublic java.lang.Class<?> getCustomResourcePackClass()
getCustomResourcePackClass in interface ModContainergetCustomResourcePackClass in class DummyModContainerpublic java.util.List<java.lang.String> getOwnedPackages()
getOwnedPackages in interface ModContainergetOwnedPackages in class DummyModContainer