public class Explosion
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.util.List |
affectedBlockPositions
A list of ChunkPositions of blocks affected by this explosion
|
Entity |
exploder |
float |
explosionSize |
double |
explosionX |
double |
explosionY |
double |
explosionZ |
boolean |
isFlaming
whether or not the explosion sets fire to blocks around it
|
boolean |
isSmoking
whether or not this explosion spawns smoke particles
|
| Constructor and Description |
|---|
Explosion(World p_i1948_1_,
Entity p_i1948_2_,
double p_i1948_3_,
double p_i1948_5_,
double p_i1948_7_,
float p_i1948_9_) |
| Modifier and Type | Method and Description |
|---|---|
void |
doExplosionA()
Does the first part of the explosion (destroy blocks)
|
void |
doExplosionB(boolean p_77279_1_)
Does the second part of the explosion (sound, particles, drop spawn)
|
java.util.Map |
func_77277_b() |
EntityLivingBase |
getExplosivePlacedBy()
Returns either the entity that placed the explosive block, the entity that caused the explosion or null.
|
public boolean isFlaming
public boolean isSmoking
public double explosionX
public double explosionY
public double explosionZ
public Entity exploder
public float explosionSize
public java.util.List affectedBlockPositions
public void doExplosionA()
public void doExplosionB(boolean p_77279_1_)
public java.util.Map func_77277_b()
public EntityLivingBase getExplosivePlacedBy()