public class Explosion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<BlockPos> |
affectedBlockPositions |
private boolean |
causesFire |
private boolean |
damagesTerrain |
private Entity |
exploder |
private java.util.Map<EntityPlayer,Vec3d> |
playerKnockbackMap |
private Vec3d |
position |
private java.util.Random |
random |
private float |
size |
private World |
world |
private double |
x |
private double |
y |
private double |
z |
Constructor and Description |
---|
Explosion(World worldIn,
Entity entityIn,
double x,
double y,
double z,
float size,
boolean flaming,
boolean damagesTerrain) |
Explosion(World worldIn,
Entity entityIn,
double x,
double y,
double z,
float size,
boolean causesFire,
boolean damagesTerrain,
java.util.List<BlockPos> affectedPositions) |
Explosion(World worldIn,
Entity entityIn,
double x,
double y,
double z,
float size,
java.util.List<BlockPos> affectedPositions) |
Modifier and Type | Method and Description |
---|---|
void |
clearAffectedBlockPositions() |
void |
doExplosionA() |
void |
doExplosionB(boolean spawnParticles) |
java.util.List<BlockPos> |
getAffectedBlockPositions() |
EntityLivingBase |
getExplosivePlacedBy() |
java.util.Map<EntityPlayer,Vec3d> |
getPlayerKnockbackMap() |
Vec3d |
getPosition() |
private final boolean causesFire
private final boolean damagesTerrain
private final java.util.Random random
private final World world
private final double x
private final double y
private final double z
private final Entity exploder
private final float size
private final java.util.List<BlockPos> affectedBlockPositions
private final java.util.Map<EntityPlayer,Vec3d> playerKnockbackMap
private final Vec3d position
public Explosion(World worldIn, Entity entityIn, double x, double y, double z, float size, java.util.List<BlockPos> affectedPositions)
public Explosion(World worldIn, Entity entityIn, double x, double y, double z, float size, boolean causesFire, boolean damagesTerrain, java.util.List<BlockPos> affectedPositions)
public void doExplosionA()
public void doExplosionB(boolean spawnParticles)
public java.util.Map<EntityPlayer,Vec3d> getPlayerKnockbackMap()
@Nullable public EntityLivingBase getExplosivePlacedBy()
public void clearAffectedBlockPositions()
public java.util.List<BlockPos> getAffectedBlockPositions()
public Vec3d getPosition()