UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

212 lines 6.06 kB
{ "fields": [ { "id": "dispense_on", "title": "dispense_on", "description": "List of block descriptors of the blocks that this item can be dispensed on. If left empty, all blocks will be allowed.", "dataType": 15, "subForm": { "title": "Dispense On", "description": "Dispense On", "fields": [ { "id": "name", "title": "name", "description": "name", "dataType": 2 }, { "id": "tags", "title": "tags", "description": "tags", "dataType": 2 }, { "id": "states", "title": "states", "description": "states", "dataType": 0, "alternates": [ { "id": "states", "dataType": 2 }, { "id": "states", "dataType": 1 } ] } ] }, "alternates": [ { "id": "dispense_on", "dataType": 2 }, { "id": "dispense_on", "dataType": 16 } ] }, { "id": "entity", "title": "entity", "description": "The entity to be placed in the world.", "dataType": 2, "validity": [ { "comparison": "pattern", "value": "^(?:\\w+(?:\\.\\w+)*:(?=\\w))?(?:\\w+(?:\\.\\w+)*)(?:<((?:\\w+(?:\\.\\w+)*:(?=\\w))?\\w+(?:\\.\\w+)*)*>)?$" } ], "samples": { "/samples/custom_items/behavior_packs/custom_item/items/my_sword_turtle.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": "minecraft:turtle" } ] } }, { "id": "use_on", "title": "use_on", "description": "List of block descriptors of the blocks that this item can be used on. If left empty, all blocks will be allowed.", "dataType": 15, "subForm": { "title": "Use On", "description": "Use On", "fields": [ { "id": "name", "title": "name", "description": "name", "dataType": 2 }, { "id": "tags", "title": "tags", "description": "tags", "dataType": 2 }, { "id": "states", "title": "states", "description": "states", "dataType": 0, "alternates": [ { "id": "states", "dataType": 2 }, { "id": "states", "dataType": 1 } ] } ] }, "alternates": [ { "id": "use_on", "dataType": 2 }, { "id": "use_on", "dataType": 16 } ], "samples": { "/samples/custom_items/behavior_packs/custom_item/items/my_sword_turtle.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": [ "minecraft:sand" ] } ] } } ], "description": "Allows an item to place entities into the world. Additionally, in version 1.19.80 and above, the component allows the item to set the spawn type of a monster spawner.", "samples": { "sample": [ { "path": "sample", "content": { "entity": "minecraft:spider", "dispense_on": [ "minecraft:web" ], "use_on": [ "minecraft:web" ] } } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/axe_turret_kit.item.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": { "entity": "mikeamm_gwve:axe_turret" } } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/bow_turret_kit.item.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": { "entity": "mikeamm_gwve:bow_turret" } } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/crossbow_turret_kit.item.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": { "entity": "mikeamm_gwve:crossbow_turret" } } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/gray_wave_generator_kit.item.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": { "entity": "mikeamm_gwve:gray_wave_generator" } } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/shbullet_turret_kit.item.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": { "entity": "mikeamm_gwve:shbullet_turret" } } ], "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/smfireball_turret_kit.item.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": { "entity": "mikeamm_gwve:smfireball_turret" } } ], "/samples/custom_items/behavior_packs/custom_item/items/my_sword_turtle.json": [ { "path": "/minecraft:item/components/minecraft:entity_placer/", "content": { "entity": "minecraft:turtle", "use_on": [ "minecraft:sand" ] } } ] }, "title": "Entity Placer", "id": "minecraft:entity_placer" }