public class ModuleFactory extends BlankForestryModule
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,java.lang.Boolean> |
MACHINE_ENABLED |
| Constructor and Description |
|---|
ModuleFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLootPoolNames(java.util.Set<java.lang.String> lootPoolNames) |
void |
disabledSetupAPI()
Called to setup the api if this module is disabled in the config or has missing dependencies.
|
void |
doInit() |
static BlockRegistryFactory |
getBlocks() |
IPacketRegistry |
getPacketRegistry() |
static void |
loadMachineConfig(LocalizedConfiguration config) |
static boolean |
machineEnabled(java.lang.String machineName) |
void |
preInit()
Must be called by the mod that registers the container.
|
void |
registerItemsAndBlocks()
Can be used to register items and blocks.
|
void |
registerRecipes()
Can be used to register recipes.
|
void |
registerTriggers()
Can be used to register Buildcraft triggers.
|
void |
setupAPI()
Can be used to setup the api.
|
decorateBiome, getDependencyUids, getHiddenItems, getPickupHandler, getResupplyHandler, getSaveEventHandler, populateChunk, populateChunkRetroGen, processIMCMessage, registerBackpackItems, registerCrates, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanBeDisabled, getConsoleCommands, getFailMessage, isAvailable, postInitpublic static final java.util.Map<java.lang.String,java.lang.Boolean> MACHINE_ENABLED
public static BlockRegistryFactory getBlocks()
public void setupAPI()
IForestryModuleIForestryModule.disabledSetupAPI() will be called.
Must be called by the mod that registers the container.
public void disabledSetupAPI()
IForestryModuleMust be called by the mod that registers the container.
public void registerItemsAndBlocks()
IForestryModuleIForestryModule.preInit().
Must be called by the mod that registers the container.
public IPacketRegistry getPacketRegistry()
getPacketRegistry in class BlankForestryModulepublic void preInit()
IForestryModulepublic void addLootPoolNames(java.util.Set<java.lang.String> lootPoolNames)
public void registerTriggers()
IForestryModulepublic void doInit()
public void registerRecipes()
IForestryModuleIForestryModule.doInit().public static void loadMachineConfig(LocalizedConfiguration config)
public static boolean machineEnabled(java.lang.String machineName)