Class EntityFireworkSparkFX


@Environment(CLIENT) public class EntityFireworkSparkFX extends EntityFX
  • Constructor Details

    • EntityFireworkSparkFX

      public EntityFireworkSparkFX(World par1World, double par2, double par4, double par6, double par8, double par10, double par12, EffectRenderer par14EffectRenderer)
  • Method Details

    • setTrail

      public void setTrail(boolean par1)
    • setTwinkle

      public void setTwinkle(boolean par1)
    • setColour

      public void setColour(int par1)
    • setFadeColour

      public void setFadeColour(int par1)
    • getBoundingBox

      public AxisAlignedBB getBoundingBox()
      returns the bounding box for this entity
      Overrides:
      getBoundingBox in class Entity
    • canBePushed

      public boolean canBePushed()
      Returns true if this entity should push and be pushed by other entities when colliding.
      Overrides:
      canBePushed in class Entity
    • renderParticle

      public void renderParticle(Tessellator par1Tessellator, float par2, float par3, float par4, float par5, float par6, float par7)
      Overrides:
      renderParticle in class EntityFX
    • onUpdate

      public void onUpdate()
      Called to update the entity's position/logic.
      Overrides:
      onUpdate in class EntityFX
    • getBrightnessForRender

      public int getBrightnessForRender(float par1)
      Overrides:
      getBrightnessForRender in class Entity
    • getBrightness

      public float getBrightness(float par1)
      Gets how bright this entity is.
      Overrides:
      getBrightness in class Entity