mirror of
https://github.com/barkeser2002/minecraft-data.git
synced 2026-11-24 08:06:16 +03:00
* 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
22 lines
528 B
JSON
22 lines
528 B
JSON
{
|
|
"title": "attributes",
|
|
"type": "array",
|
|
"uniqueItems": true,
|
|
"items" : {
|
|
"title": "attribute",
|
|
"type": "object",
|
|
"properties": {
|
|
"resource": {
|
|
"description": "The Mojang name of an attribute (usually is generic.[name] or minecraft:generic.[name]",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of an attribute",
|
|
"type": "string",
|
|
"pattern": "\\S+"
|
|
}
|
|
},
|
|
"required": ["resource", "name"],
|
|
"additionalProperties":false
|
|
}
|
|
} |