floretcraft-modpack/.minecraft/kubejs/startup_scripts/script.js
2024-09-23 17:22:21 -07:00

13 lines
No EOL
400 B
JavaScript

// priority: 0
console.info('Hello, World! (You will only see this line once in console, during startup)')
onEvent('item.registry', event => {
// Register new items here
// event.create('example_item').displayName('Example Item')
})
onEvent('block.registry', event => {
// Register new blocks here
// event.create('example_block').material('wood').hardness(1.0).displayName('Example Block')
})