public static class TumblestoneBlockEvent.PreCooldownEnd extends TumblestoneBlockEvent
TumblestoneBlockEvent.PostBlockBroke, TumblestoneBlockEvent.PostBlockDestroy, TumblestoneBlockEvent.PostCooldownEnd, TumblestoneBlockEvent.PostGrow, TumblestoneBlockEvent.PreBlockBroke, TumblestoneBlockEvent.PreBlockDestroy, TumblestoneBlockEvent.PreCooldownEnd, TumblestoneBlockEvent.PreGrow
Constructor and Description |
---|
PreCooldownEnd(net.minecraft.world.World level,
net.minecraft.block.BlockState state,
net.minecraft.util.math.BlockPos pos,
float chance) |
Modifier and Type | Method and Description |
---|---|
float |
getChance()
Chance of it returning to the base state
|
void |
setChance(float chance)
Updates the chance to a new value
|
getPos, getState, getWorld