Uses of Interface
net.minecraft.world.level.Explosion
Packages that use Explosion
Package
Description
-
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 ExplosionModifier and TypeMethodDescriptionboolean
ArmorStand.ignoreExplosion
(Explosion pExplosion) boolean
BlockAttachedEntity.ignoreExplosion
(Explosion pExplosion) -
Uses of Explosion in net.minecraft.world.entity.item
Methods in net.minecraft.world.entity.item 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
VehicleEntity.ignoreExplosion
(Explosion pExplosion) boolean
MinecartTNT.shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) -
Uses of Explosion in net.minecraft.world.level
Classes in net.minecraft.world.level that implement ExplosionMethods 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, float pSeenPercent) 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, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BeehiveBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BellBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
ButtonBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
CreakingHeartBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
DoorBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
FenceGateBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
LeverBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
TrapDoorBlock.onExplosionHit
(BlockState pState, ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) void
Block.wasExploded
(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion) void
TntBlock.wasExploded
(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion) -
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
(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected void
BlockBehaviour.onExplosionHit
(BlockState pState, ServerLevel 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, ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default void
IBlockStateExtension.onBlockExploded
(ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.