net.minecraft.world.level

public class Explosion

dco
net.minecraft.world.level.Explosion
net.minecraft.class_1927
net.minecraft.world.explosion.Explosion
net.minecraft.src.C_1578_
net.minecraft.world.level.Explosion

Field summary

Modifier and TypeField
private static final ExplosionDamageCalculator
a
EXPLOSION_DAMAGE_CALCULATOR
field_25818
DEFAULT_BEHAVIOR
f_46008_
private static final int
b
MAX_DROPS_PER_COMBINED_STACK
field_30960
field_30960
f_151469_
private final boolean
c
fire
field_9186
createFire
f_46009_
private final Explosion$BlockInteraction
d
blockInteraction
field_9184
destructionType
f_46010_
private final RandomSource
e
random
field_9191
random
f_46011_
private final Level
f
level
field_9187
world
f_46012_
private final double
g
x
field_9195
x
f_46013_
private final double
h
y
field_9192
y
f_46014_
private final double
i
z
field_9189
z
f_46015_
private final Entity
j
source
field_9185
entity
f_46016_
private final float
k
radius
field_9190
power
f_46017_
private final DamageSource
l
damageSource
field_9193
damageSource
f_46018_
private final ExplosionDamageCalculator
m
damageCalculator
field_25400
behavior
f_46019_
private final ParticleOptions
n
smallExplosionParticles
field_47328
particle
f_303246_
private final ParticleOptions
o
largeExplosionParticles
field_47329
emitterParticle
f_302779_
private final Holder<SoundEvent>
p
explosionSound
field_47330
soundEvent
f_302233_
private final it.unimi.dsi.fastutil.objects.ObjectArrayList<BlockPos>
q
toBlow
field_9188
affectedBlocks
f_46020_
private final Map<Player, Vec3>
r
hitPlayers
field_9194
affectedPlayers
f_46021_

Constructor summary

ModifierConstructor
public (Level world, Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks, Explosion$BlockInteraction destructionType, ParticleOptions particle, ParticleOptions emitterParticle, Holder<SoundEvent> soundEvent)
public (Level world, Entity entity, double x, double y, double z, float power, boolean createFire, Explosion$BlockInteraction destructionType, List<BlockPos> affectedBlocks)
public (Level world, Entity entity, double x, double y, double z, float power, boolean createFire, Explosion$BlockInteraction destructionType)
public (Level world, Entity entity, DamageSource damageSource, ExplosionDamageCalculator behavior, double x, double y, double z, float power, boolean createFire, Explosion$BlockInteraction destructionType, ParticleOptions particle, ParticleOptions emitterParticle, Holder<SoundEvent> soundEvent)

Method summary

Modifier and TypeMethod
public static DamageSource
a(dcw arg0, bsr arg1)
getDefaultDamageSource(Level arg0, Entity arg1)
method_55108(class_1937 arg0, class_1297 arg1)
createDamageSource(World world, Entity source)
m_308019_(C_1596_ p_309890_, C_507_ p_311046_)
private ExplosionDamageCalculator
a(bsr arg0)
makeDamageCalculator(Entity arg0)
method_29553(class_1297 arg0)
chooseBehavior(Entity entity)
m_46062_(C_507_ arg0)
public static float
a(exc arg0, bsr arg1)
getSeenPercent(Vec3 arg0, Entity arg1)
method_17752(class_243 arg0, class_1297 arg1)
getExposure(Vec3d source, Entity entity)
m_46064_(C_3046_ p_46065_, C_507_ p_46066_)
public float
a()
radius()
method_55107()
getPower()
m_305027_()
public Vec3
b()
center()
method_55109()
getPosition()
m_307721_()
public void
c()
explode()
method_8348()
collectBlocksAndDamageEntities()
m_46061_()
public void
a(boolean arg0)
finalizeExplosion(boolean arg0)
method_8350(boolean arg0)
affectWorld(boolean particles)
m_46075_(boolean arg0)
private static void
a(List<com.mojang.datafixers.util.Pair<cuq, jd>> arg0, cuq arg1, jd arg2)
addOrAppendStack(List<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> arg0, ItemStack arg1, BlockPos arg2)
method_24023(List<com.mojang.datafixers.util.Pair<class_1799, class_2338>> arg0, class_1799 arg1, class_2338 arg2)
tryMergeStack(List<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> stacks, ItemStack stack, BlockPos pos)
m_306516_(List<com.mojang.datafixers.util.Pair<C_1391_, C_4675_>> p_311090_, C_1391_ p_311817_, C_4675_ p_309821_)
public boolean
d()
interactsWithBlocks()
method_46667()
shouldDestroy()
m_254884_()
public Map<Player, Vec3>
e()
getHitPlayers()
method_8351()
getAffectedPlayers()
m_46078_()
private static LivingEntity
b(bsr arg0)
getIndirectSourceEntityInternal(Entity arg0)
method_55110(class_1297 arg0)
getCausingEntity(Entity from)
m_306928_(C_507_ p_309719_)
public LivingEntity
f()
getIndirectSourceEntity()
method_8347()
getCausingEntity()
m_252906_()
public Entity
g()
getDirectSourceEntity()
method_46406()
getEntity()
m_253049_()
public void
h()
clearToBlow()
method_8352()
clearAffectedBlocks()
m_46080_()
public List<BlockPos>
i()
getToBlow()
method_8346()
getAffectedBlocks()
m_46081_()
public Explosion$BlockInteraction
j()
getBlockInteraction()
method_55111()
getDestructionType()
m_307824_()
public ParticleOptions
k()
getSmallExplosionParticles()
method_55112()
getParticle()
m_307149_()
public ParticleOptions
l()
getLargeExplosionParticles()
method_55113()
getEmitterParticle()
m_307299_()
public Holder<SoundEvent>
m()
getExplosionSound()
method_55114()
getSoundEvent()
m_305033_()
public boolean
n()
canTriggerBlocks()
method_60274()
canTriggerBlocks()
m_338923_()