Enum Class RenderStage

java.lang.Object
java.lang.Enum<RenderStage>
com.jozufozu.flywheel.api.event.RenderStage
All Implemented Interfaces:
Serializable, Comparable<RenderStage>, Constable

public enum RenderStage extends Enum<RenderStage>
  • Enum Constant Details

    • AFTER_ENTITIES

      public static final RenderStage AFTER_ENTITIES
    • AFTER_BLOCK_ENTITIES

      public static final RenderStage AFTER_BLOCK_ENTITIES
    • AFTER_TRANSLUCENT_TERRAIN

      public static final RenderStage AFTER_TRANSLUCENT_TERRAIN
    • AFTER_PARTICLES

      public static final RenderStage AFTER_PARTICLES
    • AFTER_WEATHER

      public static final RenderStage AFTER_WEATHER
  • Method Details

    • values

      public static RenderStage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RenderStage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isLast

      public boolean isLast()
      Is this stage the last one to be rendered in the frame?
      Returns:
      true if no other RenderStages will be dispatched this frame.
    • isFirst

      public boolean isFirst()
      Is this stage the first one to be rendered in the frame?
      Returns:
      true if this is the first RenderStage to be dispatched this frame.