Update loot table schemas (#391)
* update loot table schemas * remove entity_properties and use new int_or_range definition * remove entity_properties from conditions.json as well
This commit is contained in:
19
source/behavior/loot_tables/conditions/int_property.json
Normal file
19
source/behavior/loot_tables/conditions/int_property.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.condition.int_property",
|
||||
"type": "object",
|
||||
"title": "Int Property",
|
||||
"description": "Checks whether an integer property matches the requested value.",
|
||||
"additionalProperties": false,
|
||||
"required": ["condition", "domain", "value"],
|
||||
"properties": {
|
||||
"condition": { "const": "int_property" },
|
||||
"domain": {
|
||||
"type": "string",
|
||||
"description": "Property domain identifier."
|
||||
},
|
||||
"value": {
|
||||
"description": "Expected integer value.",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user