Enum BannerPattern

java.lang.Object
java.lang.Enum<BannerPattern>
net.minecraft.block.entity.BannerPattern
All Implemented Interfaces:
Serializable, Comparable<BannerPattern>, java.lang.constant.Constable

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

  • Field Details

    • VALUES

      private static final BannerPattern[] VALUES
    • COUNT

      public static final int COUNT
    • field_24417

      public static final int field_24417
    • LOOM_APPLICABLE_COUNT

      public static final int LOOM_APPLICABLE_COUNT
    • field_24419

      private final boolean field_24419
    • name

      private final String name
    • id

      private final String id
  • Constructor Details

    • BannerPattern

      private BannerPattern​(String name, String id)
    • BannerPattern

      private BannerPattern​(String name, String id, boolean bool)
  • Method Details

    • values

      public static BannerPattern[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BannerPattern valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getSpriteId

      @Environment(CLIENT) public Identifier getSpriteId​(boolean bool)
    • getName

      public String getName()
    • getId

      public String getId()
    • byId

      @Environment(CLIENT) @Nullable public static BannerPattern byId​(String id)
    • method_31652

      @Nullable public static BannerPattern method_31652​(String string)