floretcraft-modpack/.minecraft/kubejs/startup_scripts/script.js

13 lines
400 B
JavaScript
Raw Normal View History

2024-09-24 01:22:21 +01:00
// 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')
})