public interface IHiveDescription
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.state.IBlockState |
getBlockState()
The hive block to be placed in the world.
|
float |
getGenChance()
float representing the relative chance a hive will generate in a chunk.
|
IHiveGen |
getHiveGen()
The hive generator for this hive.
|
boolean |
isGoodBiome(net.minecraft.world.biome.Biome biome)
returns true if the hive can be generated in these conditions.
|
boolean |
isGoodHumidity(EnumHumidity humidity) |
boolean |
isGoodTemperature(EnumTemperature temperature) |
void |
postGen(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos)
Called after successful hive generation.
|
IHiveGen getHiveGen()
net.minecraft.block.state.IBlockState getBlockState()
boolean isGoodBiome(net.minecraft.world.biome.Biome biome)
boolean isGoodHumidity(EnumHumidity humidity)
boolean isGoodTemperature(EnumTemperature temperature)
float getGenChance()
void postGen(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos)