Enum Class ScreenDirection

java.lang.Object
java.lang.Enum<ScreenDirection>
net.minecraft.client.gui.navigation.ScreenDirection
All Implemented Interfaces:
Serializable, Comparable<ScreenDirection>, Constable

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

  • Field Details

    • coordinateValueComparator

      private final it.unimi.dsi.fastutil.ints.IntComparator coordinateValueComparator
  • Constructor Details

    • ScreenDirection

      private ScreenDirection()
  • Method Details

    • values

      public static ScreenDirection[] 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 ScreenDirection 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
    • getAxis

      public ScreenAxis getAxis()
    • getOpposite

      public ScreenDirection getOpposite()
    • isPositive

      public boolean isPositive()
    • isAfter

      public boolean isAfter(int p_265461_, int p_265553_)
    • isBefore

      public boolean isBefore(int p_265215_, int p_265040_)
    • coordinateValueComparator

      public it.unimi.dsi.fastutil.ints.IntComparator coordinateValueComparator()