Item Modification

item.modification event is a startup script event that allows you to change properties of existing items

onEvent('item.modification', event => {
  event.modify('minecraft:ender_pearl', item => {
    item.maxStackSize = 64
    item.fireResistant = true
  })
})

All available properties:


Revision #2
Created 18 August 2021 20:30:28 by Lat
Updated 14 October 2022 14:22:41 by Lat