public class ExplosionBehavior extends Object
Constructor and Description |
---|
ExplosionBehavior() |
Modifier and Type | Method and Description |
---|---|
boolean |
canDestroyBlock(Explosion explosion,
BlockView world,
BlockPos pos,
BlockState state,
float power) |
Optional<Float> |
getBlastResistance(Explosion explosion,
BlockView world,
BlockPos pos,
BlockState blockState,
FluidState fluidState) |
public Optional<Float> getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
public boolean canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)