public class ForgeModContainer extends DummyModContainer implements WorldAccessContainer
ModContainer.Disableable| Modifier and Type | Field and Description |
|---|---|
static boolean |
alwaysSetupTerrainOffThread |
static int[] |
blendRanges |
static int |
clumpingThreshold |
static int |
dimensionUnloadQueueDelay |
static boolean |
disableStairSlabCulling |
static boolean |
disableVersionCheck |
static boolean |
forgeLightPipelineEnabled |
static boolean |
fullBoundingBoxLadders |
static long |
java8Reminder |
static boolean |
logCascadingWorldGeneration |
static boolean |
removeErroringEntities |
static boolean |
removeErroringTileEntities |
static boolean |
replaceVanillaBucketModel |
static boolean |
shouldSortRecipies |
UniversalBucket |
universalBucket |
static java.lang.String |
VERSION_CHECK_CAT |
static float |
zombieBabyChance |
static double |
zombieSummonBaseChance |
static boolean |
zoomInMissingModelTextInGui |
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() |
static ForgeModContainer |
getInstance() |
java.util.List<java.lang.String> |
getOwnedPackages() |
java.security.cert.Certificate |
getSigningCertificate() |
java.io.File |
getSource()
The location on the file system which this mod came from
|
java.net.URL |
getUpdateUrl() |
void |
mappingChanged(FMLModIdMappingEvent evt) |
void |
missingMapping(FMLMissingMappingsEvent event) |
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 |
playerLogin(PlayerEvent.PlayerLoggedInEvent event) |
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(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) |
static void |
updateNag() |
acceptableMinecraftVersionRange, bindMetadata, canBeDisabled, getClassVersion, getCustomModProperties, getDependants, getDependencies, getDisplayVersion, getMetadata, getMod, getModId, getName, getProcessedVersion, getRequirements, getSharedModDescriptor, getSortingRules, getVersion, isImmutable, matches, setClassVersion, setEnabledState, shouldLoadInEnvironment, toStringpublic static final java.lang.String VERSION_CHECK_CAT
public static int clumpingThreshold
public static boolean removeErroringEntities
public static boolean removeErroringTileEntities
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 static boolean forgeLightPipelineEnabled
public static boolean replaceVanillaBucketModel
public static boolean zoomInMissingModelTextInGui
public static long java8Reminder
public static boolean disableStairSlabCulling
public static boolean alwaysSetupTerrainOffThread
public static int dimensionUnloadQueueDelay
public static boolean logCascadingWorldGeneration
public UniversalBucket universalBucket
public static ForgeModContainer getInstance()
public java.lang.String getGuiClassName()
getGuiClassName in interface ModContainergetGuiClassName in class DummyModContainerpublic static Configuration getConfig()
public static void updateNag()
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event)
public void missingMapping(FMLMissingMappingsEvent event)
public void playerLogin(PlayerEvent.PlayerLoggedInEvent event)
public boolean registerBus(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 DummyModContainerpublic java.security.cert.Certificate getSigningCertificate()
getSigningCertificate in interface ModContainergetSigningCertificate in class DummyModContainerpublic java.net.URL getUpdateUrl()
getUpdateUrl in interface ModContainergetUpdateUrl in class DummyModContainer