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_, ParticleOptions p_312436_, ParticleOptions p_312391_, Holder<SoundEvent> p_320497_) -
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.ignoreExplosion
(Explosion p_312868_) 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.decoration
-
Uses of Explosion in net.minecraft.world.entity.monster.warden
-
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_311934_, DamageSource p_312790_, ExplosionDamageCalculator p_311975_, double p_312493_, double p_312456_, double p_312719_, float p_312292_, boolean p_312144_, Level.ExplosionInteraction p_312265_, boolean p_312145_, ParticleOptions p_312842_, ParticleOptions p_312060_, Holder<SoundEvent> p_320283_) 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_, ParticleOptions p_311886_, ParticleOptions p_311887_, Holder<SoundEvent> p_320084_) 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_) SimpleExplosionDamageCalculator.getBlockExplosionResistance
(Explosion p_346109_, BlockGetter p_345381_, BlockPos p_344921_, BlockState p_346239_, FluidState p_345105_) float
ExplosionDamageCalculator.getEntityDamageAmount
(Explosion p_311793_, Entity p_311929_) 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_) boolean
SimpleExplosionDamageCalculator.shouldBlockExplode
(Explosion p_345994_, BlockGetter p_345042_, BlockPos p_345057_, BlockState p_345932_, float p_345776_) boolean
ExplosionDamageCalculator.shouldDamageEntity
(Explosion p_314652_, Entity p_314454_) boolean
SimpleExplosionDamageCalculator.shouldDamageEntity
(Explosion p_346248_, Entity p_344983_) -
Uses of Explosion in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionboolean
Block.dropFromExplosion
(Explosion p_49826_) Deprecated.boolean
TntBlock.dropFromExplosion
(Explosion p_57427_) protected void
AbstractCandleBlock.onExplosionHit
(BlockState p_311992_, Level p_312631_, BlockPos p_312387_, Explosion p_312661_, BiConsumer<ItemStack, BlockPos> p_312093_) protected void
BellBlock.onExplosionHit
(BlockState p_311884_, Level p_311798_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) protected void
ButtonBlock.onExplosionHit
(BlockState p_312395_, Level p_311915_, BlockPos p_311817_, Explosion p_312150_, BiConsumer<ItemStack, BlockPos> p_311898_) protected void
DoorBlock.onExplosionHit
(BlockState p_312769_, Level p_312778_, BlockPos p_311900_, Explosion p_312544_, BiConsumer<ItemStack, BlockPos> p_312107_) protected void
FenceGateBlock.onExplosionHit
(BlockState p_312699_, Level p_311813_, BlockPos p_312680_, Explosion p_312186_, BiConsumer<ItemStack, BlockPos> p_312187_) protected void
LeverBlock.onExplosionHit
(BlockState p_312405_, Level p_312603_, BlockPos p_311795_, Explosion p_312090_, BiConsumer<ItemStack, BlockPos> p_312313_) protected void
TrapDoorBlock.onExplosionHit
(BlockState p_312371_, Level p_312286_, BlockPos p_312879_, Explosion p_312330_, BiConsumer<ItemStack, BlockPos> p_312161_) void
Block.wasExploded
(Level p_49844_, BlockPos p_49845_, Explosion p_49846_) void
TntBlock.wasExploded
(Level p_57441_, BlockPos p_57442_, Explosion p_57443_) -
Uses of Explosion in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.onExplosionHit
(Level p_312839_, BlockPos p_311872_, Explosion p_312863_, BiConsumer<ItemStack, BlockPos> p_312559_) protected void
BlockBehaviour.onExplosionHit
(BlockState p_311951_, Level p_312820_, BlockPos p_312489_, Explosion p_312925_, BiConsumer<ItemStack, BlockPos> p_312073_) -
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 Vec3
EventHooks.getExplosionKnockback
(Level level, Explosion explosion, Entity entity, Vec3 initialVelocity) To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast.static 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