Uses of Class
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 TypeMethodDescriptionvoid
Block.onDestroyedByExplosion
(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
TntBlock.onDestroyedByExplosion
(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
AbstractBlock.AbstractBlockState.onExploded
(World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
AbstractBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) Deprecated.void
AbstractCandleBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
BellBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
ButtonBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
DoorBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
FenceGateBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
LeverBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) void
TrapdoorBlock.onExploded
(BlockState state, World 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
Methods in net.minecraft.entity with parameters of type ExplosionModifier 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. -
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 TypeMethodDescriptionboolean
ArmorStandEntity.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 TypeMethodDescriptionboolean
WardenEntity.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 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.boolean
WindChargeEntity.WindChargeExplosionBehavior.shouldDamage
(Explosion explosion, Entity entity) -
Uses of Explosion in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type ExplosionModifier 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. -
Uses of Explosion in net.minecraft.server.world
Methods in net.minecraft.server.world that return ExplosionModifier and TypeMethodDescriptionServerWorld.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect particle, ParticleEffect emitterParticle, SoundEvent soundEvent) Creates an explosion. -
Uses of Explosion in net.minecraft.world
Methods in net.minecraft.world that return ExplosionModifier and TypeMethodDescriptionWorld.createExplosion
(@Nullable Entity entity, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType) Creates an explosion.World.createExplosion
(@Nullable Entity entity, double x, double y, double z, float power, World.ExplosionSourceType explosionSourceType) Creates an explosion without creating fire.World.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType) World.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, boolean particles, ParticleEffect particle, ParticleEffect emitterParticle, SoundEvent soundEvent) World.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect particle, ParticleEffect emitterParticle, SoundEvent soundEvent) Creates an explosion.World.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, Vec3d pos, float power, boolean createFire, World.ExplosionSourceType explosionSourceType) Creates an explosion. -
Uses of Explosion in net.minecraft.world.explosion
Methods in net.minecraft.world.explosion with parameters of type ExplosionModifier and TypeMethodDescriptionfloat
ExplosionBehavior.calculateDamage
(Explosion explosion, Entity entity) 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) 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
ExplosionBehavior.shouldDamage
(Explosion explosion, Entity entity)