Class Explosion

java.lang.Object
net.minecraft.src.Explosion

public class Explosion extends Object
  • Field Details

    • isFlaming

      public boolean isFlaming
      whether or not the explosion sets fire to blocks around it
    • isSmoking

      public boolean isSmoking
      whether or not this explosion spawns smoke particles
    • explosionX

      public double explosionX
    • explosionY

      public double explosionY
    • explosionZ

      public double explosionZ
    • exploder

      public Entity exploder
    • explosionSize

      public float explosionSize
    • affectedBlockPositions

      public List affectedBlockPositions
      A list of ChunkPositions of blocks affected by this explosion
    • suppressFX

      public boolean suppressFX
    • secondaryExplosionList

      public List secondaryExplosionList
  • Constructor Details

    • Explosion

      public Explosion(World par1World, Entity par2Entity, double par3, double par5, double par7, float par9)
  • 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

      public Map func_77277_b()
    • getExplosivePlacedBy

      public EntityLivingBase 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)