public class EntityExplosionBehavior extends ExplosionBehavior
Constructor and Description |
---|
EntityExplosionBehavior(Entity entity) |
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) |
private final Entity entity
public EntityExplosionBehavior(Entity entity)
public Optional<Float> getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
getBlastResistance
in class ExplosionBehavior
public boolean canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
canDestroyBlock
in class ExplosionBehavior