Enum Class AdvancementDisplay.AdvancementFrame

java.lang.Object
java.lang.Enum<AdvancementDisplay.AdvancementFrame>
eu.endercentral.crazy_advancements.advancement.AdvancementDisplay.AdvancementFrame
All Implemented Interfaces:
Serializable, Comparable<AdvancementDisplay.AdvancementFrame>, Constable
Enclosing class:
AdvancementDisplay

public static enum AdvancementDisplay.AdvancementFrame extends Enum<AdvancementDisplay.AdvancementFrame>
Represents the Frame of an Advancement
Author:
Axel
  • Enum Constant Details

  • Method Details

    • values

      public static AdvancementDisplay.AdvancementFrame[] 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 AdvancementDisplay.AdvancementFrame 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
    • getNMS

      public net.minecraft.advancements.AdvancementFrameType getNMS()
      Get the NMS Representation of this AdvancementFrame
      Returns:
      THE NMS Representation
    • parse

      public static AdvancementDisplay.AdvancementFrame parse(String name)
      Parses the AdvancementFrame by it's name
      Parameters:
      name - The case-insensitive name
      Returns:
      The AdvancementFrame
    • parseStrict

      public static AdvancementDisplay.AdvancementFrame parseStrict(String name)
      Parses the AdvancementFrame by it's name
      Parameters:
      name - The case-insensitive name
      Returns:
      The AdvancementFrame or null if no matching Frame is found