Uses of Class
net.minecraft.world.level.Explosion
Package
Description
-
Uses of Explosion in net.minecraft.server.level
Modifier and TypeMethodDescriptionServerLevel.explode
(Entity p_256039_, DamageSource p_255778_, ExplosionDamageCalculator p_256002_, double p_256067_, double p_256370_, double p_256153_, float p_256045_, boolean p_255686_, Level.ExplosionInteraction p_255827_) -
Uses of Explosion in net.minecraft.world.damagesource
-
Uses of Explosion in net.minecraft.world.entity
Modifier and TypeMethodDescriptionfloat
Entity.getBlockExplosionResistance
(Explosion p_19992_, BlockGetter p_19993_, BlockPos p_19994_, BlockState p_19995_, FluidState p_19996_, float p_19997_) boolean
Entity.shouldBlockExplode
(Explosion p_19987_, BlockGetter p_19988_, BlockPos p_19989_, BlockState p_19990_, float p_19991_) -
Uses of Explosion in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionfloat
WitherSkull.getBlockExplosionResistance
(Explosion p_37619_, BlockGetter p_37620_, BlockPos p_37621_, BlockState p_37622_, FluidState p_37623_, float p_37624_) -
Uses of Explosion in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionfloat
MinecartTNT.getBlockExplosionResistance
(Explosion p_38675_, BlockGetter p_38676_, BlockPos p_38677_, BlockState p_38678_, FluidState p_38679_, float p_38680_) boolean
MinecartTNT.shouldBlockExplode
(Explosion p_38669_, BlockGetter p_38670_, BlockPos p_38671_, BlockState p_38672_, float p_38673_) -
Uses of Explosion in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevel.explode
(Entity p_255682_, double p_255803_, double p_256403_, double p_256538_, float p_255674_, boolean p_256634_, Level.ExplosionInteraction p_256111_) Level.explode
(Entity p_256599_, double p_255914_, double p_255684_, double p_255843_, float p_256310_, Level.ExplosionInteraction p_256178_) Level.explode
(Entity p_256145_, DamageSource p_256004_, ExplosionDamageCalculator p_255696_, double p_256208_, double p_256036_, double p_255746_, float p_256647_, boolean p_256098_, Level.ExplosionInteraction p_256104_) Level.explode
(Entity p_256233_, DamageSource p_255861_, ExplosionDamageCalculator p_255867_, double p_256447_, double p_255732_, double p_255717_, float p_256013_, boolean p_256228_, Level.ExplosionInteraction p_255784_, boolean p_256377_) Level.explode
(Entity p_255653_, DamageSource p_256558_, ExplosionDamageCalculator p_255929_, Vec3 p_256001_, float p_255963_, boolean p_256099_, Level.ExplosionInteraction p_256371_) Modifier and TypeMethodDescriptionEntityBasedExplosionDamageCalculator.getBlockExplosionResistance
(Explosion p_45902_, BlockGetter p_45903_, BlockPos p_45904_, BlockState p_45905_, FluidState p_45906_) ExplosionDamageCalculator.getBlockExplosionResistance
(Explosion p_46099_, BlockGetter p_46100_, BlockPos p_46101_, BlockState p_46102_, FluidState p_46103_) boolean
EntityBasedExplosionDamageCalculator.shouldBlockExplode
(Explosion p_45896_, BlockGetter p_45897_, BlockPos p_45898_, BlockState p_45899_, float p_45900_) boolean
ExplosionDamageCalculator.shouldBlockExplode
(Explosion p_46094_, BlockGetter p_46095_, BlockPos p_46096_, BlockState p_46097_, float p_46098_) -
Uses of Explosion in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionboolean
Block.dropFromExplosion
(Explosion p_49826_) Deprecated.boolean
TntBlock.dropFromExplosion
(Explosion p_57427_) void
Block.wasExploded
(Level p_49844_, BlockPos p_49845_, Explosion p_49846_) void
StairBlock.wasExploded
(Level p_56878_, BlockPos p_56879_, Explosion p_56880_) void
TntBlock.wasExploded
(Level p_57441_, BlockPos p_57442_, Explosion p_57443_) -
Uses of Explosion in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IBlockExtension.canDropFromExplosion
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default boolean
IBlockStateExtension.canDropFromExplosion
(BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default float
IBlockExtension.getExplosionResistance
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault float
IBlockStateExtension.getExplosionResistance
(BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault float
IFluidExtension.getExplosionResistance
(FluidState state, BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default float
IFluidStateExtension.getExplosionResistance
(BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default void
IBlockExtension.onBlockExploded
(BlockState state, Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IBlockStateExtension.onBlockExploded
(Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion. -
Uses of Explosion in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionstatic void
EventHooks.onExplosionDetonate
(Level level, Explosion explosion, List<Entity> list, double diameter) static boolean
EventHooks.onExplosionStart
(Level level, Explosion explosion) -
Uses of Explosion in net.neoforged.neoforge.event.level