1
0
mirror of https://git.fellies.tech/minecraft/fellies.git synced 2021-02-13 10:18:48 +00:00

Add Enigmatica6 kubejs files

This commit is contained in:
2021-01-28 23:28:10 +01:00
parent 32b1313fdc
commit 98e6743204
694 changed files with 49010 additions and 0 deletions

View File

@ -0,0 +1,17 @@
events.listen('recipes', function (event) {
if (global.packmode !== 'normal') {
return;
}
var outputRemovals = ['torchmaster:feral_flare_lantern', 'torchmaster:megatorch'];
var idRemovals = [];
outputRemovals.forEach(function (removal) {
event.remove({ output: removal });
});
idRemovals.forEach(function (removal) {
event.remove({ id: removal });
});
});

View File

@ -0,0 +1,22 @@
events.listen('recipes', function (event) {
if (global.packmode !== 'normal') {
return;
}
var recipes = [
shapedRecipe('torchmaster:megatorch', ['AAA', 'BCB', 'DCD'], {
A: 'torchmaster:feral_flare_lantern',
B: '#enigmatica:crafting_materials/diamond',
C: '#minecraft:logs',
D: '#forge:storage_blocks/gold'
}),
shapedRecipe('torchmaster:feral_flare_lantern', [' A ', 'BCB', ' A '], {
A: '#forge:ingots/gold',
B: '#forge:glass',
C: '#forge:storage_blocks/glowstone'
})
];
recipes.forEach(function (recipe) {
event.shaped(recipe.result, recipe.pattern, recipe.key);
});
});

View File

@ -0,0 +1,5 @@
events.listen('recipes', function (event) {
if (global.packmode !== 'normal') {
return;
}
});