接口 ArmorMaterial
-
- 所有已知实现类:
ArmorMaterials
public interface ArmorMaterial- Mappings:
Namespace Name official bnnintermediary net/minecraft/class_1741named net/minecraft/item/ArmorMaterial
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 intgetDurability(EquipmentSlot slot)intgetEnchantability()SoundEventgetEquipSound()floatgetKnockbackResistance()StringgetName()intgetProtectionAmount(EquipmentSlot slot)IngredientgetRepairIngredient()floatgetToughness()
-
-
-
方法详细资料
-
getDurability
int getDurability(EquipmentSlot slot)
- Mappings:
Namespace Name Mixin selector official aLbnn;a(Lasq;)Iintermediary method_7696Lnet/minecraft/class_1741;method_7696(Lnet/minecraft/class_1304;)Inamed getDurabilityLnet/minecraft/item/ArmorMaterial;getDurability(Lnet/minecraft/entity/EquipmentSlot;)I
-
getProtectionAmount
int getProtectionAmount(EquipmentSlot slot)
- Mappings:
Namespace Name Mixin selector official bLbnn;b(Lasq;)Iintermediary method_7697Lnet/minecraft/class_1741;method_7697(Lnet/minecraft/class_1304;)Inamed getProtectionAmountLnet/minecraft/item/ArmorMaterial;getProtectionAmount(Lnet/minecraft/entity/EquipmentSlot;)I
-
getEnchantability
int getEnchantability()
- Mappings:
Namespace Name Mixin selector official aLbnn;a()Iintermediary method_7699Lnet/minecraft/class_1741;method_7699()Inamed getEnchantabilityLnet/minecraft/item/ArmorMaterial;getEnchantability()I
-
getEquipSound
SoundEvent getEquipSound()
- Mappings:
Namespace Name Mixin selector official bLbnn;b()Laev;intermediary method_7698Lnet/minecraft/class_1741;method_7698()Lnet/minecraft/class_3414;named getEquipSoundLnet/minecraft/item/ArmorMaterial;getEquipSound()Lnet/minecraft/sound/SoundEvent;
-
getRepairIngredient
Ingredient getRepairIngredient()
- Mappings:
Namespace Name Mixin selector official cLbnn;c()Lbsg;intermediary method_7695Lnet/minecraft/class_1741;method_7695()Lnet/minecraft/class_1856;named getRepairIngredientLnet/minecraft/item/ArmorMaterial;getRepairIngredient()Lnet/minecraft/recipe/Ingredient;
-
getName
String getName()
- Mappings:
Namespace Name Mixin selector official dLbnn;d()Ljava/lang/String;intermediary method_7694Lnet/minecraft/class_1741;method_7694()Ljava/lang/String;named getNameLnet/minecraft/item/ArmorMaterial;getName()Ljava/lang/String;
-
getToughness
float getToughness()
- Mappings:
Namespace Name Mixin selector official eLbnn;e()Fintermediary method_7700Lnet/minecraft/class_1741;method_7700()Fnamed getToughnessLnet/minecraft/item/ArmorMaterial;getToughness()F
-
getKnockbackResistance
float getKnockbackResistance()
- Mappings:
Namespace Name Mixin selector official fLbnn;f()Fintermediary method_24355Lnet/minecraft/class_1741;method_24355()Fnamed getKnockbackResistanceLnet/minecraft/item/ArmorMaterial;getKnockbackResistance()F
-
-