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:
@ -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 });
|
||||
});
|
||||
});
|
@ -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);
|
||||
});
|
||||
});
|
@ -0,0 +1,5 @@
|
||||
events.listen('recipes', function (event) {
|
||||
if (global.packmode !== 'normal') {
|
||||
return;
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user