Package net.darkhax.msmlegacy.config
Class SwordStatsConfig
java.lang.Object
net.darkhax.msmlegacy.config.SwordStatsConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatintintintfloat -
Constructor Summary
ConstructorsConstructorDescriptionSwordStatsConfig(int durability, float attackDamage) SwordStatsConfig(int durability, float attackDamage, int enchantability) -
Method Summary
-
Field Details
-
harvestLevel
@Expose @SerializedName("harvest_level") public int harvestLevel -
durability
@Expose @SerializedName("durability") public int durability -
digSpeed
@Expose @SerializedName("dig_speed") public float digSpeed -
damage
@Expose @SerializedName("attack_damage") public float damage -
enchantability
@Expose @SerializedName("enchantability") public int enchantability -
swingSpeedPenalty
@Expose @SerializedName("swing_speed_penalty") public float swingSpeedPenalty
-
-
Constructor Details
-
SwordStatsConfig
public SwordStatsConfig(int durability, float attackDamage, int enchantability) -
SwordStatsConfig
public SwordStatsConfig(int durability, float attackDamage)
-
-
Method Details
-
swingSpeed
-
getAstier
public net.minecraft.world.item.Tier getAstier()
-