mirror of
https://git.fellies.tech/minecraft/fellies.git
synced 2021-02-13 10:18:48 +00:00
Copied configs for diff
This commit is contained in:
13
kubejs[default]/startup_scripts/script.js
Normal file
13
kubejs[default]/startup_scripts/script.js
Normal file
@ -0,0 +1,13 @@
|
||||
// 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')
|
||||
})
|
Reference in New Issue
Block a user