UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

94 lines 2.89 kB
{ "fields": [ { "id": "cooldown_time", "title": "Cooldown Time", "description": "Time in seconds the mob has to wait before using the goal again", "defaultValue": 0, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/dolphin.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_breach/", "content": 2 } ] } }, { "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/dolphin.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_breach/", "content": 50 } ] } }, { "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/dolphin.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_breach/", "content": 6 } ] } }, { "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 }, { "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/dolphin.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_breach/", "content": 6 } ] } } ], "description": "Allows the mob to randomly break surface of the water.", "title": "Random Breach Behavior", "samples": { "/vanilla/behavior_pack/entities/dolphin.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.random_breach/", "content": { "priority": 6, "interval": 50, "xz_dist": 6, "cooldown_time": 2 } } ] }, "id": "minecraft:behavior.random_breach" }