чуточку г*внокода
главное признать свои ошибки
This commit is contained in:
parent
976ee25ec4
commit
d63feca6ac
8 changed files with 82 additions and 4 deletions
9
kubejs/startup_scripts/ae2/fluid.js
Normal file
9
kubejs/startup_scripts/ae2/fluid.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// priority: 0
|
||||
|
||||
const registerAE2Liquids = (event) => {
|
||||
event.create('fluix')
|
||||
.displayName('Liquid Fluix')
|
||||
.thickTexture(0x57448d)
|
||||
.bucketColor(0x46396d)
|
||||
.noBlock()
|
||||
};
|
||||
12
kubejs/startup_scripts/ae2/items.js
Normal file
12
kubejs/startup_scripts/ae2/items.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// priority: 0
|
||||
|
||||
const registerAE2Items = (event) => {
|
||||
event.create('rods/certus_quartz')
|
||||
.displayName('Certus Quartz Rod')
|
||||
.maxStackSize(32)
|
||||
.texture("kubejs:item/certus_quartz_rod");
|
||||
event.create('rods/nether_quartz')
|
||||
.displayName('Nether Quartz Rod')
|
||||
.maxStackSize(32)
|
||||
.texture("kubejs:item/nether_quartz_rod")
|
||||
};
|
||||
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
StartupEvents.registry('item', (event) => {
|
||||
registerCreateItems(event);
|
||||
registerAE2Items(event);
|
||||
})
|
||||
|
||||
/**
|
||||
|
|
@ -12,4 +13,11 @@ StartupEvents.registry('item', (event) => {
|
|||
*/
|
||||
StartupEvents.registry('block', (event) => {
|
||||
|
||||
})
|
||||
|
||||
/**
|
||||
* Событие регистрации жидкостей.
|
||||
*/
|
||||
StartupEvents.registry('fluid', (event) => {
|
||||
registerAE2Liquids(event);
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue