UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

690 lines 25.2 kB
{ "fields": [ { "id": "add", "title": "Add", "description": "List of components to add to the entity after the transformation", "dataType": 15, "subForm": { "description": "List of components to add to the entity after the transformation", "fields": [ { "id": "component_groups", "title": "Component Groups", "description": "Names of component groups to add", "dataType": 17 } ] } }, { "id": "begin_transform_sound", "title": "Begin Transform Sound", "description": "Sound to play when the transformation starts", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/zombie_villager_v2.json": [ { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": "remedy" } ], "/vanilla/behavior_pack/entities/zombie_villager.json": [ { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": "remedy" } ] } }, { "id": "delay", "title": "Delay", "description": "Defines the properties of the delay for the transformation", "dataType": 15, "subForm": { "description": "Defines the properties of the delay for the transformation", "fields": [ { "id": "block_assist_chance", "title": "Block Assist Chance", "description": "Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0", "defaultValue": 0, "dataType": 3 }, { "id": "block_chance", "title": "Block Chance", "description": "Chance that, once a block is found, will help speed up the transformation", "defaultValue": 0, "dataType": 3 }, { "id": "block_max", "title": "Block Max", "description": "Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius", "defaultValue": 0, "dataType": 0 }, { "id": "block_radius", "title": "Block Radius", "description": "Distance in Blocks that the entity will search for blocks that can help the transformation", "defaultValue": 0, "dataType": 0 }, { "id": "block_types", "title": "Block Types", "description": "List of blocks that can help the transformation of this entity", "dataType": 17 }, { "id": "range_max", "title": "Range Max", "description": "Time in seconds to be added to value to have the maximum random time range value until the entity transforms (if non-zero then the time in seconds before the entity transforms will be random between value+range_min and value+range_max)", "defaultValue": 0, "dataType": 3 }, { "id": "range_min", "title": "Range Min", "description": "Time in seconds to be added to value to have the minimum random time range value until the entity transforms (if non-zero then the time in seconds before the entity transforms will be random between value+range_min and value+range_max)", "defaultValue": 0, "dataType": 3 }, { "id": "value", "title": "Value", "description": "Time in seconds before the entity transforms", "defaultValue": 0, "dataType": 3 } ] }, "samples": { "/vanilla/behavior_pack/entities/husk.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_zombie/minecraft:transformation/", "content": { "value": 15 } }, { "path": "/minecraft:entity/component_groups/minecraft:convert_to_baby_zombie/minecraft:transformation/", "content": { "value": 15 } } ], "/vanilla/behavior_pack/entities/pig.json": [ { "path": "/minecraft:entity/component_groups/minecraft:pig_transform/minecraft:transformation/", "content": 0.5 } ], "/vanilla/behavior_pack/entities/stray.json": [ { "path": "/minecraft:entity/component_groups/minecraft:revert_to_skeleton/minecraft:transformation/", "content": 0.5 } ], "/vanilla/behavior_pack/entities/zombie_villager_v2.json": [ { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": { "value": 100, "range_min": 80, "range_max": 200, "block_assist_chance": 0.01, "block_radius": 4, "block_chance": 0.3, "block_types": [ "minecraft:bed", "minecraft:iron_bars" ] } } ], "/vanilla/behavior_pack/entities/zombie_villager.json": [ { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": { "value": 100, "block_assist_chance": 0.01, "block_radius": 4, "block_chance": 0.3, "block_types": [ "minecraft:bed", "minecraft:iron_bars" ] } } ] } }, { "id": "drop_equipment", "title": "Drop Equipment", "description": "Cause the entity to drop all equipment upon transformation", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/husk.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_zombie/minecraft:transformation/", "content": true }, { "path": "/minecraft:entity/component_groups/minecraft:convert_to_baby_zombie/minecraft:transformation/", "content": true } ] } }, { "id": "drop_inventory", "title": "Drop Inventory", "description": "Cause the entity to drop all items in inventory upon transformation", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/piglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": true } ], "/vanilla/behavior_pack/entities/skeleton.json": [ { "path": "/minecraft:entity/component_groups/become_stray/minecraft:transformation/", "content": true } ] } }, { "id": "into", "title": "Into", "description": "Entity Definition that this entity will transform into", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/hoglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": "minecraft:zoglin" } ], "/vanilla/behavior_pack/entities/husk.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_zombie/minecraft:transformation/", "content": "minecraft:zombie<minecraft:as_adult>" }, { "path": "/minecraft:entity/component_groups/minecraft:convert_to_baby_zombie/minecraft:transformation/", "content": "minecraft:zombie<minecraft:as_baby>" } ], "/vanilla/behavior_pack/entities/mooshroom.json": [ { "path": "/minecraft:entity/component_groups/minecraft:mooshroom_become_cow/minecraft:transformation/", "content": "minecraft:cow" } ], "/vanilla/behavior_pack/entities/pig.json": [ { "path": "/minecraft:entity/component_groups/minecraft:pig_transform/minecraft:transformation/", "content": "minecraft:pig_zombie" } ], "/vanilla/behavior_pack/entities/piglin_brute.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": "minecraft:zombie_pigman" } ], "/vanilla/behavior_pack/entities/piglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": "minecraft:zombie_pigman" } ], "/vanilla/behavior_pack/entities/skeleton.json": [ { "path": "/minecraft:entity/component_groups/become_stray/minecraft:transformation/", "content": "minecraft:stray" } ], "/vanilla/behavior_pack/entities/stray.json": [ { "path": "/minecraft:entity/component_groups/minecraft:revert_to_skeleton/minecraft:transformation/", "content": "minecraft:skeleton" } ], "/vanilla/behavior_pack/entities/tadpole.json": [ { "path": "/minecraft:entity/component_groups/grow_up/minecraft:transformation/", "content": "minecraft:frog" } ], "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/become_witch/minecraft:transformation/", "content": "minecraft:witch" }, { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": "minecraft:zombie_villager_v2" } ], "/vanilla/behavior_pack/entities/villager.json": [ { "path": "/minecraft:entity/component_groups/become_witch/minecraft:transformation/", "content": "minecraft:witch" }, { "path": "/minecraft:entity/component_groups/become_villager_v2/minecraft:transformation/", "content": "minecraft:villager_v2" }, { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": "minecraft:zombie_villager" } ], "/vanilla/behavior_pack/entities/zombie_villager_v2.json": [ { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": "minecraft:villager_v2" } ], "/vanilla/behavior_pack/entities/zombie_villager.json": [ { "path": "/minecraft:entity/component_groups/become_zombie_villager_v2/minecraft:transformation/", "content": "minecraft:zombie_villager_v2" }, { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": "minecraft:villager" } ], "/vanilla/behavior_pack/entities/zombie.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_drowned/minecraft:transformation/", "content": "minecraft:drowned<minecraft:as_adult>" }, { "path": "/minecraft:entity/component_groups/minecraft:convert_to_baby_drowned/minecraft:transformation/", "content": "minecraft:drowned<minecraft:as_baby>" } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/entities/gray_zombie_leader.behavior.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_drowned/minecraft:transformation/", "content": "minecraft:drowned<minecraft:as_adult>" } ] } }, { "id": "keep_level", "title": "Keep Level", "description": "If this entity has trades and has leveled up, it should maintain that level after transformation.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/hoglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": true } ], "/vanilla/behavior_pack/entities/piglin_brute.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": true } ] } }, { "id": "keep_owner", "title": "Keep Owner", "description": "If this entity is owned by another entity, it should remain owned after transformation.", "defaultValue": false, "dataType": 1 }, { "id": "preserve_equipment", "title": "Preserve Equipment", "description": "Cause the entity to keep equipment after going through transformation", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/piglin_brute.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": true } ], "/vanilla/behavior_pack/entities/piglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": true } ] } }, { "id": "transformation_sound", "title": "Transformation Sound", "description": "Sound to play when the entity is done transforming", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/hoglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": "mob.hoglin.converted_to_zombified" } ], "/vanilla/behavior_pack/entities/husk.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_zombie/minecraft:transformation/", "content": "mob.husk.convert_to_zombie" }, { "path": "/minecraft:entity/component_groups/minecraft:convert_to_baby_zombie/minecraft:transformation/", "content": "mob.husk.convert_to_zombie" } ], "/vanilla/behavior_pack/entities/pig.json": [ { "path": "/minecraft:entity/component_groups/minecraft:pig_transform/minecraft:transformation/", "content": "mob.pig.death" } ], "/vanilla/behavior_pack/entities/piglin_brute.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": "converted_to_zombified" } ], "/vanilla/behavior_pack/entities/piglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": "converted_to_zombified" } ], "/vanilla/behavior_pack/entities/skeleton.json": [ { "path": "/minecraft:entity/component_groups/become_stray/minecraft:transformation/", "content": "convert_to_stray" } ], "/vanilla/behavior_pack/entities/tadpole.json": [ { "path": "/minecraft:entity/component_groups/grow_up/minecraft:transformation/", "content": "convert_to_frog" } ], "/vanilla/behavior_pack/entities/zombie_villager_v2.json": [ { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": "unfect" } ], "/vanilla/behavior_pack/entities/zombie_villager.json": [ { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": "unfect" } ], "/vanilla/behavior_pack/entities/zombie.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_drowned/minecraft:transformation/", "content": "convert_to_drowned" }, { "path": "/minecraft:entity/component_groups/minecraft:convert_to_baby_drowned/minecraft:transformation/", "content": "convert_to_drowned" } ] } } ], "description": "Defines an entity's transformation from the current definition into another", "title": "Transformation", "samples": { "/vanilla/behavior_pack/entities/hoglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": { "into": "minecraft:zoglin", "transformation_sound": "mob.hoglin.converted_to_zombified", "keep_level": true } } ], "/vanilla/behavior_pack/entities/husk.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_zombie/minecraft:transformation/", "content": { "into": "minecraft:zombie<minecraft:as_adult>", "transformation_sound": "mob.husk.convert_to_zombie", "drop_equipment": true, "delay": { "value": 15 } } }, { "path": "/minecraft:entity/component_groups/minecraft:convert_to_baby_zombie/minecraft:transformation/", "content": { "into": "minecraft:zombie<minecraft:as_baby>", "transformation_sound": "mob.husk.convert_to_zombie", "drop_equipment": true, "delay": { "value": 15 } } } ], "/vanilla/behavior_pack/entities/mooshroom.json": [ { "path": "/minecraft:entity/component_groups/minecraft:mooshroom_become_cow/minecraft:transformation/", "content": { "into": "minecraft:cow" } } ], "/vanilla/behavior_pack/entities/pig.json": [ { "path": "/minecraft:entity/component_groups/minecraft:pig_transform/minecraft:transformation/", "content": { "into": "minecraft:pig_zombie", "transformation_sound": "mob.pig.death", "delay": 0.5 } } ], "/vanilla/behavior_pack/entities/piglin_brute.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": { "into": "minecraft:zombie_pigman", "transformation_sound": "converted_to_zombified", "keep_level": true, "preserve_equipment": true } } ], "/vanilla/behavior_pack/entities/piglin.json": [ { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": { "into": "minecraft:zombie_pigman", "transformation_sound": "converted_to_zombified", "keep_level": true, "drop_inventory": true, "preserve_equipment": true } } ], "/vanilla/behavior_pack/entities/skeleton.json": [ { "path": "/minecraft:entity/component_groups/become_stray/minecraft:transformation/", "content": { "into": "minecraft:stray", "transformation_sound": "convert_to_stray", "keep_level": true, "drop_inventory": true, "preserve_equipment": true } } ], "/vanilla/behavior_pack/entities/stray.json": [ { "path": "/minecraft:entity/component_groups/minecraft:revert_to_skeleton/minecraft:transformation/", "content": { "into": "minecraft:skeleton", "delay": 0.5 } } ], "/vanilla/behavior_pack/entities/tadpole.json": [ { "path": "/minecraft:entity/component_groups/grow_up/minecraft:transformation/", "content": { "into": "minecraft:frog", "transformation_sound": "convert_to_frog" } } ], "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/become_witch/minecraft:transformation/", "content": { "into": "minecraft:witch", "delay": 0.5 } }, { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": { "into": "minecraft:zombie_villager_v2", "keep_level": true } } ], "/vanilla/behavior_pack/entities/villager.json": [ { "path": "/minecraft:entity/component_groups/become_witch/minecraft:transformation/", "content": { "into": "minecraft:witch", "delay": 0.5 } }, { "path": "/minecraft:entity/component_groups/become_villager_v2/minecraft:transformation/", "content": { "into": "minecraft:villager_v2", "keep_level": true } }, { "path": "/minecraft:entity/component_groups/become_zombie/minecraft:transformation/", "content": { "into": "minecraft:zombie_villager" } } ], "/vanilla/behavior_pack/entities/zombie_villager_v2.json": [ { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": { "into": "minecraft:villager_v2", "begin_transform_sound": "remedy", "transformation_sound": "unfect", "drop_equipment": true, "keep_level": true, "delay": { "value": 100, "range_min": 80, "range_max": 200, "block_assist_chance": 0.01, "block_radius": 4, "block_chance": 0.3, "block_types": [ "minecraft:bed", "minecraft:iron_bars" ] } } } ], "/vanilla/behavior_pack/entities/zombie_villager.json": [ { "path": "/minecraft:entity/component_groups/become_zombie_villager_v2/minecraft:transformation/", "content": { "into": "minecraft:zombie_villager_v2", "keep_level": false } }, { "path": "/minecraft:entity/component_groups/to_villager/minecraft:transformation/", "content": { "into": "minecraft:villager", "begin_transform_sound": "remedy", "transformation_sound": "unfect", "delay": { "value": 100, "block_assist_chance": 0.01, "block_radius": 4, "block_chance": 0.3, "block_types": [ "minecraft:bed", "minecraft:iron_bars" ] } } } ], "/vanilla/behavior_pack/entities/zombie.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_drowned/minecraft:transformation/", "content": { "into": "minecraft:drowned<minecraft:as_adult>", "transformation_sound": "convert_to_drowned", "drop_equipment": true, "delay": { "value": 15 } } }, { "path": "/minecraft:entity/component_groups/minecraft:convert_to_baby_drowned/minecraft:transformation/", "content": { "into": "minecraft:drowned<minecraft:as_baby>", "transformation_sound": "convert_to_drowned", "drop_equipment": true, "delay": { "value": 15 } } } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/entities/gray_zombie_leader.behavior.json": [ { "path": "/minecraft:entity/component_groups/minecraft:convert_to_drowned/minecraft:transformation/", "content": { "into": "minecraft:drowned<minecraft:as_adult>", "transformation_sound": "convert_to_drowned", "drop_equipment": true, "delay": { "value": 15 } } } ] }, "id": "minecraft:transformation" }