#How to use BlockBehaviour Java Class in KubeJS?

5 messages · Page 1 of 1 (latest)

chilly cradleBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

dusky creek
#
StartupEvents.registry('block', event => {
  event.create('black_wooden_planks')
    .displayName('Black Wooden Planks')
    .soundType('wood')
    .hardness(2)
    .resistance(3)
    .tagBlock('minecraft:planks')
    .tagBlock('minecraft:mineable/axe')
})

BlockEvents.modification(event => {
  Blocks.FIRE.setFlammable("kubejs:black_wooden_planks", 5, 20)
})
dusky creek
dusky creek
#

bump