| Constructor and Description |
|---|
HiveDrop(double chance,
IBeeDefinition beeTemplate,
net.minecraft.item.ItemStack... bonus) |
| Modifier and Type | Method and Description |
|---|---|
IBee |
getBeeType(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
double |
getChance(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int fortune)
Chance to drop a bee or extra items.
|
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getExtraItems(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int fortune) |
double |
getIgnobleChance(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int fortune)
Chance for the princess to be ignoble.
|
HiveDrop |
setIgnobleShare(double share) |
public HiveDrop(double chance,
IBeeDefinition beeTemplate,
net.minecraft.item.ItemStack... bonus)
public HiveDrop setIgnobleShare(double share)
public IBee getBeeType(net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos)
getBeeType in interface IHiveDroppublic net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getExtraItems(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int fortune)
getExtraItems in interface IHiveDroppublic double getChance(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int fortune)
IHiveDroppublic double getIgnobleChance(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int fortune)
IHiveDropgetIgnobleChance in interface IHiveDropworld - Minecraft world this is called for.pos - Coordinates of the broken hive.