Class EndFlashState

java.lang.Object
net.minecraft.client.renderer.EndFlashState

public class EndFlashState extends Object
  • Field Details

    • SOUND_DELAY_IN_TICKS

      public static final int SOUND_DELAY_IN_TICKS
      See Also:
    • FLASH_INTERVAL_IN_TICKS

      private static final int FLASH_INTERVAL_IN_TICKS
      See Also:
    • MAX_FLASH_OFFSET_IN_TICKS

      private static final int MAX_FLASH_OFFSET_IN_TICKS
      See Also:
    • MIN_FLASH_DURATION_IN_TICKS

      private static final int MIN_FLASH_DURATION_IN_TICKS
      See Also:
    • MAX_FLASH_DURATION_IN_TICKS

      private static final int MAX_FLASH_DURATION_IN_TICKS
      See Also:
    • flashSeed

      private long flashSeed
    • offset

      private int offset
    • duration

      private int duration
    • intensity

      private float intensity
    • oldIntensity

      private float oldIntensity
    • xAngle

      private float xAngle
    • yAngle

      private float yAngle
  • Constructor Details

    • EndFlashState

      public EndFlashState()
  • Method Details

    • tick

      public void tick(long pGametime)
    • calculateFlashParameters

      private void calculateFlashParameters(long pGametime)
    • calculateIntensity

      private float calculateIntensity(long pGametime)
    • getXAngle

      public float getXAngle()
    • getYAngle

      public float getYAngle()
    • getIntensity

      public float getIntensity(float pPartialTick)
    • flashStartedThisTick

      public boolean flashStartedThisTick()