mirror of
https://git.fellies.tech/minecraft/fellies.git
synced 2021-02-13 10:18:48 +00:00
v0.7-1.16.5-36.0.14
This commit is contained in:
6
kubejs/startup_scripts/items.js
Normal file
6
kubejs/startup_scripts/items.js
Normal file
@ -0,0 +1,6 @@
|
||||
events.listen('item.registry', function (event) {
|
||||
event.create('diamond_nugget').group('fellies').displayName('Diamond Nugget');
|
||||
event.create('graphite_one').group('fellies').displayName('Graphite 1');
|
||||
event.create('graphite_two').group('fellies').displayName('Graphite 2');
|
||||
event.create('graphite_three').group('fellies').displayName('Graphite 3');
|
||||
});
|
@ -1,13 +1,13 @@
|
||||
// priority: 0
|
||||
|
||||
console.info('Hello, World! (You will only see this line once in console, during startup)')
|
||||
// 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('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')
|
||||
})
|
||||
// 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