public final class Hive
extends java.lang.Object
| Constructor and Description |
|---|
Hive(IHiveDescription hiveDescription) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDrops(java.util.List<IHiveDrop> drops) |
boolean |
canReplace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
float |
genChance() |
java.util.List<IHiveDrop> |
getDrops() |
net.minecraft.block.state.IBlockState |
getHiveBlockState() |
net.minecraft.util.math.BlockPos |
getPosForHive(net.minecraft.world.World world,
int x,
int z) |
boolean |
isGoodBiome(net.minecraft.world.biome.Biome biome) |
boolean |
isGoodHumidity(EnumHumidity humidity) |
boolean |
isGoodTemperature(EnumTemperature temperature) |
boolean |
isValidLocation(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
void |
postGen(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos) |
java.lang.String |
toString() |
public Hive(IHiveDescription hiveDescription)
public net.minecraft.block.state.IBlockState getHiveBlockState()
public void addDrops(java.util.List<IHiveDrop> drops)
public java.util.List<IHiveDrop> getDrops()
public float genChance()
public void postGen(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos)
public boolean isGoodBiome(net.minecraft.world.biome.Biome biome)
public boolean isGoodHumidity(EnumHumidity humidity)
public boolean isGoodTemperature(EnumTemperature temperature)
public boolean isValidLocation(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
public boolean canReplace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
@Nullable
public net.minecraft.util.math.BlockPos getPosForHive(net.minecraft.world.World world,
int x,
int z)
public java.lang.String toString()
toString in class java.lang.Object