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_310962_, ParticleOptions p_310322_, SoundEvent p_309795_) -
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_309517_) 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_) boolean
WindCharge.WindChargeExplosionDamageCalculator.shouldDamageEntity
(Explosion p_309489_, Entity p_312366_) -
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_312521_, DamageSource p_310678_, ExplosionDamageCalculator p_312887_, double p_309783_, double p_312776_, double p_310505_, float p_310209_, boolean p_309445_, Level.ExplosionInteraction p_310628_, boolean p_309655_, ParticleOptions p_311889_, ParticleOptions p_311434_, SoundEvent p_312016_) 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_312617_, ParticleOptions p_309714_, SoundEvent p_311749_) 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_) float
ExplosionDamageCalculator.getEntityDamageAmount
(Explosion p_310428_, Entity p_310135_) 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
ExplosionDamageCalculator.shouldDamageEntity
(Explosion p_312772_, Entity p_311132_) -
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
AbstractCandleBlock.onExplosionHit
(BlockState p_310999_, Level p_310314_, BlockPos p_311846_, Explosion p_310799_, BiConsumer<ItemStack, BlockPos> p_310677_) void
BellBlock.onExplosionHit
(BlockState p_311155_, Level p_310989_, BlockPos p_311109_, Explosion p_312563_, BiConsumer<ItemStack, BlockPos> p_311850_) void
ButtonBlock.onExplosionHit
(BlockState p_310762_, Level p_312485_, BlockPos p_312982_, Explosion p_311820_, BiConsumer<ItemStack, BlockPos> p_312672_) void
DoorBlock.onExplosionHit
(BlockState p_312768_, Level p_309457_, BlockPos p_309806_, Explosion p_309956_, BiConsumer<ItemStack, BlockPos> p_311447_) void
FenceGateBlock.onExplosionHit
(BlockState p_311339_, Level p_310915_, BlockPos p_311232_, Explosion p_312135_, BiConsumer<ItemStack, BlockPos> p_313242_) void
LeverBlock.onExplosionHit
(BlockState p_309641_, Level p_311735_, BlockPos p_310069_, Explosion p_312793_, BiConsumer<ItemStack, BlockPos> p_310075_) void
TrapDoorBlock.onExplosionHit
(BlockState p_312876_, Level p_312713_, BlockPos p_312697_, Explosion p_312889_, BiConsumer<ItemStack, BlockPos> p_312223_) 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_310086_, BlockPos p_311683_, Explosion p_310588_, BiConsumer<ItemStack, BlockPos> p_309567_) void
BlockBehaviour.onExplosionHit
(BlockState p_310712_, Level p_311693_, BlockPos p_311490_, Explosion p_312709_, BiConsumer<ItemStack, BlockPos> p_311277_) Deprecated. -
Uses of Explosion in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.canDropFromExplosion
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default boolean
IForgeBlockState.canDropFromExplosion
(BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default float
IForgeBlock.getExplosionResistance
(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault float
IForgeBlockState.getExplosionResistance
(BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault float
IForgeFluid.getExplosionResistance
(FluidState state, BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default float
IForgeFluidState.getExplosionResistance
(BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default void
IForgeBlock.onBlockExploded
(BlockState state, Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IForgeBlockState.onBlockExploded
(Level level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion. -
Uses of Explosion in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onExplosionDetonate
(Level level, Explosion explosion, List<Entity> list, double diameter) static boolean
ForgeEventFactory.onExplosionStart
(Level level, Explosion explosion) -
Uses of Explosion in net.minecraftforge.event.level