Uses of Class
net.minecraft.world.level.Explosion
Packages that use Explosion
Package
Description
-
Uses of Explosion in net.minecraft.server.level
Methods in net.minecraft.server.level that return ExplosionModifier and TypeMethodDescriptionServerLevel.explode
(Entity pSource, DamageSource pDamageSource, ExplosionDamageCalculator pDamageCalculator, double pX, double pY, double pZ, float pRadius, boolean pFire, Level.ExplosionInteraction pExplosionInteraction, ParticleOptions pSmallExplosionParticles, ParticleOptions pLargeExplosionParticles, Holder<SoundEvent> pExplosionSound) -
Uses of Explosion in net.minecraft.world.damagesource
Methods in net.minecraft.world.damagesource with parameters of type Explosion -
Uses of Explosion in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type ExplosionModifier and TypeMethodDescriptionfloat
Entity.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityboolean
Entity.ignoreExplosion
(Explosion pExplosion) boolean
Entity.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) -
Uses of Explosion in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration with parameters of type Explosion -
Uses of Explosion in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type Explosion -
Uses of Explosion in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type ExplosionModifier and TypeMethodDescriptionfloat
WitherSkull.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entity -
Uses of Explosion in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type ExplosionModifier and TypeMethodDescriptionfloat
MinecartTNT.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entityboolean
MinecartTNT.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) -
Uses of Explosion in net.minecraft.world.level
Methods in net.minecraft.world.level that return ExplosionModifier and TypeMethodDescriptionLevel.explode
(Entity pSource, double pX, double pY, double pZ, float pRadius, boolean pFire, Level.ExplosionInteraction pExplosionInteraction) Level.explode
(Entity pSource, double pX, double pY, double pZ, float pRadius, Level.ExplosionInteraction pExplosionInteraction) Level.explode
(Entity pSource, DamageSource pDamageSource, ExplosionDamageCalculator pDamageCalculator, double pX, double pY, double pZ, float pRadius, boolean pFire, Level.ExplosionInteraction pExplosionInteraction) Level.explode
(Entity pSource, DamageSource pDamageSource, ExplosionDamageCalculator pDamageCalculator, double pX, double pY, double pZ, float pRadius, boolean pFire, Level.ExplosionInteraction pExplosionInteraction, boolean pSpawnParticles, ParticleOptions pSmallExplosionParticles, ParticleOptions pLargeExplosionParticles, Holder<SoundEvent> pExplosionSound) Level.explode
(Entity pSource, DamageSource pDamageSource, ExplosionDamageCalculator pDamageCalculator, double pX, double pY, double pZ, float pRadius, boolean pFire, Level.ExplosionInteraction pExplosionInteraction, ParticleOptions pSmallExplosionParticles, ParticleOptions pLargeExplosionParticles, Holder<SoundEvent> pExplosionSound) Level.explode
(Entity pSource, DamageSource pDamageSource, ExplosionDamageCalculator pDamageCalculator, Vec3 pPos, float pRadius, boolean pFire, Level.ExplosionInteraction pExplosionInteraction) Methods in net.minecraft.world.level with parameters of type ExplosionModifier and TypeMethodDescriptionEntityBasedExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) ExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) SimpleExplosionDamageCalculator.getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, FluidState pFluid) float
ExplosionDamageCalculator.getEntityDamageAmount
(Explosion pExplosion, Entity pEntity) boolean
EntityBasedExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) boolean
ExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) boolean
SimpleExplosionDamageCalculator.shouldBlockExplode
(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) boolean
ExplosionDamageCalculator.shouldDamageEntity
(Explosion pExplosion, Entity pEntity) boolean
SimpleExplosionDamageCalculator.shouldDamageEntity
(Explosion pExplosion, Entity pEntity) -
Uses of Explosion in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type ExplosionModifier and TypeMethodDescriptionboolean
Block.dropFromExplosion
(Explosion pExplosion) Deprecated.boolean
TntBlock.dropFromExplosion
(Explosion pExplosion) protected void
AbstractCandleBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BellBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
ButtonBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
DoorBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
FenceGateBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
LeverBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
TrapDoorBlock.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) void
Block.wasExploded
(Level pLevel, BlockPos pPos, Explosion pExplosion) Called when this Block is destroyed by an Explosionvoid
TntBlock.wasExploded
(Level pLevel, BlockPos pPos, Explosion pExplosion) Called when this Block is destroyed by an Explosion -
Uses of Explosion in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type ExplosionModifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.onExplosionHit
(Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BlockBehaviour.onExplosionHit
(BlockState pState, Level pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) -
Uses of Explosion in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type ExplosionModifier 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
Methods in net.neoforged.neoforge.event with parameters of type ExplosionModifier 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
Fields in net.neoforged.neoforge.event.level declared as ExplosionMethods in net.neoforged.neoforge.event.level that return ExplosionConstructors in net.neoforged.neoforge.event.level with parameters of type Explosion