Package net.minecraft.src
Class Explosion
java.lang.Object
net.minecraft.src.Explosion
-
Field Summary
FieldsModifier and TypeFieldDescriptionA list of ChunkPositions of blocks affected by this explosionfloatdoubledoubledoublebooleanwhether or not the explosion sets fire to blocks around itbooleanwhether or not this explosion spawns smoke particlesboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSecondaryExplosionNoFX(double dPosX, double dPosY, double dPosZ, float fExplosionSize, boolean bCreatesFlames, boolean bDestroysBlocks) voidDoes the first part of the explosion (destroy blocks)voiddoExplosionB(boolean par1) Does the second part of the explosion (sound, particles, drop spawn)Returns either the entity that placed the explosive block, the entity that caused the explosion or null.
-
Field Details
-
isFlaming
public boolean isFlamingwhether or not the explosion sets fire to blocks around it -
isSmoking
public boolean isSmokingwhether or not this explosion spawns smoke particles -
explosionX
public double explosionX -
explosionY
public double explosionY -
explosionZ
public double explosionZ -
exploder
-
explosionSize
public float explosionSize -
affectedBlockPositions
A list of ChunkPositions of blocks affected by this explosion -
suppressFX
public boolean suppressFX -
secondaryExplosionList
-
-
Constructor Details
-
Explosion
-
-
Method Details
-
doExplosionA
public void doExplosionA()Does the first part of the explosion (destroy blocks) -
doExplosionB
public void doExplosionB(boolean par1) Does the second part of the explosion (sound, particles, drop spawn) -
func_77277_b
-
getExplosivePlacedBy
Returns either the entity that placed the explosive block, the entity that caused the explosion or null. -
addSecondaryExplosionNoFX
public void addSecondaryExplosionNoFX(double dPosX, double dPosY, double dPosZ, float fExplosionSize, boolean bCreatesFlames, boolean bDestroysBlocks)
-