1
0
mirror of https://git.fellies.tech/minecraft/fellies.git synced 2021-02-13 10:18:48 +00:00
Fellies/kubejs/client_scripts/item_modifiers/jei_descriptions.js

21 lines
630 B
JavaScript
Raw Normal View History

2021-01-23 20:36:55 +00:00
events.listen('jei.information', (event) => {
var data = {
items: [
{
item: 'simplefarming:cheese_slice',
description: 'Obtained by right-clicking a Wheel of Cheese.'
}
]
};
data.items.forEach(function (pair) {
event.add(pair.item, pair.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"
);
});
});