UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

102 lines 3.08 kB
{ "fields": [ { "id": "jump_chance_percentage", "title": "Jump Chance Percentage", "description": "Percent chance a slime or magma cube has to jump while in water / lava.", "defaultValue": 0.8, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/magma_cube.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.slime_float/", "content": 0.8 } ], "/vanilla/behavior_pack/entities/slime.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.slime_float/", "content": 0.8 } ] } }, { "id": "speed_multiplier", "title": "Speed Multiplier", "description": "Determines the multiplier the entity's speed is modified by when moving through water / lava.", "defaultValue": 1.2, "dataType": 3, "samples": { "/vanilla/behavior_pack/entities/magma_cube.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.slime_float/", "content": 1.2 } ], "/vanilla/behavior_pack/entities/slime.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.slime_float/", "content": 1.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/magma_cube.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.slime_float/", "content": 1 } ], "/vanilla/behavior_pack/entities/slime.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.slime_float/", "content": 1 } ] } } ], "restrictions": [ { "id": "minecraft:slime", "type": "entity_type" }, { "id": "minecraft:magma_cube", "type": "entity_type" } ], "description": "Allow slimes to float in water / lava.", "title": "Slime Float Behavior", "samples": { "/vanilla/behavior_pack/entities/magma_cube.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.slime_float/", "content": { "priority": 1, "jump_chance_percentage": 0.8, "speed_multiplier": 1.2 } } ], "/vanilla/behavior_pack/entities/slime.json": [ { "path": "/minecraft:entity/components/minecraft:behavior.slime_float/", "content": { "priority": 1, "jump_chance_percentage": 0.8, "speed_multiplier": 1.2 } } ] }, "id": "minecraft:behavior.slime_float" }