|
7 | 7 | "properties": { |
8 | 8 | "priority": { "$ref": "types/priority.json" }, |
9 | 9 | "speed_multiplier": { "$ref": "types/speed_multiplier.json" }, |
| 10 | + "control_flags": { |
| 11 | + "$ref": "./types/control_flags.json" |
| 12 | + }, |
10 | 13 | "entity_types": { |
11 | 14 | "description": "The list of conditions another entity must meet to be a valid target to drop an item for.", |
12 | 15 | "title": "Entity Types", |
|
15 | 18 | "cooldown": { |
16 | 19 | "title": "Cooldown", |
17 | 20 | "type": "number", |
18 | | - "default": 0.2, |
| 21 | + "default": 0.25, |
| 22 | + "minimum": 0, |
19 | 23 | "description": "Total time that the goal is on cooldown before it can be used again." |
20 | 24 | }, |
21 | 25 | "drop_item_chance": { |
22 | 26 | "title": "Drop Item Chance", |
23 | 27 | "type": "number", |
24 | 28 | "default": 1.0, |
| 29 | + "minimum": 0, |
| 30 | + "maximum": 1, |
25 | 31 | "description": "The percent chance the entity will drop an item when using this goal." |
26 | 32 | }, |
27 | 33 | "goal_radius": { |
|
39 | 45 | "title": "Max Head Look At Height", |
40 | 46 | "type": "number", |
41 | 47 | "default": 10.0, |
| 48 | + "minimum": 0, |
42 | 49 | "description": "The maximum height the entities head will look at when dropping the item. The entity will always be looking at its target." |
43 | 50 | }, |
44 | 51 | "minimum_teleport_distance": { |
45 | 52 | "title": "Minimum Teleport Distance", |
46 | 53 | "type": "number", |
47 | 54 | "default": 2.0, |
| 55 | + "minimum": 0, |
48 | 56 | "description": "If the target position is farther away than this distance on any tick, the entity will teleport to the target position." |
49 | 57 | }, |
50 | 58 | "offering_distance": { |
51 | 59 | "title": "Offering Distance", |
52 | 60 | "type": "number", |
53 | 61 | "default": 1.0, |
| 62 | + "minimum": 0, |
54 | 63 | "description": "The preferred distance the entity tries to be from the target it is dropping an item for." |
55 | 64 | }, |
56 | 65 | "on_drop_attempt": { |
|
62 | 71 | "title": "Search Count", |
63 | 72 | "type": "integer", |
64 | 73 | "default": 0, |
| 74 | + "minimum": 0, |
65 | 75 | "description": "The number of blocks each tick that the entity will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick." |
66 | 76 | }, |
67 | 77 | "search_height": { |
68 | 78 | "title": "Search Height", |
69 | 79 | "type": "integer", |
70 | 80 | "default": 1, |
| 81 | + "exclusiveMinimum": 0, |
71 | 82 | "description": "The Height in blocks the entity will search within to find a valid target position." |
72 | 83 | }, |
73 | 84 | "search_range": { |
74 | 85 | "title": "Search Range", |
75 | 86 | "type": "integer", |
76 | 87 | "default": 0, |
| 88 | + "exclusiveMinimum": 0, |
77 | 89 | "description": "The distance in blocks the entity will search within to find a valid target position." |
78 | 90 | }, |
79 | 91 | "seconds_before_pickup": { |
80 | 92 | "title": "Seconds Before Pickup", |
81 | 93 | "type": "number", |
82 | 94 | "default": 0.0, |
| 95 | + "minimum": 0, |
83 | 96 | "description": "The numbers of seconds that will pass before the dropped entity can be picked up from the ground." |
84 | 97 | }, |
85 | 98 | "target_range": { |
|
0 commit comments