MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / newExplosion

Method newExplosion

src/main/java/net/minecraft/world/World.java:2214–2220  ·  view source on GitHub ↗

returns a new explosion. Does initiation (at time of writing Explosion is not finished)

(Entity entityIn, double x, double y, double z, float strength, boolean isFlaming, boolean isSmoking)

Source from the content-addressed store, hash-verified

2212 * returns a new explosion. Does initiation (at time of writing Explosion is not finished)
2213 */
2214 public Explosion newExplosion(Entity entityIn, double x, double y, double z, float strength, boolean isFlaming, boolean isSmoking)
2215 {
2216 Explosion explosion = new Explosion(this, entityIn, x, y, z, strength, isFlaming, isSmoking);
2217 explosion.doExplosionA();
2218 explosion.doExplosionB(true);
2219 return explosion;
2220 }
2221
2222 /**
2223 * Gets the percentage of real blocks within within a bounding box, along a specified vector.

Callers 5

createExplosionMethod · 0.95
onBlockActivatedMethod · 0.45
onImpactMethod · 0.45
onImpactMethod · 0.45
updateAITasksMethod · 0.45

Calls 2

doExplosionAMethod · 0.95
doExplosionBMethod · 0.95

Tested by

no test coverage detected