-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Meredith Espinosa edited this page Jul 15, 2019
·
2 revisions
Welcome to the DynaGear wiki! This serves as a place to document the configuration spec for adding new materials, along with potentially holding documentation for a future API.
Each material needs eleven separate config values to be properly configured for both tools and armor. They are as such:
-
color
: a String with either an ARGB hex code or an integer value for the color this set should have applied. -
material
: A String with an Identifier for what the construction and repair material should be. An Identifier prefixed with a#
will be treated as a tag. -
enchantability
: an int with the level of enchantability a gear set should have, ranging from 0 to 25. In Vanilla, gold equipment has the highest enchantability, with a level of 25. -
tool_durability
: an int with how much damage a tool can take before it breaks. -
mining_level
: an int with the level of blocks this tool can break. In vanilla, a wood pickaxe has a level of 0, a stone pickaxe has a level of 1, an iron pickaxe has a level of 2, and a diamond pickaxe has a level of 3. -
mining_speed
: a float with how fast a tool should mine blocks. In vanilla, a diamond pickaxe has a mining speed of 8. Higher = faster. -
attack_damage
: a float with how much base damage a tool/weapon should deal, in half-hearts. Multiplied by 3 for swords, 1.5 for shovels, 1 for pickaxes and hoes, and 6 for axes. In vanilla, a diamond sword has an attack damage multiplier of 3. -
armor_multiplier
: an int with how much base durability a piece of armor should have, ordered from feet to head. Multiplied by 13 for boots, 15 for leggings, 16 for chestplates, and 11 for helmets. In vanilla, a diamond armor has an armor multiplier of 33. -
protection_amounts
: an array of four ints with how many units of protection a piece of armor should give you, ordered from feet to head. The total of these four ints should not be greater than 20. In vanilla, a diamond set of gear gives you 3 units from the helmet, 6 units from the chestplate, 8 units from the leggings, and 3 from the boots, totaling up to 20. -
armor_toughness
: a float with how much armor toughness a piece of armor should have. In vanilla, diamond armor has an armor toughness of 2. -
equip_sound
: a String with an Identifier for a sound event to play when armor is equipped. Vanilla provides the events"minecraft:item.armor.equip_<x>"
, with values of<x>
asleather
,chain
,iron
,gold
, ordiamond
.