UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

189 lines 6.35 kB
{ "fields": [ { "id": "additional_collision_buffer", "title": "Additional Collision Buffer", "description": "If true, the mob will have an additional buffer zone around it to avoid collisions with blocks when picking a position to wander to.", "defaultValue": false, "dataType": 1 }, { "id": "allow_navigating_through_liquids", "title": "Allow Navigating Through Liquids", "description": "If true allows the mob to navigate through liquids on its way to the target position.", "defaultValue": false, "dataType": 1 }, { "id": "float_duration", "title": "Float Duration", "description": "Range of time in seconds the mob will float around before landing and choosing to do something else", "dataType": 18, "samples": { "/vanilla/behavior_pack/entities/bat.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": [ 0.1, 0.35 ] } ] } }, { "id": "float_wander_has_move_control", "title": "Float Wander Has Move Control", "description": "If true, the MoveControl flag will be added to the behavior which means that it can no longer be active at the same time as other behaviors with MoveControl.", "defaultValue": true, "dataType": 1 }, { "id": "must_reach", "title": "Must Reach", "description": "If true, the point has to be reachable to be a valid target", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/ghast.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": true } ] } }, { "id": "navigate_around_surface", "title": "Navigate Around Surface", "description": "If true, will prioritize finding random positions in the vicinity of surfaces, i.e. blocks that are not Air or Liquid.", "defaultValue": false, "dataType": 1 }, { "id": "random_reselect", "title": "Random Reselect", "description": "If true, the mob will randomly pick a new point while moving to the previously selected one", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/bat.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": true } ] } }, { "id": "surface_xz_dist", "title": "Surface Xz Dist", "description": "The horizontal distance in blocks that the goal will check for a surface from a candidate position. Only valid when `navigate_around_surface` is true.", "defaultValue": 0, "dataType": 0 }, { "id": "surface_y_dist", "title": "Surface Y Dist", "description": "The vertical distance in blocks that the goal will check for a surface from a candidate position. Only valid when `navigate_around_surface` is true.", "defaultValue": 0, "dataType": 0 }, { "id": "use_home_position_restriction", "title": "Use Home Position Restriction", "description": "If true, the mob will respect home position restrictions when choosing new target positions. If false, it will choose target position without considering home restrictions", "defaultValue": true, "dataType": 1 }, { "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/bat.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": 10 } ] } }, { "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/bat.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": 7 } ] } }, { "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/bat.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": -2 } ] } }, { "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/ghast.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": 2 } ] } } ], "description": "Allows the mob to float around like the Ghast.", "title": "Float Wander Behavior", "samples": { "/vanilla/behavior_pack/entities/bat.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": { "xz_dist": 10, "y_dist": 7, "y_offset": -2, "random_reselect": true, "float_duration": [ 0.1, 0.35 ] } } ], "/vanilla/behavior_pack/entities/ghast.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.float_wander/", "content": { "priority": 2, "must_reach": true } } ] }, "id": "minecraft:behavior.float_wander" }