UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

179 lines 5.34 kB
{ "fields": [ { "id": "hover_height", "title": "Hover Height", "description": "The height above the surface which the mob will try to maintain", "dataType": 18, "samples": { "/vanilla/behavior_pack/entities/allay.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": [ 1, 4 ] } ], "/vanilla/behavior_pack/entities/bee.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": [ 1, 4 ] } ] } }, { "id": "interval", "title": "Interval", "description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal", "defaultValue": 120, "dataType": 0, "samples": { "/vanilla/behavior_pack/entities/allay.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": 1 } ], "/vanilla/behavior_pack/entities/bee.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": 1 } ] } }, { "id": "speed_multiplier", "title": "Speed Multiplier", "description": "Movement speed multiplier of the mob when using this AI Goal", "defaultValue": 1, "dataType": 3 }, { "id": "xz_dist", "title": "Xz Dist", "description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1", "defaultValue": 10, "dataType": 0, "samples": { "/vanilla/behavior_pack/entities/allay.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": 8 } ], "/vanilla/behavior_pack/entities/bee.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": 8 } ] } }, { "id": "y_dist", "title": "Y Dist", "description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1", "defaultValue": 7, "dataType": 0, "samples": { "/vanilla/behavior_pack/entities/allay.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": 8 } ], "/vanilla/behavior_pack/entities/bee.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": 8 } ] } }, { "id": "y_offset", "title": "Y Offset", "description": "Height in blocks to add to the selected target position", "defaultValue": 0, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/allay.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": -1 } ], "/vanilla/behavior_pack/entities/bee.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": -1 } ] } }, { "id": "priority", "title": "Priority", "hideSamples": true, "description": "As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal.", "dataType": 0, "samples": { "/vanilla/behavior_pack/entities/allay.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": 9 } ], "/vanilla/behavior_pack/entities/bee.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": 12 } ] } } ], "description": "Allows the mob to hover around randomly, close to the surface", "title": "Random Hover Behavior", "samples": { "/vanilla/behavior_pack/entities/allay.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": { "priority": 9, "xz_dist": 8, "y_dist": 8, "y_offset": -1, "interval": 1, "hover_height": [ 1, 4 ] } } ], "/vanilla/behavior_pack/entities/bee.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_hover/", "content": { "priority": 12, "xz_dist": 8, "y_dist": 8, "y_offset": -1, "interval": 1, "hover_height": [ 1, 4 ] } } ] }, "id": "minecraft:behavior.random_hover" }