{
  "fields": [
    {
      "id": "damage_chance",
      "title": "damage_chance",
      "description": "Specifies the percentage chance of this item losing durability. Default is set to 100. Defined as an int range with min and max value.",
      "dataType": 16,
      "subForm": {
        "title": "IntRange",
        "description": "IntRange",
        "fields": [
          {
            "id": "min",
            "title": "min",
            "description": "min",
            "dataType": 0
          },
          {
            "id": "max",
            "title": "max",
            "description": "max",
            "dataType": 0
          }
        ]
      },
      "samples": {
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword_chuck.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": {
              "min": 10,
              "max": 50
            }
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword_shoot.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": {
              "min": 10,
              "max": 50
            }
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword_singing.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": {
              "min": 0,
              "max": 0
            }
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword_weak.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": {
              "min": 100,
              "max": 100
            }
          }
        ]
      }
    },
    {
      "id": "max_durability",
      "title": "max_durability",
      "description": "Max durability is the amount of damage that this item can take before breaking. This is a required parameter and has a minimum of 0.",
      "dataType": 0,
      "samples": {
        "/samples/custom_items/behavior_packs/custom_item/items/chestplate.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": 200
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_boots.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": 200
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword_chuck.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": 10
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword_shoot.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": 10
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword_singing.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": 1000
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword_weak.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": 2
          }
        ],
        "/samples/custom_items/behavior_packs/custom_item/items/my_sword.json": [
          {
            "path": "/minecraft:item/components/minecraft:durability/",
            "content": 36
          }
        ]
      }
    }
  ],
  "description": "Sets how much damage the item can take before breaking, and allows the item to be combined at an anvil, grindstone, or crafting table.",
  "samples": {
    "sample": [
      {
        "path": "sample",
        "content": {
          "damage_chance": {
            "min": 10,
            "max": 50
          },
          "max_durability": 36
        }
      }
    ],
    "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/axe_turret_kit.item.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 251
        }
      }
    ],
    "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/bow_turret_kit.item.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 251
        }
      }
    ],
    "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/crossbow_turret_kit.item.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 251
        }
      }
    ],
    "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/gray_wave_generator_kit.item.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 251
        }
      }
    ],
    "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/shbullet_turret_kit.item.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 251
        }
      }
    ],
    "/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/items/smfireball_turret_kit.item.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 251
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/chestplate.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 200
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_boots.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 200
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_helm.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 200
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_leggings.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "max_durability": 200
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_sword_chuck.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "damage_chance": {
            "min": 10,
            "max": 50
          },
          "max_durability": 10
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_sword_shoot.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "damage_chance": {
            "min": 10,
            "max": 50
          },
          "max_durability": 10
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_sword_singing.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "damage_chance": {
            "min": 0,
            "max": 0
          },
          "max_durability": 1000
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_sword_turtle.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "damage_chance": {
            "min": 10,
            "max": 50
          },
          "max_durability": 10
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_sword_weak.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "damage_chance": {
            "min": 100,
            "max": 100
          },
          "max_durability": 2
        }
      }
    ],
    "/samples/custom_items/behavior_packs/custom_item/items/my_sword.json": [
      {
        "path": "/minecraft:item/components/minecraft:durability/",
        "content": {
          "damage_chance": {
            "min": 10,
            "max": 50
          },
          "max_durability": 36
        }
      }
    ]
  },
  "title": "Durability",
  "id": "minecraft:durability"
}