Enum Class ArmorMaterials
- 所有已实现的接口:
Serializable,Comparable<ArmorMaterials>,Constable,net.minecraft.item.ArmorMaterial,pers.saikel0rado1iu.silk.api.ropestick.armor.Armor
public enum ArmorMaterials
extends Enum<ArmorMaterials>
implements pers.saikel0rado1iu.silk.api.ropestick.armor.Armor
盔甲材料类
自然更替的盔甲工具材料- 从以下版本开始:
- 1.0.0
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明防箭装备
一种特殊的投掷物防御装备金铜盔甲
基础属性只比金制盔甲略高,但是拥有极致的附魔等级,附魔等级甚至比金高 5 点铜铁盔甲
基础属性只比铁制盔甲略高,但是拥有精铜的盔甲韧性和附魔等级精铜盔甲
基础属性在锁链盔甲与铁制盔甲之间,但耐久小于二者,但是拥有少量的盔甲韧性和只比金属性低地附魔等级钢制盔甲
基础属性只比钻石盔甲略低,但是拥有下届合金的附魔等级和少量的击退抗性 -
字段概要
从接口继承的字段 pers.saikel0rado1iu.silk.api.ropestick.armor.Armor
DURABILITY_BASE, KR_RATIO -
方法概要
修饰符和类型方法说明int获取耐久度intnet.minecraft.sound.SoundEventnet.minecraft.util.IdentifiergetId()获取盔甲 IDfloat获取击退抗性int[]获取护甲值net.minecraft.recipe.Ingredientfloatstatic ArmorMaterialsReturns the enum constant of this class with the specified name.static ArmorMaterials[]values()Returns an array containing the constants of this enum class, in the order they are declared.从类继承的方法 java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf从接口继承的方法 pers.saikel0rado1iu.silk.api.ropestick.armor.Armor
createBoots, createChestplate, createHelmet, createLeggings, getDurability, getKnockbackResistance, getName, getProtection
-
枚举常量详细资料
-
REFINED_COPPER
精铜盔甲
基础属性在锁链盔甲与铁制盔甲之间,但耐久小于二者,但是拥有少量的盔甲韧性和只比金属性低地附魔等级 -
CUFE
铜铁盔甲
基础属性只比铁制盔甲略高,但是拥有精铜的盔甲韧性和附魔等级 -
AUCU
金铜盔甲
基础属性只比金制盔甲略高,但是拥有极致的附魔等级,附魔等级甚至比金高 5 点 -
STEEL
钢制盔甲
基础属性只比钻石盔甲略低,但是拥有下届合金的附魔等级和少量的击退抗性 -
ARROWPROOF
防箭装备
一种特殊的投掷物防御装备
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getId
public net.minecraft.util.Identifier getId()获取盔甲 ID- 指定者:
getId在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.Armor- 返回:
- 盔甲 ID
-
getDurability
public int getDurability()获取耐久度- 指定者:
getDurability在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.Armor- 返回:
- 耐久度
-
getProtections
public int[] getProtections()获取护甲值- 指定者:
getProtections在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.Armor- 返回:
- 护甲值
-
getKnockBackResistance
public float getKnockBackResistance()获取击退抗性- 指定者:
getKnockBackResistance在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.Armor- 返回:
- 击退抗性
-
getEnchantability
public int getEnchantability()- 指定者:
getEnchantability在接口中net.minecraft.item.ArmorMaterial
-
getEquipSound
public net.minecraft.sound.SoundEvent getEquipSound()- 指定者:
getEquipSound在接口中net.minecraft.item.ArmorMaterial
-
getRepairIngredient
public net.minecraft.recipe.Ingredient getRepairIngredient()- 指定者:
getRepairIngredient在接口中net.minecraft.item.ArmorMaterial
-
getToughness
public float getToughness()- 指定者:
getToughness在接口中net.minecraft.item.ArmorMaterial
-