Files
minecraft-data/data/pc/1.16/attributes.json
usb 73001de37e add attribute support (#486)
* add attribute support

normalizes names of attributes across versions

* add attribute test

* update attributes for each version

Only ones that I can confirm from vanilla code are 1.14.4 - 1.17

The other ones are from testing with pakkit

I could not get MCP to work.

* skipped 1.11

* change displayName to mojangName

* update schema

* missed two versions

missed 1.12 and 1.10 in the find-and-replace

* make suggested changes

remove id
replaced mojangName with resource

* also update schema

* forgot to remove id
2021-12-21 22:02:57 +01:00

54 lines
1.1 KiB
JSON

[
{
"name": "maxHealth",
"resource": "minecraft:generic.max_health"
},
{
"name": "followRange",
"resource": "minecraft:generic.follow_range"
},
{
"name": "knockbackResistance",
"resource": "minecraft:generic.knockback_resistance"
},
{
"name": "movementSpeed",
"resource": "minecraft:generic.movement_speed"
},
{
"name": "attackDamage",
"resource": "minecraft:generic.attack_damage"
},
{
"name": "horseJumpStrength",
"resource": "minecraft:horse.jump_strength"
},
{
"name": "zombieSpawnReinforcements",
"resource": "minecraft:zombie.spawn_reinforcements"
},
{
"name": "attackSpeed",
"resource": "minecraft:generic.attack_speed"
},
{
"name": "flyingSpeed",
"resource": "minecraft:generic.flying_speed"
},
{
"name": "attackKnockback",
"resource": "minecraft:generic.attack_knockback"
},
{
"name": "armor",
"resource": "minecraft:generic.armor"
},
{
"name": "armorToughness",
"resource": "minecraft:generic.armor_toughness"
},
{
"name": "luck",
"resource": "minecraft:generic.luck"
}
]