28 lines
877 B
JavaScript
28 lines
877 B
JavaScript
|
events.listen('jei.information', (event) => {
|
||
|
var data = {
|
||
|
items: [
|
||
|
{
|
||
|
item: 'simplefarming:cheese_slice',
|
||
|
description: ['Obtained by right-clicking a Wheel of Cheese.']
|
||
|
},
|
||
|
{
|
||
|
item: 'astralsorcery:stardust',
|
||
|
description: [
|
||
|
'Obtained by left-clicking a Starmetal Ingot in-world. See the Astral Tome for more information.'
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
|
||
|
data.items.forEach(function (item) {
|
||
|
event.add(item.item, item.description);
|
||
|
});
|
||
|
|
||
|
global.disabledItems.forEach((item) => {
|
||
|
event.add(
|
||
|
item,
|
||
|
"This item has been disabled, if you managed to obtain it please report it on Enigmatica 6's issue tracker: https://github.com/NillerMedDild/Enigmatica6/issues"
|
||
|
);
|
||
|
});
|
||
|
});
|