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 TypeMethodDescriptionfloatEntity.getBlockExplosionResistance(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entitybooleanEntity.ignoreExplosion(Explosion pExplosion) booleanEntity.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 TypeMethodDescriptionbooleanArmorStand.ignoreExplosion(Explosion p_312813_) booleanBlockAttachedEntity.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 TypeMethodDescriptionfloatWitherSkull.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 TypeMethodDescriptionfloatMinecartTNT.getBlockExplosionResistance(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) Explosion resistance of a block relative to this entitybooleanVehicleEntity.ignoreExplosion(Explosion p_368563_) booleanMinecartTNT.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_) floatExplosionDamageCalculator.getEntityDamageAmount(Explosion pExplosion, Entity pEntity, float pSeenPercent) booleanEntityBasedExplosionDamageCalculator.shouldBlockExplode(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) booleanExplosionDamageCalculator.shouldBlockExplode(Explosion pExplosion, BlockGetter pReader, BlockPos pPos, BlockState pState, float pPower) booleanSimpleExplosionDamageCalculator.shouldBlockExplode(Explosion p_345994_, BlockGetter p_345042_, BlockPos p_345057_, BlockState p_345932_, float p_345776_) booleanExplosionDamageCalculator.shouldDamageEntity(Explosion pExplosion, Entity pEntity) booleanSimpleExplosionDamageCalculator.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 TypeMethodDescriptionbooleanBlock.dropFromExplosion(Explosion pExplosion) Deprecated.booleanTntBlock.dropFromExplosion(Explosion pExplosion) protected voidAbstractCandleBlock.onExplosionHit(BlockState p_311992_, ServerLevel p_361872_, BlockPos p_312387_, Explosion p_312661_, BiConsumer<ItemStack, BlockPos> p_312093_) protected voidBeehiveBlock.onExplosionHit(BlockState p_364770_, ServerLevel p_364089_, BlockPos p_363677_, Explosion p_365390_, BiConsumer<ItemStack, BlockPos> p_360830_) protected voidBellBlock.onExplosionHit(BlockState p_311884_, ServerLevel p_362869_, BlockPos p_312717_, Explosion p_312800_, BiConsumer<ItemStack, BlockPos> p_312339_) protected voidButtonBlock.onExplosionHit(BlockState p_312395_, ServerLevel p_364251_, BlockPos p_311817_, Explosion p_312150_, BiConsumer<ItemStack, BlockPos> p_311898_) protected voidCreakingHeartBlock.onExplosionHit(BlockState p_382935_, ServerLevel p_382804_, BlockPos p_383050_, Explosion p_383064_, BiConsumer<ItemStack, BlockPos> p_383124_) protected voidDoorBlock.onExplosionHit(BlockState p_312769_, ServerLevel p_363080_, BlockPos p_311900_, Explosion p_312544_, BiConsumer<ItemStack, BlockPos> p_312107_) protected voidFenceGateBlock.onExplosionHit(BlockState p_312699_, ServerLevel p_361116_, BlockPos p_312680_, Explosion p_312186_, BiConsumer<ItemStack, BlockPos> p_312187_) protected voidLeverBlock.onExplosionHit(BlockState p_312405_, ServerLevel p_361347_, BlockPos p_311795_, Explosion p_312090_, BiConsumer<ItemStack, BlockPos> p_312313_) protected voidTrapDoorBlock.onExplosionHit(BlockState p_312371_, ServerLevel p_360483_, BlockPos p_312879_, Explosion p_312330_, BiConsumer<ItemStack, BlockPos> p_312161_) voidBlock.wasExploded(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion) voidTntBlock.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 TypeMethodDescriptionvoidBlockBehaviour.BlockStateBase.onExplosionHit(ServerLevel pLevel, BlockPos pPos, Explosion pExplosion, BiConsumer<ItemStack, BlockPos> pDropConsumer) protected voidBlockBehaviour.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 booleanIBlockExtension.canDropFromExplosion(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default booleanIBlockStateExtension.canDropFromExplosion(BlockGetter level, BlockPos pos, Explosion explosion) Determines if this block should drop loot when exploded.default floatIBlockExtension.getExplosionResistance(BlockState state, BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault floatIBlockStateExtension.getExplosionResistance(BlockGetter level, BlockPos pos, Explosion explosion) Location sensitive version of getExplosionResistancedefault floatIFluidExtension.getExplosionResistance(FluidState state, BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default floatIFluidStateExtension.getExplosionResistance(BlockGetter level, BlockPos pos, Explosion explosion) Returns the explosion resistance of the fluid.default voidIBlockExtension.onBlockExploded(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.default voidIBlockStateExtension.onBlockExploded(ServerLevel level, BlockPos pos, Explosion explosion) Called when the block is destroyed by an explosion.