net.minecraft.world.level

public class Explosion

dco
net.minecraft.world.level.Explosion
net.minecraft.class_1927
net.minecraft.unmapped.C_aahhrzpf
net.minecraft.world.explosion.Explosion
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
f_wbrlvlio
DEFAULT_BEHAVIOR
DEFAULT_BEHAVIOR
f_46008_
private static final int
b
MAX_DROPS_PER_COMBINED_STACK
field_30960
f_fosirbrn
field_30960
MAX_DROPS_PER_COMBINED_STACK
f_151469_
private final boolean
c
fire
field_9186
f_fyfuqznk
createFire
createFire
f_46009_
private final Explosion$BlockInteraction
d
blockInteraction
field_9184
f_zcwavomt
destructionType
destructionType
f_46010_
private final RandomSource
e
random
field_9191
f_ldasayda
random
random
f_46011_
private final Level
f
level
field_9187
f_nfdacxse
world
world
f_46012_
private final double
g
x
field_9195
f_niwlmbad
x
x
f_46013_
private final double
h
y
field_9192
f_worknpnn
y
y
f_46014_
private final double
i
z
field_9189
f_kwyrvmzu
z
z
f_46015_
private final Entity
j
source
field_9185
f_yrknfzdd
entity
entity
f_46016_
private final float
k
radius
field_9190
f_xsxdhlzb
power
power
f_46017_
private final DamageSource
l
damageSource
field_9193
f_tjovbypl
damageSource
damageSource
f_46018_
private final ExplosionDamageCalculator
m
damageCalculator
field_25400
f_zzlasfdu
behavior
behavior
f_46019_
private final ParticleOptions
n
smallExplosionParticles
field_47328
f_xbigvyvm
particle
smallParticles
f_303246_
private final ParticleOptions
o
largeExplosionParticles
field_47329
f_myjykbjv
emitterParticle
largeParticles
f_302779_
private final Holder<SoundEvent>
p
explosionSound
field_47330
f_ojtzdxze
soundEvent
sound
f_302233_
private final it.unimi.dsi.fastutil.objects.ObjectArrayList<BlockPos>
q
toBlow
field_9188
f_btbvmope
affectedBlocks
affectedBlocks
f_46020_
private final Map<Player, Vec3>
r
hitPlayers
field_9194
f_flkxxpot
affectedPlayers
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)
m_mxankppo(C_cdctfzbn arg0, C_astfners arg1)
createDamageSource(World world, Entity source)
createDamageSource(World world, Entity entity)
m_308019_(C_1596_ p_309890_, C_507_ p_311046_)
private ExplosionDamageCalculator
a(bsr arg0)
makeDamageCalculator(Entity arg0)
method_29553(class_1297 arg0)
m_btdrawgr(C_astfners arg0)
chooseBehavior(Entity entity)
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)
m_hyeznwfn(C_vgpupfxx arg0, C_astfners arg1)
getExposure(Vec3d source, Entity entity)
getExposure(Vec3d source, Entity entity)
m_46064_(C_3046_ p_46065_, C_507_ p_46066_)
public float
a()
radius()
method_55107()
m_nbqwldyc()
getPower()
getPower()
m_305027_()
public Vec3
b()
center()
method_55109()
m_jgqsaodd()
getPosition()
getPosition()
m_307721_()
public void
c()
explode()
method_8348()
m_oivdgoim()
collectBlocksAndDamageEntities()
collectBlocksAndDamageEntities()
m_46061_()
public void
a(boolean arg0)
finalizeExplosion(boolean arg0)
method_8350(boolean arg0)
m_yxczltpy(boolean arg0)
affectWorld(boolean particles)
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)
m_vcpjnikm(List<com.mojang.datafixers.util.Pair<C_sddaxwyk, C_hynzadkk>> arg0, C_sddaxwyk arg1, C_hynzadkk arg2)
tryMergeStack(List<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> stacks, ItemStack stack, BlockPos pos)
mergeOrAddStack(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()
m_tcdjmset()
shouldDestroy()
isDestructive()
m_254884_()
public Map<Player, Vec3>
e()
getHitPlayers()
method_8351()
m_scvsetyy()
getAffectedPlayers()
getAffectedPlayers()
m_46078_()
private static LivingEntity
b(bsr arg0)
getIndirectSourceEntityInternal(Entity arg0)
method_55110(class_1297 arg0)
m_opijfldo(C_astfners arg0)
getCausingEntity(Entity from)
getCausingEntity(Entity from)
m_306928_(C_507_ p_309719_)
public LivingEntity
f()
getIndirectSourceEntity()
method_8347()
m_oiheoshm()
getCausingEntity()
getCausingEntity()
m_252906_()
public Entity
g()
getDirectSourceEntity()
method_46406()
m_dhpfcxja()
getEntity()
getEntity()
m_253049_()
public void
h()
clearToBlow()
method_8352()
m_ditilhwv()
clearAffectedBlocks()
clearAffectedBlocks()
m_46080_()
public List<BlockPos>
i()
getToBlow()
method_8346()
m_pjedevud()
getAffectedBlocks()
getAffectedBlocks()
m_46081_()
public Explosion$BlockInteraction
j()
getBlockInteraction()
method_55111()
m_vsvasiko()
getDestructionType()
getDestructionType()
m_307824_()
public ParticleOptions
k()
getSmallExplosionParticles()
method_55112()
m_gdcrqnny()
getParticle()
getSmallParticles()
m_307149_()
public ParticleOptions
l()
getLargeExplosionParticles()
method_55113()
m_oxcyztzx()
getEmitterParticle()
getLargeParticles()
m_307299_()
public Holder<SoundEvent>
m()
getExplosionSound()
method_55114()
m_txuvunda()
getSoundEvent()
getSound()
m_305033_()
public boolean
n()
canTriggerBlocks()
method_60274()
m_ndwdgdks()
canTriggerBlocks()
m_338923_()