public static class TumblestoneBlockEvent.PreGrow extends TumblestoneBlockEvent
TumblestoneBlockEvent.PostBlockBroke, TumblestoneBlockEvent.PostBlockDestroy, TumblestoneBlockEvent.PostCooldownEnd, TumblestoneBlockEvent.PostGrow, TumblestoneBlockEvent.PreBlockBroke, TumblestoneBlockEvent.PreBlockDestroy, TumblestoneBlockEvent.PreCooldownEnd, TumblestoneBlockEvent.PreGrow
Constructor and Description |
---|
PreGrow(net.minecraft.world.World level,
net.minecraft.block.BlockState state,
net.minecraft.util.math.BlockPos pos,
float chance)
Basic constructor
|
Modifier and Type | Method and Description |
---|---|
float |
getChance()
The change of the growth happening this random tick
|
void |
setChance(float chance)
Change the chance of the growth happening this tick
|
getPos, getState, getWorld