Fellies/kubejs[e6]/client_scripts/item_modifiers/jei_descriptions.js

52 lines
1.7 KiB
JavaScript
Raw Normal View History

2021-01-28 22:28:10 +00:00
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.'
]
2021-01-31 15:23:02 +00:00
},
{
item: 'buildinggadgets:construction_paste',
description: [
'Obtained by breaking a Dense Construction Block with a Pickaxe.'
]
2021-01-28 22:28:10 +00:00
}
]
};
data.items.forEach(function (item) {
event.add(item.item, item.description);
});
2021-01-31 15:23:02 +00:00
disabledItems.forEach((item) => {
2021-01-28 22:28:10 +00:00
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"
);
});
2021-01-31 15:23:02 +00:00
refinedStorageItems.forEach((item) => {
event.add(`refinedstorage:${item}`, 'Can be dyed through crafting or by right clicking it with dye in-world.');
});
generatableCobblestone.forEach((cobblestone) => {
event.add(
cobblestone,
'Can be generated in a Vanilla Cobblestone Generator. The block below where the Cobblestone generates needs to be a Block of Iron.'
);
});
generatableStone.forEach((stone) => {
event.add(
stone,
'Can be generated in a Vanilla Stone Generator. The block below where the Stone generates needs to be a Block of Diamond.'
);
});
2021-01-28 22:28:10 +00:00
});