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 |
fixVanillaCascading |
static boolean |
forgeCloudsEnabled |
static boolean |
forgeLightPipelineEnabled |
static boolean |
fullBoundingBoxLadders |
static boolean |
logCascadingWorldGeneration |
static boolean |
removeErroringEntities |
static boolean |
removeErroringTileEntities |
static boolean |
replaceVanillaBucketModel
Deprecated.
|
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(RegistryEvent.MissingMappings<Item> 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(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 |
registrItems(RegistryEvent.Register<Item> event) |
void |
serverStarting(FMLServerStartingEvent evt) |
void |
serverStopping(FMLServerStoppingEvent evt) |
acceptableMinecraftVersionRange, bindMetadata, canBeDisabled, getClassVersion, getCustomModProperties, getDependants, getDependencies, getDisplayVersion, getMetadata, getMod, getModId, getName, getProcessedVersion, getRequirements, getSharedModDescriptor, getSortingRules, getVersion, isImmutable, matches, setClassVersion, setEnabledState, shouldLoadInEnvironment, toString
public 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
@Deprecated public static boolean replaceVanillaBucketModel
public static boolean zoomInMissingModelTextInGui
public static boolean forgeCloudsEnabled
public static boolean disableStairSlabCulling
public static boolean alwaysSetupTerrainOffThread
public static int dimensionUnloadQueueDelay
public static boolean logCascadingWorldGeneration
public static boolean fixVanillaCascading
public UniversalBucket universalBucket
public static ForgeModContainer getInstance()
public java.lang.String getGuiClassName()
getGuiClassName
in interface ModContainer
getGuiClassName
in class DummyModContainer
public static Configuration getConfig()
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event)
public void missingMapping(RegistryEvent.MissingMappings<Item> event)
public void playerLogin(PlayerEvent.PlayerLoggedInEvent event)
public boolean registerBus(com.google.common.eventbus.EventBus bus, LoadController controller)
ModContainer
registerBus
in interface ModContainer
registerBus
in class DummyModContainer
public void modConstruction(FMLConstructionEvent evt)
public void preInit(FMLPreInitializationEvent evt)
public void registrItems(RegistryEvent.Register<Item> event)
public void postInit(FMLPostInitializationEvent evt)
public void onAvailable(FMLLoadCompleteEvent evt)
public void serverStarting(FMLServerStartingEvent evt)
public void serverStopping(FMLServerStoppingEvent evt)
public NBTTagCompound getDataForWriting(SaveHandler handler, WorldInfo info)
getDataForWriting
in interface WorldAccessContainer
public void readData(SaveHandler handler, WorldInfo info, java.util.Map<java.lang.String,NBTBase> propertyMap, NBTTagCompound tag)
readData
in interface WorldAccessContainer
public void mappingChanged(FMLModIdMappingEvent evt)
public java.io.File getSource()
ModContainer
getSource
in interface ModContainer
getSource
in class DummyModContainer
public java.lang.Class<?> getCustomResourcePackClass()
getCustomResourcePackClass
in interface ModContainer
getCustomResourcePackClass
in class DummyModContainer
public java.util.List<java.lang.String> getOwnedPackages()
getOwnedPackages
in interface ModContainer
getOwnedPackages
in class DummyModContainer
@Nullable public java.security.cert.Certificate getSigningCertificate()
getSigningCertificate
in interface ModContainer
getSigningCertificate
in class DummyModContainer
public java.net.URL getUpdateUrl()
getUpdateUrl
in interface ModContainer
getUpdateUrl
in class DummyModContainer