#Create custom Pickaxes with harvest level?
12 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
You can make custom items with KubeJS, and the wiki has a page on them!
i custom them
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??
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.