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>> -
枚举常量概要
枚举常量 -
字段概要
从接口继承的字段 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 pers.saikel0rado1iu.silk.api.ropestick.property.ItemProperty[]蜘蛛护皮装备属性static 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
-
枚举常量详细资料
-
SPIDER_LEATHER
蜘蛛护皮装备
一种可以藏匿自己于蜘蛛中的蜘蛛装备
-
-
方法详细资料
-
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- 如果参数为空值
-
spiderLeatherProperty
public static pers.saikel0rado1iu.silk.api.ropestick.property.ItemProperty[] spiderLeatherProperty()蜘蛛护皮装备属性- 返回:
- 物品属性数组
-
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
-