Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.16.0/behaviors/minecraft.behavior.pickup_items.json

35 lines
1.8 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.pickup_items",
"description": "Allows the mob to pick up items on the ground.",
"additionalProperties": false,
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Pickup Items 1.16.0",
2020-11-01 17:22:42 +01:00
"properties": {
2021-01-27 00:52:47 +01:00
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
2021-03-21 15:18:38 +01:00
"can_pickup_any_item": { "type": "boolean", "default": false, "description": "If true, the mob can pickup any item", "title": "Can Pickup Any Item" },
2020-11-01 17:22:42 +01:00
"can_pickup_to_hand_or_equipment": {
"type": "boolean",
"default": true,
"description": "If true, the mob can pickup items to its hand or armor slots",
2021-03-21 15:18:38 +01:00
"title": "Can Pickup To Hand Or Equipment"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"cooldown_after_being_attacked": { "type": "number", "default": true, "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
2020-11-01 17:22:42 +01:00
"goal_radius": {
"type": "number",
"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",
2021-03-21 15:18:38 +01:00
"title": "Goal Radius"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance this mob will look for items to pick up", "title": "Max Dist" },
2020-11-01 17:22:42 +01:00
"pickup_based_on_chance": {
"type": "boolean",
"default": false,
"description": "If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items",
2021-03-21 15:18:38 +01:00
"title": "Pickup Based On Chance"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"track_target": { "type": "boolean", "default": false, "description": "If true, this mob will chase after the target as long as it's a valid target", "title": "Track Target" }
2020-11-01 17:22:42 +01:00
}
}