mirror of
https://git.fellies.tech/minecraft/fellies.git
synced 2021-02-13 10:18:48 +00:00
18 lines
444 B
JavaScript
18 lines
444 B
JavaScript
|
events.listen('item.registry', function (event) {
|
||
|
const items = [
|
||
|
'rare_lootbox',
|
||
|
'epic_lootbox',
|
||
|
'legendary_lootbox',
|
||
|
'miners_delight',
|
||
|
'sorcerers_delight',
|
||
|
'farmers_delight',
|
||
|
'blacksmiths_delight',
|
||
|
'scavengers_delight',
|
||
|
'alchemists_delight'
|
||
|
];
|
||
|
|
||
|
items.forEach((item) => {
|
||
|
event.create(item).group('KubeJS').texture(`kubejs:item/${item}`);
|
||
|
});
|
||
|
});
|