Enum Class BlockTags

java.lang.Object
java.lang.Enum<BlockTags>
com.zenith.mc.block.BlockTags
All Implemented Interfaces:
Serializable, Comparable<BlockTags>, Constable

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

    • MINEABLE_WITH_AXE

      public static final BlockTags MINEABLE_WITH_AXE
    • MINEABLE_WITH_HOE

      public static final BlockTags MINEABLE_WITH_HOE
    • MINEABLE_WITH_PICKAXE

      public static final BlockTags MINEABLE_WITH_PICKAXE
    • MINEABLE_WITH_SHOVEL

      public static final BlockTags MINEABLE_WITH_SHOVEL
    • SWORD_EFFICIENT

      public static final BlockTags SWORD_EFFICIENT
    • NEEDS_DIAMOND_TOOL

      public static final BlockTags NEEDS_DIAMOND_TOOL
    • NEEDS_IRON_TOOL

      public static final BlockTags NEEDS_IRON_TOOL
    • NEEDS_STONE_TOOL

      public static final BlockTags NEEDS_STONE_TOOL
    • CLIMBABLE

      public static final BlockTags CLIMBABLE
  • Method Details

    • values

      public static BlockTags[] 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 BlockTags 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