Class EntityDropParticleFX


@Environment(CLIENT) public class EntityDropParticleFX extends EntityFX
  • Field Details

    • bobTimer

      protected int bobTimer
      The height of the current bob
  • Constructor Details

    • EntityDropParticleFX

      public EntityDropParticleFX(World par1World, double par2, double par4, double par6, Material par8Material)
    • EntityDropParticleFX

      public EntityDropParticleFX(World world, double x, double y, double z, Material material, int bobTimer, float red, float green, float blue, float alpha)
      Use this constructor to define custom color dropping particles
      Parameters:
      world -
      x -
      y -
      z -
      material -
      bobTimer -
      red -
      green -
      blue -
      alpha -
  • Method Details

    • 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
    • onUpdate

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