implements #1057
This commit is contained in:
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)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user