Skip to content

Commit

Permalink
moved mud ball recipe to base, fixes #2882
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Jan 6, 2022
1 parent 26d6181 commit ce8fa84
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
onEvent('recipes', (event) => {
const id_prefix = 'enigmatica:base/environmental/shaped';
/*
,
{
output: '',
pattern: ['', '', ''],
key: {
A: ''
},
id: ''
}
*/

const recipes = [
{
output: Item.of('environmental:mud_ball', 16),
pattern: ['AAA', 'ABA', 'AAA'],
key: {
A: 'minecraft:dirt',
B: { type: 'pneumaticcraft:fluid', fluid: 'minecraft:water', amount: 1000 }
},
id: 'environmental:building/mud_balls_from_dirt'
}
];

recipes.forEach((recipe) => {
event.shaped(recipe.output, recipe.pattern, recipe.key).id(recipe.id);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ onEvent('recipes', (event) => {
*/

const recipes = [
{
output: Item.of('environmental:mud_ball', 16),
pattern: ['AAA', 'ABA', 'AAA'],
key: {
A: 'minecraft:dirt',
B: { type: 'pneumaticcraft:fluid', fluid: 'minecraft:water', amount: 1000 }
},
id: 'environmental:building/mud_balls_from_dirt'
},
{
output: 'environmental:kiln',
pattern: ['AAA', 'ABA', 'CCC'],
Expand Down

0 comments on commit ce8fa84

Please sign in to comment.