Skip to content

Commit

Permalink
Update entity components to 1.20.60
Browse files Browse the repository at this point in the history
  • Loading branch information
stirante committed Dec 16, 2023
1 parent 27cc4b6 commit e049e84
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/behavior/entities/format/components/ageable.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
12 changes: 12 additions & 0 deletions source/behavior/entities/format/components/interact.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
}
Expand Down

0 comments on commit e049e84

Please sign in to comment.