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": {
"type": "object",
"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": {
"type": "number",
@@ -66,6 +75,7 @@
"type": "object",
"description": "Loot table with items to drop on the ground upon successful interaction.",
"title": "Spawn Items",
"additionalProperties": false,
"properties": {
"table": {
"type": "string",

View File

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