Uses of Interface
net.minecraft.world.explosion.Explosion
Packages that use Explosion
Package
Description
-
Uses of Explosion in net.minecraft.block
Methods in net.minecraft.block with parameters of type ExplosionModifier and TypeMethodDescriptionvoidBlock.onDestroyedByExplosion(ServerWorld world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidTntBlock.onDestroyedByExplosion(ServerWorld world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidAbstractBlock.AbstractBlockState.onExploded(ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidAbstractBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidAbstractCandleBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidBeehiveBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidBellBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidButtonBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidCreakingHeartBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidDoorBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidFenceGateBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidLeverBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected voidTrapdoorBlock.onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) booleanBlock.shouldDropItemsOnExplosion(Explosion explosion) Returns whether an explosion can drop the block as an item.booleanTntBlock.shouldDropItemsOnExplosion(Explosion explosion) Returns whether an explosion can drop the block as an item. -
Uses of Explosion in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type ExplosionModifier and TypeMethodDescriptionbooleanEntity.canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosionfrom this entity can destroystate.floatEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockStatefor an explosion caused by this entity.booleanEntity.isImmuneToExplosion(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage.booleanItemEntity.isImmuneToExplosion(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage. -
Uses of Explosion in net.minecraft.entity.damage
Methods in net.minecraft.entity.damage with parameters of type ExplosionModifier and TypeMethodDescription -
Uses of Explosion in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type ExplosionModifier and TypeMethodDescriptionbooleanArmorStandEntity.isImmuneToExplosion(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage.booleanBlockAttachedEntity.isImmuneToExplosion(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage. -
Uses of Explosion in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type ExplosionModifier and TypeMethodDescriptionbooleanWardenEntity.isImmuneToExplosion(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage. -
Uses of Explosion in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type ExplosionModifier and TypeMethodDescriptionfloatWitherSkullEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockStatefor an explosion caused by this entity. -
Uses of Explosion in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type ExplosionModifier and TypeMethodDescriptionbooleanTntMinecartEntity.canExplosionDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float explosionPower) Returns whetherexplosionfrom this entity can destroystate.floatTntMinecartEntity.getEffectiveExplosionResistance(Explosion explosion, BlockView world, BlockPos pos, BlockState blockState, FluidState fluidState, float max) Returns the blast resistance ofblockStatefor an explosion caused by this entity.booleanVehicleEntity.isImmuneToExplosion(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage. -
Uses of Explosion in net.minecraft.world.explosion
Classes in net.minecraft.world.explosion that implement ExplosionMethods in net.minecraft.world.explosion with parameters of type ExplosionModifier and TypeMethodDescriptionfloatExplosionBehavior.calculateDamage(Explosion explosion, Entity entity, float amount) booleanAdvancedExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) booleanEntityExplosionBehavior.canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) booleanExplosionBehavior.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) booleanAdvancedExplosionBehavior.shouldDamage(Explosion explosion, Entity entity) booleanExplosionBehavior.shouldDamage(Explosion explosion, Entity entity)