public class ModuleLepidopterology extends BlankForestryModule
| Modifier and Type | Field and Description |
|---|---|
static int |
entityConstraint |
static int |
maxDistance |
static int |
maxLifespan |
static ProxyLepidopterology |
proxy |
static int |
spawnConstraint |
static java.util.Map<java.lang.String,java.lang.Float> |
spawnRaritys |
| Constructor and Description |
|---|
ModuleLepidopterology() |
| Modifier and Type | Method and Description |
|---|---|
void |
doInit() |
static BlockRegistryLepidopterology |
getBlocks() |
java.util.Set<net.minecraft.util.ResourceLocation> |
getDependencyUids()
The ForestryModule.moduleID()s of any other modules this module depends on.
|
static float |
getGenerateCocoonsAmount() |
void |
getHiddenItems(java.util.List<net.minecraft.item.ItemStack> hiddenItems)
Can be used to hide items in JEI.
|
static ItemRegistryLepidopterology |
getItems() |
static float |
getSecondSerumChance() |
static float |
getSerumChance() |
static boolean |
isGenerateCocoons() |
static boolean |
isPollinationAllowed() |
static boolean |
isSpawnButterflysFromLeaves() |
void |
onEntityTravelToDimension(net.minecraftforge.event.entity.EntityTravelToDimensionEvent event) |
void |
onModelBake(net.minecraftforge.client.event.ModelBakeEvent event) |
void |
populateChunk(net.minecraft.world.gen.IChunkGenerator chunkGenerator,
net.minecraft.world.World world,
java.util.Random rand,
int chunkX,
int chunkZ,
boolean hasVillageGenerated) |
void |
populateChunkRetroGen(net.minecraft.world.World world,
java.util.Random rand,
int chunkX,
int chunkZ) |
void |
postInit() |
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 |
setupAPI()
Can be used to setup the api.
|
decorateBiome, getPacketRegistry, getPickupHandler, getResupplyHandler, getSaveEventHandler, processIMCMessage, registerBackpackItems, registerCrates, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLootPoolNames, canBeDisabled, disabledSetupAPI, getConsoleCommands, getFailMessage, isAvailable, registerTriggerspublic static ProxyLepidopterology proxy
public static int spawnConstraint
public static int entityConstraint
public static int maxDistance
public static int maxLifespan
public static final java.util.Map<java.lang.String,java.lang.Float> spawnRaritys
public static ItemRegistryLepidopterology getItems()
public static BlockRegistryLepidopterology getBlocks()
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 java.util.Set<net.minecraft.util.ResourceLocation> getDependencyUids()
BlankForestryModulegetDependencyUids in interface IForestryModulegetDependencyUids in class BlankForestryModulepublic void doInit()
public void postInit()
public void populateChunk(net.minecraft.world.gen.IChunkGenerator chunkGenerator,
net.minecraft.world.World world,
java.util.Random rand,
int chunkX,
int chunkZ,
boolean hasVillageGenerated)
populateChunk in class BlankForestryModulepublic void populateChunkRetroGen(net.minecraft.world.World world,
java.util.Random rand,
int chunkX,
int chunkZ)
populateChunkRetroGen in class BlankForestryModulepublic void registerRecipes()
IForestryModuleIForestryModule.doInit().public void getHiddenItems(java.util.List<net.minecraft.item.ItemStack> hiddenItems)
BlankForestryModulegetHiddenItems in class BlankForestryModulepublic static boolean isPollinationAllowed()
public static boolean isSpawnButterflysFromLeaves()
public static boolean isGenerateCocoons()
public static float getGenerateCocoonsAmount()
public static float getSerumChance()
public static float getSecondSerumChance()
public void onEntityTravelToDimension(net.minecraftforge.event.entity.EntityTravelToDimensionEvent event)
public void onModelBake(net.minecraftforge.client.event.ModelBakeEvent event)