From fe2a7cc70b3e3463c69f8471c934b0f5ccdaf6fc Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Sat, 20 Apr 2024 12:31:26 +0200 Subject: [PATCH] Updating interact --- .../entities/format/components/interact.json | 12 ++++++------ .../behavior/entities/format/minecraft.entity.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/behavior/entities/format/components/interact.json b/source/behavior/entities/format/components/interact.json index 3727f1a4..8688c050 100644 --- a/source/behavior/entities/format/components/interact.json +++ b/source/behavior/entities/format/components/interact.json @@ -157,15 +157,15 @@ }, "drop_item_slot": { "title": "Drop Item Slot", - "type": "integer", - "default": -1, - "description": "The entity's equipment slot to remove and drop the item from, if any, upon successful interaction." + "type": "string", + "description": "The entity's equipment slot to remove and drop the item from, if any, upon successful interaction.", + "enum": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet"] }, "equip_item_slot": { "title": "Equip Item Slot", - "type": "integer", - "default": -1, - "description": "The entity's equipment slot to equip the item to, if any, upon successful interaction." + "type": "string", + "description": "The entity's slot to equip the item to, if any, upon successful interaction. Inventory slots are denoted by positive numbers.", + "enum": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet"] } } } diff --git a/source/behavior/entities/format/minecraft.entity.json b/source/behavior/entities/format/minecraft.entity.json index 2858d19f..b1bd884e 100644 --- a/source/behavior/entities/format/minecraft.entity.json +++ b/source/behavior/entities/format/minecraft.entity.json @@ -188,7 +188,7 @@ }, "spawn_category": { "type": "string", - "enum": ["monster", "creature", "ambient", "axoltols", "underground_water_creature", "water_creature", "water_ambient", "misc"], + "enum": ["monster", "creature", "ambient", "axolotls", "underground_water_creature", "water_creature", "water_ambient", "misc"], "description": "At the moment, not fully implemented and does nothing. Recommended to leave it empty or set it to misc", "default": "misc" }