port everything to KubeJS
This commit is contained in:
parent
3acef7947c
commit
50ad720258
1125 changed files with 39415 additions and 15189 deletions
11
kubejs/startup_scripts/script.js
Normal file
11
kubejs/startup_scripts/script.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// priority: 0
|
||||
|
||||
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')
|
||||
});
|
||||
Loading…
Reference in a new issue