This commit is contained in:
DaanV2
2021-07-13 14:24:58 +02:00
parent e143185860
commit 8ff50d18ae
2 changed files with 12 additions and 1 deletions

View File

@@ -11,7 +11,16 @@
"add_items": { "add_items": {
"type": "object", "type": "object",
"description": "Loot table with items to add to the player's inventory upon successful interaction.", "description": "Loot table with items to add to the player's inventory upon successful interaction.",
"title": "Add Items" "title": "Add Items",
"additionalProperties": false,
"properties": {
"table": {
"type": "string",
"$ref": "../../../../general/loot_table/identifier.json",
"description": "File path, relative to the Behavior Pack's path, to the loot table file.",
"title": "Table"
}
}
}, },
"cooldown": { "cooldown": {
"type": "number", "type": "number",
@@ -66,6 +75,7 @@
"type": "object", "type": "object",
"description": "Loot table with items to drop on the ground upon successful interaction.", "description": "Loot table with items to drop on the ground upon successful interaction.",
"title": "Spawn Items", "title": "Spawn Items",
"additionalProperties": false,
"properties": { "properties": {
"table": { "table": {
"type": "string", "type": "string",

View File

@@ -3,6 +3,7 @@
"description": "Defines interactions with this entity.", "description": "Defines interactions with this entity.",
"title": "Interact 1.8.0", "title": "Interact 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"type": "object",
"definitions": { "definitions": {
"interact_object": { "interact_object": {
"type": "object", "type": "object",