Package net.minecraft.world
Class Explosion
java.lang.Object
net.minecraft.world.Explosion
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Explosion.Mode
private final ExplosionContext
private final DamageSource
private static final ExplosionContext
private final boolean
private final Map<PlayerEntity,
Vector3d> private final World
private final Vector3d
private final float
private final Random
private final Entity
private final double
private final double
private final double
-
Constructor Summary
ConstructorDescriptionExplosion
(World p_i50007_1_, Entity p_i50007_2_, double p_i50007_3_, double p_i50007_5_, double p_i50007_7_, float p_i50007_9_, boolean p_i50007_10_, Explosion.Mode p_i50007_11_) Explosion
(World p_i50006_1_, Entity p_i50006_2_, double p_i50006_3_, double p_i50006_5_, double p_i50006_7_, float p_i50006_9_, boolean p_i50006_10_, Explosion.Mode p_i50006_11_, List<BlockPos> p_i50006_12_) Explosion
(World p_i45752_1_, Entity p_i45752_2_, double p_i45752_3_, double p_i45752_5_, double p_i45752_7_, float p_i45752_9_, List<BlockPos> p_i45752_10_) Explosion
(World p_i231610_1_, Entity p_i231610_2_, DamageSource p_i231610_3_, ExplosionContext p_i231610_4_, double p_i231610_5_, double p_i231610_7_, double p_i231610_9_, float p_i231610_11_, boolean p_i231610_12_, Explosion.Mode p_i231610_13_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addBlockDrops
(it.unimi.dsi.fastutil.objects.ObjectArrayList<com.mojang.datafixers.util.Pair<ItemStack, BlockPos>> p_229976_0_, ItemStack p_229976_1_, BlockPos p_229976_2_) void
void
explode()
void
finalizeExplosion
(boolean p_77279_1_) static float
getSeenPercent
(Vector3d p_222259_0_, Entity p_222259_1_) private ExplosionContext
makeDamageCalculator
(Entity p_234894_1_)
-
Field Details
-
EXPLOSION_DAMAGE_CALCULATOR
-
fire
private final boolean fire -
blockInteraction
-
random
-
level
-
x
private final double x -
y
private final double y -
z
private final double z -
source
-
radius
private final float radius -
damageSource
-
damageCalculator
-
toBlow
-
hitPlayers
-
position
-
-
Constructor Details
-
Explosion
-
Explosion
public Explosion(World p_i50006_1_, @Nullable Entity p_i50006_2_, double p_i50006_3_, double p_i50006_5_, double p_i50006_7_, float p_i50006_9_, boolean p_i50006_10_, Explosion.Mode p_i50006_11_, List<BlockPos> p_i50006_12_) -
Explosion
public Explosion(World p_i50007_1_, @Nullable Entity p_i50007_2_, double p_i50007_3_, double p_i50007_5_, double p_i50007_7_, float p_i50007_9_, boolean p_i50007_10_, Explosion.Mode p_i50007_11_) -
Explosion
public Explosion(World p_i231610_1_, @Nullable Entity p_i231610_2_, @Nullable DamageSource p_i231610_3_, @Nullable ExplosionContext p_i231610_4_, double p_i231610_5_, double p_i231610_7_, double p_i231610_9_, float p_i231610_11_, boolean p_i231610_12_, Explosion.Mode p_i231610_13_)
-
-
Method Details
-
makeDamageCalculator
-
getSeenPercent
-
explode
public void explode() -
finalizeExplosion
public void finalizeExplosion(boolean p_77279_1_) -
addBlockDrops
-
getDamageSource
-
getHitPlayers
-
getSourceMob
-
clearToBlow
public void clearToBlow() -
getToBlow
-
getPosition
-
getExploder
-