Updated pickup_items

This commit is contained in:
DaanV2
2022-07-13 22:10:58 +02:00
parent 4ec6e03a65
commit 0ca67289d9

View File

@@ -10,24 +10,24 @@
"can_pickup_any_item": { "can_pickup_any_item": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob can pickup any item", "description": "If true, the mob can pickup any item.",
"title": "Can Pickup Any Item" "title": "Can Pickup Any Item"
}, },
"can_pickup_to_hand_or_equipment": { "can_pickup_to_hand_or_equipment": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "If true, the mob can pickup items to its hand or armor slots", "description": "If true, the mob can pickup items to its hand or armor slots.",
"title": "Can Pickup To Hand Or Equipment" "title": "Can Pickup To Hand Or Equipment"
}, },
"cooldown_after_being_attacked": { "cooldown_after_being_attacked": {
"type": "number", "type": "number",
"default": true, "default": 20.0,
"description": "Duration, in seconds, for which the mob won't pickup items if it was hurt", "description": "Amount of time an offended entity needs before being willing to pick up items.",
"$comment": "UNDOCUMENTED",
"title": "Cooldown After Being Attacked" "title": "Cooldown After Being Attacked"
}, },
"excluded_items": { "excluded_items": {
"title": "Excluded Items", "title": "Excluded Items",
"description": "List of items this mob will not pick up.",
"type": "array", "type": "array",
"items": { "items": {
"title": "Excluded Item", "title": "Excluded Item",
@@ -37,13 +37,13 @@
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot.",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"max_dist": { "max_dist": {
"type": "number", "type": "number",
"default": 0, "default": 0.0,
"description": "Maximum distance this mob will look for items to pick up", "description": "Maximum distance this mob will look for items to pick up.",
"title": "Maximum Dist" "title": "Maximum Dist"
}, },
"search_height": { "search_height": {
@@ -56,7 +56,7 @@
"pickup_based_on_chance": { "pickup_based_on_chance": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items", "description": "If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items.",
"title": "Pickup Based On Chance" "title": "Pickup Based On Chance"
}, },
"pickup_same_items_as_in_hand": { "pickup_same_items_as_in_hand": {
@@ -69,7 +69,7 @@
"track_target": { "track_target": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target", "description": "If true, this mob will chase after the target as long as it's a valid target.",
"title": "Track Target" "title": "Track Target"
} }
}, },