@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
152 lines • 5.04 kB
JSON
{
"fields": [
{
"id": "value",
"title": "value",
"description": "Specifies the value of the enchantment (minimum of 0).",
"dataType": 0,
"samples": {
"/samples/custom_items/behavior_packs/custom_item/items/chestplate.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": 10
}
],
"/samples/custom_items/behavior_packs/custom_item/items/my_boots.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": 10
}
]
}
},
{
"id": "slot",
"title": "slot",
"description": "Specifies which types of enchantments can be applied. For example, `bow` would allow this item to be enchanted as if it were a bow.",
"dataType": 2,
"samples": {
"/samples/custom_items/behavior_packs/custom_item/items/chestplate.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": "armor_torso"
}
],
"/samples/custom_items/behavior_packs/custom_item/items/my_boots.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": "armor_feet"
}
],
"/samples/custom_items/behavior_packs/custom_item/items/my_helm.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": "armor_head"
}
],
"/samples/custom_items/behavior_packs/custom_item/items/my_leggings.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": "armor_legs"
}
]
}
}
],
"description": "Determines what enchantments can be applied to the item. Not all enchantments will have an effect on all item components.",
"note": "The following enchantment slot types that can be set for the value of `slot`: sword, bow, pickaxe, armor_head, armor_torso, armor_legs, armor_feet",
"title": "Enchantable",
"samples": {
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/axe_turret_kit.item.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"slot": "pickaxe",
"value": 14
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/bow_turret_kit.item.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"slot": "pickaxe",
"value": 14
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/crossbow_turret_kit.item.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"slot": "pickaxe",
"value": 14
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/gray_wave_generator_kit.item.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"slot": "pickaxe",
"value": 14
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/shbullet_turret_kit.item.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"slot": "pickaxe",
"value": 14
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/smfireball_turret_kit.item.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"slot": "pickaxe",
"value": 14
}
}
],
"/samples/custom_items/behavior_packs/custom_item/items/chestplate.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"value": 10,
"slot": "armor_torso"
}
}
],
"/samples/custom_items/behavior_packs/custom_item/items/my_boots.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"value": 10,
"slot": "armor_feet"
}
}
],
"/samples/custom_items/behavior_packs/custom_item/items/my_helm.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"value": 10,
"slot": "armor_head"
}
}
],
"/samples/custom_items/behavior_packs/custom_item/items/my_leggings.json": [
{
"path": "/minecraft:item/components/minecraft:enchantable/",
"content": {
"value": 10,
"slot": "armor_legs"
}
}
]
},
"id": "minecraft:enchantable"
}