Enum Class FrontAndTop

java.lang.Object
java.lang.Enum<FrontAndTop>
net.minecraft.core.FrontAndTop
All Implemented Interfaces:
Serializable, Comparable<FrontAndTop>, Constable, StringRepresentable

public enum FrontAndTop extends Enum<FrontAndTop> implements StringRepresentable
  • Enum Constant Details

  • Field Details

    • LOOKUP_TOP_FRONT

      private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<FrontAndTop> LOOKUP_TOP_FRONT
    • name

      private final String name
    • top

      private final Direction top
    • front

      private final Direction front
  • Constructor Details

  • Method Details

    • values

      public static FrontAndTop[] 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 FrontAndTop 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
    • lookupKey

      private static int lookupKey(Direction p_122627_, Direction p_122628_)
    • getSerializedName

      public String getSerializedName()
      Specified by:
      getSerializedName in interface StringRepresentable
    • fromFrontAndTop

      public static FrontAndTop fromFrontAndTop(Direction p_122623_, Direction p_122624_)
    • front

      public Direction front()
    • top

      public Direction top()