net.minecraft.world.level

public class Explosion

cpn
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 it.unimi.dsi.fastutil.objects.ObjectArrayList<BlockPos>
n
toBlow
field_9188
affectedBlocks
f_46020_
private final Map<Player, Vec3>
o
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)
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)

Method summary

Modifier and TypeMethod
private ExplosionDamageCalculator
a(biq arg0)
makeDamageCalculator(Entity arg0)
method_29553(class_1297 arg0)
chooseBehavior(Entity entity)
m_46062_(C_507_ arg0)
public static float
a(ehn arg0, biq 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 void
a()
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)
public boolean
b()
interactsWithBlocks()
method_46667()
shouldDestroy()
m_254884_()
private static void
a(it.unimi.dsi.fastutil.objects.ObjectArrayList<com.mojang.datafixers.util.Pair<cjf, gw>> arg0, cjf arg1, gw arg2)
addBlockDrops(it.unimi.dsi.fastutil.objects.ObjectArrayList<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> arg0, ItemStack arg1, BlockPos arg2)
method_24023(it.unimi.dsi.fastutil.objects.ObjectArrayList<com.mojang.datafixers.util.Pair<class_1799, class_2338>> arg0, class_1799 arg1, class_2338 arg2)
tryMergeStack(it.unimi.dsi.fastutil.objects.ObjectArrayList<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> stacks, ItemStack stack, BlockPos pos)
m_46067_(it.unimi.dsi.fastutil.objects.ObjectArrayList<com.mojang.datafixers.util.Pair<C_1391_, C_4675_>> p_46068_, C_1391_ p_46069_, C_4675_ p_46070_)
public DamageSource
c()
getDamageSource()
method_8349()
getDamageSource()
m_46077_()
public Map<Player, Vec3>
d()
getHitPlayers()
method_8351()
getAffectedPlayers()
m_46078_()
public LivingEntity
e()
getIndirectSourceEntity()
method_8347()
getCausingEntity()
m_252906_()
public Entity
f()
getDirectSourceEntity()
method_46406()
getEntity()
m_253049_()
public void
g()
clearToBlow()
method_8352()
clearAffectedBlocks()
m_46080_()
public List<BlockPos>
h()
getToBlow()
method_8346()
getAffectedBlocks()
m_46081_()