Block Modification

The block modification event is a startup event.

BlockEvents.modification event is a startup script event that allows you to change properties of existing blocks.

BlockEvents.modification(e => {
  e.modify('minecraft:stone', block => {
    block.destroySpeed = 0.1
    block.hasCollision = false
  })
})

All available properties:


Revision #4
Created 27 January 2023 21:29:21 by Lexxie
Updated 22 October 2023 22:55:53 by G_cat