Enum Class Octree.AxisSorting

java.lang.Object
java.lang.Enum<Octree.AxisSorting>
net.minecraft.client.renderer.Octree.AxisSorting
All Implemented Interfaces:
Serializable, Comparable<Octree.AxisSorting>, Constable
Enclosing class:
Octree

static enum Octree.AxisSorting extends Enum<Octree.AxisSorting>
  • Enum Constant Details

  • Field Details

    • xShift

      final int xShift
    • yShift

      final int yShift
    • zShift

      final int zShift
  • Constructor Details

    • AxisSorting

      private AxisSorting(int pXShift, int pYShift, int pZShift)
  • Method Details

    • values

      public static Octree.AxisSorting[] 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 Octree.AxisSorting 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
    • getAxisSorting

      public static Octree.AxisSorting getAxisSorting(int pXDiff, int pYDiff, int pZDiff)