public class ForgeDummyContainer extends DummyModContainer implements WorldAccessContainer
Constructor and Description |
---|
ForgeDummyContainer() |
Modifier and Type | Method and Description |
---|---|
NBTTagCompound |
getDataForWriting(SaveHandler handler,
WorldInfo info) |
void |
postInit(FMLPostInitializationEvent evt) |
void |
preInit(FMLPreInitializationEvent evt) |
void |
readData(SaveHandler handler,
WorldInfo info,
Map<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
|
acceptableMinecraftVersionRange, bindMetadata, getDependants, getDependencies, getDisplayVersion, getMetadata, getMod, getModId, getName, getProcessedVersion, getRequirements, getSigningCertificate, getSortingRules, getSource, getVersion, isImmutable, isNetworkMod, matches, setEnabledState
public ForgeDummyContainer()
public boolean registerBus(com.google.common.eventbus.EventBus bus, LoadController controller)
ModContainer
registerBus
in interface ModContainer
registerBus
in class DummyModContainer
public void preInit(FMLPreInitializationEvent evt)
public void postInit(FMLPostInitializationEvent evt)
public NBTTagCompound getDataForWriting(SaveHandler handler, WorldInfo info)
getDataForWriting
in interface WorldAccessContainer
public void readData(SaveHandler handler, WorldInfo info, Map<String,NBTBase> propertyMap, NBTTagCompound tag)
readData
in interface WorldAccessContainer