Enum Class BannerPattern

java.lang.Object
java.lang.Enum<BannerPattern>
org.geysermc.geyser.inventory.item.BannerPattern
All Implemented Interfaces:
Serializable, Comparable<BannerPattern>, Constable

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

  • Method Details

    • values

      public static BannerPattern[] 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 BannerPattern 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
    • getByJavaIdentifier

      public static BannerPattern getByJavaIdentifier(net.kyori.adventure.key.Key key)
    • getByBedrockIdentifier

      public static @Nullable BannerPattern getByBedrockIdentifier(String bedrockIdentifier)
    • getJavaIdentifier

      public net.kyori.adventure.key.Key getJavaIdentifier()
    • getBedrockIdentifier

      public String getBedrockIdentifier()