java.lang.Object
java.lang.Enum<EdgeMask.Direction>
dev.lukebemish.dynamicassetgenerator.api.client.generators.texsources.mask.EdgeMask.Direction
All Implemented Interfaces:
Serializable, Comparable<EdgeMask.Direction>, Constable, net.minecraft.util.StringRepresentable
Enclosing class:
EdgeMask

public static enum EdgeMask.Direction extends Enum<EdgeMask.Direction> implements net.minecraft.util.StringRepresentable
Represents the direction of a neighboring pixel in 2D space.
  • Enum Constant Details

  • Field Details

    • x

      public final int x
    • y

      public final int y
  • Method Details

    • values

      public static EdgeMask.Direction[] 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 EdgeMask.Direction 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
    • getSerializedName

      public @NonNull String getSerializedName()
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable