Misc improvements (#347)
* - Allow for items without namespaces in loot tables * - Made rolls in loot table required * - Account for match tag conditions by not requiring item and count * - Allow forward / in feature (and rule) identifers * - Added pattern for structure names * - Change atlas > texture_name to const * - Allow . in texture entries in atlas files * - Food nutrition can only be ints
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^[a-z0-9_:\\-]*$" },
|
||||
"propertyNames": { "pattern": "^[a-z0-9_:.\\-]*$" },
|
||||
"additionalProperties": {
|
||||
"title": "Texture Data",
|
||||
"description": "UNDOCUMENTED.",
|
||||
@@ -84,6 +84,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"texture_name": { "title": "Texture Name", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "string" }
|
||||
"texture_name": { "const": "atlas.items" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" },
|
||||
"texture_data": {
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^[a-z0-9_:\\-]*$" },
|
||||
"propertyNames": { "pattern": "^[a-z0-9_:.\\-]*$" },
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Texture Data",
|
||||
@@ -73,6 +73,6 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Texture Data"
|
||||
},
|
||||
"texture_name": { "type": "string", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "title": "Texture Name" }
|
||||
"texture_name": { "const": "atlas.terrain" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user