枚举类 ArmorMaterials
- 所有已实现的接口:
Serializable,Comparable<ArmorMaterials>,Constable,pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
public enum ArmorMaterials
extends Enum<ArmorMaterials>
implements pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
盔甲材料类
蛛丝网迹的盔甲工具材料- 从以下版本开始:
- 1.0.0
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量 -
字段概要
从接口继承的字段 pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
KR_RATIO -
方法概要
修饰符和类型方法说明defense()intintnet.minecraft.registry.entry.RegistryEntry<net.minecraft.sound.SoundEvent> static net.minecraft.item.Item.Settings获取蜘蛛护皮装备物品设置net.minecraft.util.Identifierid()floatList<net.minecraft.item.ArmorMaterial.Layer> layers()Supplier<net.minecraft.registry.entry.RegistryEntry<net.minecraft.item.ArmorMaterial>> material()Supplier<net.minecraft.recipe.Ingredient> floatstatic ArmorMaterials返回带有指定名称的该类的枚举常量。static ArmorMaterials[]values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同从类继承的方法 java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf从接口继承的方法 pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
createBoots, createChestplate, createHelmet, createLeggings
-
枚举常量详细资料
-
SPIDER_LEATHER
蜘蛛护皮装备
一种可以藏匿自己于蜘蛛中的蜘蛛装备
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getSpiderLeatherSetting
public static net.minecraft.item.Item.Settings getSpiderLeatherSetting()获取蜘蛛护皮装备物品设置- 返回:
- 物品设置
-
id
public net.minecraft.util.Identifier id()- 指定者:
id在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
durability
public int durability()- 指定者:
durability在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
defense
- 指定者:
defense在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
enchantability
public int enchantability()- 指定者:
enchantability在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
equipSound
public net.minecraft.registry.entry.RegistryEntry<net.minecraft.sound.SoundEvent> equipSound()- 指定者:
equipSound在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
repairIngredient
- 指定者:
repairIngredient在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
toughness
public float toughness()- 指定者:
toughness在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
knockbackResistance
public float knockbackResistance()- 指定者:
knockbackResistance在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
layers
- 指定者:
layers在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-
material
public Supplier<net.minecraft.registry.entry.RegistryEntry<net.minecraft.item.ArmorMaterial>> material()- 指定者:
material在接口中pers.saikel0rado1iu.silk.api.ropestick.armor.ArmorHelper
-