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 p_312813_) boolean
BlockAttachedEntity.ignoreExplosion
(Explosion p_360311_) -
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 p_368563_) 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 p_346109_, BlockGetter p_345381_, BlockPos p_344921_, BlockState p_346239_, FluidState p_345105_) 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 p_345994_, BlockGetter p_345042_, BlockPos p_345057_, BlockState p_345932_, float p_345776_) boolean
ExplosionDamageCalculator.shouldDamageEntity
(Explosion pExplosion, Entity pEntity) boolean
SimpleExplosionDamageCalculator.shouldDamageEntity
(Explosion p_346248_, Entity p_344983_) -
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 p_311992_, ServerLevel p_361872_, BlockPos p_312387_, Explosion p_312661_, BiConsumer<ItemStack, BlockPos> p_312093_) protected void
BeehiveBlock.onExplosionHit
(BlockState p_364770_, ServerLevel p_364089_, BlockPos p_363677_, Explosion p_365390_, BiConsumer<ItemStack, BlockPos> p_360830_) protected void
BellBlock.onExplosionHit
(BlockState p_311884_, ServerLevel p_362869_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) protected void
ButtonBlock.onExplosionHit
(BlockState p_312395_, ServerLevel p_364251_, BlockPos p_311817_, Explosion p_312150_, BiConsumer<ItemStack, BlockPos> p_311898_) protected void
CreakingHeartBlock.onExplosionHit
(BlockState p_382935_, ServerLevel p_382804_, BlockPos p_383050_, Explosion p_383064_, BiConsumer<ItemStack, BlockPos> p_383124_) protected void
DoorBlock.onExplosionHit
(BlockState p_312769_, ServerLevel p_363080_, BlockPos p_311900_, Explosion p_312544_, BiConsumer<ItemStack, BlockPos> p_312107_) protected void
FenceGateBlock.onExplosionHit
(BlockState p_312699_, ServerLevel p_361116_, BlockPos p_312680_, Explosion p_312186_, BiConsumer<ItemStack, BlockPos> p_312187_) protected void
LeverBlock.onExplosionHit
(BlockState p_312405_, ServerLevel p_361347_, BlockPos p_311795_, Explosion p_312090_, BiConsumer<ItemStack, BlockPos> p_312313_) protected void
TrapDoorBlock.onExplosionHit
(BlockState p_312371_, ServerLevel p_360483_, BlockPos p_312879_, Explosion p_312330_, BiConsumer<ItemStack, BlockPos> p_312161_) void
Block.wasExploded
(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion) void
TntBlock.wasExploded
(ServerLevel p_364953_, BlockPos p_57442_, Explosion p_57443_) -
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.