public interface IToolGrafter
| Modifier and Type | Method and Description |
|---|---|
float |
getSaplingModifier(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.math.BlockPos pos)
Called by leaves to determine the increase in sapling droprate.
|
float getSaplingModifier(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.math.BlockPos pos)
stack - ItemStack containing the grafter.world - Minecraft world the player and the target block inhabit.pos - Coordinate of the broken leaf block.