#Create custom Pickaxes with harvest level?

12 messages · Page 1 of 1 (latest)

umbral granite
#

I created several new pickaxes and wanted to use them with a custom harvest level
for example I created the nickel pickaxe I want it to be the same as an iron pickaxe, I created a platinum pickaxe I want it to be the same as a diamond pickaxe

cloud dawnBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

novel grove
#

this would have to be done with tiers

#

??kjswiki

sturdy mortarBOT
novel grove
umbral granite
#
event.add('copper', tier => {
        tier.uses = 215
        tier.speed = 5
        tier.attackDamageBonus = 1
        tier.level = 1
        tier.enchantmentValue = 7
        tier.repairIngredient = '#forge:ingots/copper'
    })
#

the all pickaxes i create all can break all ores

#
event.create(`kubejs:${tool.id}_${type}`, type)
  .unstackable()
  .tier(tool.id)
  .texture('layer0', `custom_gregtech:item/tools/${type}/handle`)
  .texture('layer1', `custom_gregtech:item/tools/${type}/${type}`)
  .color(1, tool.color)

this code to create

event.add('copper', tier => {
  tier.uses = 215
  tier.speed = 5
  tier.attackDamageBonus = 1
  tier.level = 1
  tier.enchantmentValue = 7
  tier.repairIngredient = '#forge:ingots/copper'
})

code for custom tier

#

and for question what is tier.level??

sturdy mortarBOT
#

Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue! This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.

Do you have any other questions regarding your issue? Feel free to ask!
Note: You generally should create a new post for unrelated issues.