Block Modification

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

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

All available properties:


Revision #2
Created 25 August 2021 07:39:27 by Lat
Updated 14 October 2022 14:22:41 by Lat