itemTool.yml

Tool Configuration (itemTool.yml):

items:
  pickaxe_example:
    name: "Example Iron Pickaxe" # Automatically added to the language
    namespace: coreextensions # Namespace
    id: "iron_pickaxe" # Item ID
    types: "PICKAXE" # Pickaxe item type
    properties:
      generate: true
      groups: "coreextensions:itemgroups"
      level: "2"
      attackDamage: 1.0 # Damage
      attackSpeed: -2.8 # Attack speed
      durability: 250 # Durability (integer int type)
      repairMaterial: minecraft:iron_ingot # Anvil repair material
  axe_example:
    name: "Example Iron Axe" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "iron_axe" # Item ID
    types: "AXE" # Axe item type
    properties:
      generate: true
      groups: "coreextensions:itemgroups"
      attackDamage: 6.0 # Damage
      attackSpeed: -3.1 # Attack speed
      durability: 200 # Durability (integer int type)
      repairMaterial: "minecraft:iron_ingot" # Anvil repair material
  shovel_example:
    name: "Example Iron Shovel" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "iron_shovel" # Item ID
    types: "SHOVEL" # Shovel item type
    properties:
      generate: true
      groups: "coreextensions:itemgroups"
      attackDamage: 1.5 # Damage
      attackSpeed: -3.0 # Attack speed
      durability: 250 # Durability (integer int type)
      repairMaterial: minecraft:iron_ingot # Anvil repair material
  wooden_hoe_example:
    name: "Example Wooden Hoe" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "wooden_hoe" # Item ID
    types: "HOE" # Hoe item type
    properties:
      generate: true
      groups: "coreextensions:itemgroups"
      attackDamage: 0.0 # Damage
      attackSpeed: -3.0 # Attack speed
      durability: 59 # Durability
      repairMaterial: "minecraft:stick" # Anvil repair material
  shears_example:
    name: "Example Shears" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "shears" # Item ID
    types: "SHEARS" # Shears item type
    properties:
      generate: true
      groups: "coreextensions:itemgroups"
      durability: 300 # Durability

This configuration file defines different types of tools, such as pickaxes, axes, shovels, hoes, and shears, along with their properties and repair materials in a Minecraft-style mod or extension. The properties include attack damage, attack speed, durability, and more.

Last updated