public class ModuleCrates extends BlankForestryModule
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.Multimap<net.minecraft.item.Item,net.minecraft.item.ItemStack> |
cratesRejectedItem |
static java.util.List<java.lang.String> |
cratesRejectedOreDict |
static ProxyCrates |
proxy |
| Constructor and Description |
|---|
ModuleCrates() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createCrateRecipes() |
java.util.Set<net.minecraft.util.ResourceLocation> |
getDependencyUids()
The ForestryModule.moduleID()s of any other modules this module depends on.
|
static ItemRegistryCrates |
getItems() |
void |
preInit()
Must be called by the mod that registers the container.
|
boolean |
processIMCMessage(net.minecraftforge.fml.common.event.FMLInterModComms.IMCMessage message) |
static void |
registerCrate(ItemCrated crate) |
void |
registerItemsAndBlocks()
Can be used to register items and blocks.
|
void |
registerRecipes()
Can be used to register recipes.
|
void |
setupAPI()
Can be used to setup the api.
|
decorateBiome, getHiddenItems, getPacketRegistry, getPickupHandler, getResupplyHandler, getSaveEventHandler, populateChunk, populateChunkRetroGen, registerBackpackItems, registerCrates, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLootPoolNames, canBeDisabled, disabledSetupAPI, doInit, getConsoleCommands, getFailMessage, isAvailable, postInit, registerTriggerspublic static final java.util.List<java.lang.String> cratesRejectedOreDict
public static com.google.common.collect.Multimap<net.minecraft.item.Item,net.minecraft.item.ItemStack> cratesRejectedItem
public static ProxyCrates proxy
public static ItemRegistryCrates getItems()
public void setupAPI()
IForestryModuleIForestryModule.disabledSetupAPI() will be called.
Must 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 void preInit()
IForestryModulepublic boolean processIMCMessage(net.minecraftforge.fml.common.event.FMLInterModComms.IMCMessage message)
processIMCMessage in class BlankForestryModulepublic java.util.Set<net.minecraft.util.ResourceLocation> getDependencyUids()
BlankForestryModulegetDependencyUids in interface IForestryModulegetDependencyUids in class BlankForestryModulepublic void registerRecipes()
IForestryModuleIForestryModule.doInit().public static void registerCrate(ItemCrated crate)
public static void createCrateRecipes()