Uses of Class
net.minecraft.world.explosion.Explosion
Package
Description
-
Uses of Explosion in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
Block.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
Modifier and TypeMethodDescriptionboolean
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
-
Uses of Explosion in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionfloat
WitherSkullEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) -
Uses of Explosion in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionServerWorld.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) Creates an explosion. -
Uses of Explosion in net.minecraft.world
Modifier and TypeMethodDescriptionWorld.createExplosion
(@Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) Creates an explosion.World.createExplosion
(@Nullable Entity entity, double x, double y, double z, float power, Explosion.DestructionType destructionType) Creates an explosion without creating fire.World.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) Creates an explosion. -
Uses of Explosion in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionboolean
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) EntityExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState)