Uses of Class
net.minecraft.world.explosion.Explosion
-
Uses of Explosion in net.minecraft.block
Methods in net.minecraft.block with parameters of type Explosion Modifier and Type Method Description void
Block. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Called when this block is destroyed by an explosion.void
InfestedBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Called when this block is destroyed by an explosion.void
StairsBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Called when this block is destroyed by an explosion.void
TntBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Called when this block is destroyed by an explosion.boolean
Block. shouldDropItemsOnExplosion(Explosion explosion)
boolean
TntBlock. shouldDropItemsOnExplosion(Explosion explosion)
-
Uses of Explosion in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type Explosion Modifier and Type Method Description boolean
Entity. canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower)
float
Entity. getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max)
-
Uses of Explosion in net.minecraft.entity.damage
Methods in net.minecraft.entity.damage with parameters of type Explosion Modifier and Type Method Description static DamageSource
DamageSource. explosion(@Nullable Explosion explosion)
-
Uses of Explosion in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type Explosion Modifier and Type Method Description float
WitherSkullEntity. getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max)
-
Uses of Explosion in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type Explosion Modifier and Type Method Description boolean
TntMinecartEntity. canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower)
float
TntMinecartEntity. getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max)
-
Uses of Explosion in net.minecraft.server.world
Methods in net.minecraft.server.world that return Explosion Modifier and Type Method Description Explosion
ServerWorld. createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)
-
Uses of Explosion in net.minecraft.world
Methods in net.minecraft.world that return Explosion Modifier and Type Method Description Explosion
World. createExplosion(@Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)
Explosion
World. createExplosion(@Nullable Entity entity, double x, double y, double z, float power, Explosion.DestructionType destructionType)
Explosion
World. createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)
-
Uses of Explosion in net.minecraft.world.explosion
Methods in net.minecraft.world.explosion with parameters of type Explosion Modifier and Type Method Description boolean
EntityExplosionBehavior. canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
boolean
ExplosionBehavior. canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power)
Optional<Float>
EntityExplosionBehavior. getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)
Optional<Float>
ExplosionBehavior. getBlastResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)