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:
15
source/behavior/loot_tables/conditions/has_variant.json
Normal file
15
source/behavior/loot_tables/conditions/has_variant.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.condition.has_variant",
|
||||
"type": "object",
|
||||
"title": "Has Variant",
|
||||
"description": "Checks the variant value of the current actor.",
|
||||
"additionalProperties": false,
|
||||
"required": ["condition", "variant"],
|
||||
"properties": {
|
||||
"condition": { "const": "has_variant" },
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "Expected variant identifier."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user