implements #1057
This commit is contained in:
parent
d80e5a7727
commit
0421951b84
2 changed files with 17 additions and 0 deletions
16
kubejs/startup_scripts/constructionwand/modifications.js
Normal file
16
kubejs/startup_scripts/constructionwand/modifications.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// priority: 0
|
||||
|
||||
function registerConstructionWandsItemModifications(event) {
|
||||
|
||||
// Increase durability of all construction wands
|
||||
|
||||
event.modify('constructionwand:stone_wand', item => {
|
||||
item.maxDamage = 791
|
||||
})
|
||||
event.modify('constructionwand:iron_wand', item => {
|
||||
item.maxDamage = 2303
|
||||
})
|
||||
event.modify('constructionwand:diamond_wand', item => {
|
||||
item.maxDamage = 6143
|
||||
})
|
||||
}
|
||||
|
|
@ -27,6 +27,7 @@ BlockEvents.modification(event => {
|
|||
*/
|
||||
ItemEvents.modification(event => {
|
||||
registerBeneathItemModifications(event)
|
||||
registerConstructionWandsItemModifications(event)
|
||||
registerMinecraftItemModifications(event)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue