Skip to content

Commit

Permalink
Updating interact
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Apr 20, 2024
1 parent 8ab255e commit fe2a7cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions source/behavior/entities/format/components/interact.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion source/behavior/entities/format/minecraft.entity.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit fe2a7cc

Please sign in to comment.