Enum Class AdvancedMetal

java.lang.Object
java.lang.Enum<AdvancedMetal>
net.guizhanss.guizhanlib.slimefun.items.core.AdvancedMetal
All Implemented Interfaces:
Serializable, Comparable<AdvancedMetal>, Constable

public enum AdvancedMetal extends Enum<AdvancedMetal>
Slimefun - 高级金属(合金)
Author:
ybw0014
  • Enum Constant Details

    • STEEL

      public static final AdvancedMetal STEEL
    • BRONZE

      public static final AdvancedMetal BRONZE
      青铜
    • DURALUMIN

      public static final AdvancedMetal DURALUMIN
      硬铝
    • BILLON

      public static final AdvancedMetal BILLON
      银铜合金
    • BRASS

      public static final AdvancedMetal BRASS
      黄铜
    • ALUMINUM_BRASS

      public static final AdvancedMetal ALUMINUM_BRASS
      铝黄铜
    • ALUMINUM_BRONZE

      public static final AdvancedMetal ALUMINUM_BRONZE
      铝青铜
    • CORINTHIAN_BRONZE

      public static final AdvancedMetal CORINTHIAN_BRONZE
      科林斯青铜
    • SOLDER

      public static final AdvancedMetal SOLDER
      焊锡
    • DAMASCUS_STEEL

      public static final AdvancedMetal DAMASCUS_STEEL
      大马士革钢
    • HARDENED_METAL

      public static final AdvancedMetal HARDENED_METAL
      硬化金属
    • REINFORCED_ALLOY

      public static final AdvancedMetal REINFORCED_ALLOY
      强化合金
    • FERROSILICON

      public static final AdvancedMetal FERROSILICON
      硅铁
    • GILDED_IRON

      public static final AdvancedMetal GILDED_IRON
      镀金铁
    • REDSTONE_ALLOY

      public static final AdvancedMetal REDSTONE_ALLOY
      红石合金
    • NICKEL

      public static final AdvancedMetal NICKEL
    • COBALT

      public static final AdvancedMetal COBALT
  • Method Details

    • values

      public static AdvancedMetal[] 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 AdvancedMetal 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
    • fromEnglish

      @Nullable public static AdvancedMetal fromEnglish(@Nonnull String english)
      根据英文返回对应的枚举
      Parameters:
      english - String 提供的英文
      Returns:
      对应的枚举
    • fromChinese

      @Nullable public static AdvancedMetal fromChinese(@Nonnull String chinese)
      根据中文返回对应的枚举
      Parameters:
      chinese - String 提供的中文
      Returns:
      对应的枚举
    • fromSlimefunId

      @Nullable public static AdvancedMetal fromSlimefunId(@Nonnull String id)
      根据粘液物品ID返回对应的枚举
      Parameters:
      id - 粘液物品ID
      Returns:
      对应的枚举
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Enum<AdvancedMetal>