Skip to content

Commit

Permalink
fixes #987 and #959 properly
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Jan 23, 2021
1 parent 72e07f5 commit e983d4d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions kubejs/server_scripts/enigmatica/kubejs/base/recipes/shaped.js
Expand Up @@ -339,9 +339,6 @@ events.listen('recipes', function (event) {
E: 'thermal:hazmat_boots',
F: 'alexsmobs:frontier_cap'
}),
shapedRecipe('minecraft:chest', ['AAA', 'A A', 'AAA'], {
A: '#minecraft:planks'
}),
shapedRecipe(
Item.of('morphtool:tool', {
'morphtool:is_morphing': 1,
Expand Down Expand Up @@ -396,4 +393,17 @@ events.listen('recipes', function (event) {
recipes.forEach(function (recipe) {
event.shaped(recipe.result, recipe.pattern, recipe.key);
});

buildWoodVariants.forEach((wood) => {
if (wood.modId == 'minecraft') {
return;
}
event.shaped(Item.of('minecraft:oak_sign', 3), ['AAA', 'AAA', ' B '], {
A: wood.plankBlock,
B: '#forge:rods/wooden'
});
event.shaped(Item.of('minecraft:chest'), ['AAA', 'A A', 'AAA'], {
A: wood.plankBlock
});
});
});

0 comments on commit e983d4d

Please sign in to comment.