public static class TumblestoneBlockEvent.PostCooldownEnd extends TumblestoneBlockEvent
TumblestoneBlockEvent.PostBlockBroke, TumblestoneBlockEvent.PostBlockDestroy, TumblestoneBlockEvent.PostCooldownEnd, TumblestoneBlockEvent.PostGrow, TumblestoneBlockEvent.PreBlockBroke, TumblestoneBlockEvent.PreBlockDestroy, TumblestoneBlockEvent.PreCooldownEnd, TumblestoneBlockEvent.PreGrow| Constructor and Description |
|---|
PostCooldownEnd(net.minecraft.world.World level,
net.minecraft.block.BlockState state,
net.minecraft.util.math.BlockPos pos,
boolean success,
float chance) |
| Modifier and Type | Method and Description |
|---|---|
float |
getChance()
Chance of it returning to the base state
|
boolean |
wasSuccessful()
If the block successfully returned to the "base" state or not
|
getPos, getState, getWorldpublic PostCooldownEnd(net.minecraft.world.World level,
net.minecraft.block.BlockState state,
net.minecraft.util.math.BlockPos pos,
boolean success,
float chance)
public float getChance()
public boolean wasSuccessful()