13 lines
No EOL
400 B
JavaScript
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')
|
|
}) |