Uses of Interface
net.minecraft.world.explosion.Explosion
Package
Description
-
Uses of Explosion in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
Block.onDestroyedByExplosion
(ServerWorld world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
TntBlock.onDestroyedByExplosion
(ServerWorld world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
AbstractBlock.AbstractBlockState.onExploded
(ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractCandleBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
BeehiveBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
BellBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
ButtonBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
DoorBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
FenceGateBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
LeverBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
TrapdoorBlock.onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) boolean
Block.shouldDropItemsOnExplosion
(Explosion explosion) Returns whether an explosion can drop the block as an item.boolean
TntBlock.shouldDropItemsOnExplosion
(Explosion explosion) Returns whether an explosion can drop the block as an item. -
Uses of Explosion in net.minecraft.entity
Modifier and TypeMethodDescriptionboolean
Entity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosion
from this entity can destroystate
.float
Entity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity.boolean
Entity.isImmuneToExplosion
(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage.boolean
ItemEntity.isImmuneToExplosion
(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage. -
Uses of Explosion in net.minecraft.entity.damage
Modifier and TypeMethodDescription -
Uses of Explosion in net.minecraft.entity.decoration
Modifier and TypeMethodDescriptionboolean
ArmorStandEntity.isImmuneToExplosion
(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage.boolean
BlockAttachedEntity.isImmuneToExplosion
(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage. -
Uses of Explosion in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionboolean
WardenEntity.isImmuneToExplosion
(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage. -
Uses of Explosion in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionfloat
WitherSkullEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity. -
Uses of Explosion in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionboolean
TntMinecartEntity.canExplosionDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosion
from this entity can destroystate
.float
TntMinecartEntity.getEffectiveExplosionResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockState
for an explosion caused by this entity.boolean
VehicleEntity.isImmuneToExplosion
(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage. -
Uses of Explosion in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionfloat
ExplosionBehavior.calculateDamage
(Explosion explosion, Entity entity, float amount) boolean
AdvancedExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
EntityExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) boolean
ExplosionBehavior.canDestroyBlock
(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) AdvancedExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) EntityExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) ExplosionBehavior.getBlastResistance
(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState) boolean
AdvancedExplosionBehavior.shouldDamage
(Explosion explosion, Entity entity) boolean
ExplosionBehavior.shouldDamage
(Explosion explosion, Entity entity)