Enum Class BlockSpecification

java.lang.Object
java.lang.Enum<BlockSpecification>
com.supermartijn642.rechiseled.api.blocks.BlockSpecification
All Implemented Interfaces:
Serializable, Comparable<BlockSpecification>, Constable

public enum BlockSpecification extends Enum<BlockSpecification>
Created 18/04/2023 by SuperMartijn642
  • Enum Constant Details

    • BASIC

      public static final BlockSpecification BASIC
      A basic cube, for example cobblestone
    • PILLAR

      public static final BlockSpecification PILLAR
      A pillar block which can be aligned along each axis, for example oak log
    • GLASS

      public static final BlockSpecification GLASS
      A glass block
    • GLASS_PILLAR

      public static final BlockSpecification GLASS_PILLAR
      A glass block which is also a pillar block
      See Also:
  • Method Details

    • values

      public static BlockSpecification[] 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 BlockSpecification 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
    • getDefaultModelType

      public BlockModelType getDefaultModelType()