From e049e8431bc4692d2fe81d3a048e6e386bf2640b Mon Sep 17 00:00:00 2001 From: stirante Date: Sat, 16 Dec 2023 13:35:23 +0100 Subject: [PATCH] Update entity components to 1.20.60 --- .../behavior/entities/format/components/ageable.json | 5 +++++ .../entities/format/components/interact.json | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/source/behavior/entities/format/components/ageable.json b/source/behavior/entities/format/components/ageable.json index b1026ea33..6c4339d43 100644 --- a/source/behavior/entities/format/components/ageable.json +++ b/source/behavior/entities/format/components/ageable.json @@ -67,6 +67,11 @@ "$ref": "../../../../general/item/descriptor.json", "title": "Transform To Item", "description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue" + }, + "interact_filters": { + "$ref": "../../filters/filters.json", + "title": "Interact Filters", + "description": "List of conditions to meet so that the entity can be fed." } }, "examples": [ diff --git a/source/behavior/entities/format/components/interact.json b/source/behavior/entities/format/components/interact.json index 853bc1fbe..3727f1a4e 100644 --- a/source/behavior/entities/format/components/interact.json +++ b/source/behavior/entities/format/components/interact.json @@ -154,6 +154,18 @@ "type": "boolean", "$comment": "UNDOCUMENTED", "description": "UNDOCUMENTED Takes an item from the player." + }, + "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." + }, + "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." } } }