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/entity_killed.json
Normal file
15
source/behavior/loot_tables/conditions/entity_killed.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.condition.entity_killed",
|
||||
"type": "object",
|
||||
"title": "Entity Killed",
|
||||
"description": "Checks whether the source entity matches the supplied identifier.",
|
||||
"additionalProperties": false,
|
||||
"required": ["condition", "entity_type"],
|
||||
"properties": {
|
||||
"condition": { "const": "entity_killed" },
|
||||
"entity_type": {
|
||||
"type": "string",
|
||||
"description": "Entity identifier expected for the killer/victim."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user