java.lang.Object
java.lang.Enum<PageKind>
com.blamejared.crafttweaker.annotation.processor.document.model.page.PageKind
All Implemented Interfaces:
Keyable, Serializable, Comparable<PageKind>, Constable

public enum PageKind extends Enum<PageKind> implements Keyable
  • Enum Constant Details

    • TYPE

      public static final PageKind TYPE
    • EVENT

      public static final PageKind EVENT
    • ENUM

      public static final PageKind ENUM
    • MARKDOWN

      public static final PageKind MARKDOWN
    • RENDERED

      public static final PageKind RENDERED
    • EXPANSION

      public static final PageKind EXPANSION
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<PageKind> CODEC
  • Method Details

    • values

      public static PageKind[] 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 PageKind 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
    • key

      public String key()
      Specified by:
      key in interface Keyable
    • codec

      public com.mojang.serialization.Codec<? extends Page> codec()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PageKind>