Skip to content

Commit

Permalink
Merge pull request #2356 from MuteTiefling/develop
Browse files Browse the repository at this point in the history
Paper rebalance
  • Loading branch information
MuteTiefling committed Jun 5, 2021
2 parents c610e6e + adaa533 commit 0db3e2b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
Expand Up @@ -982,6 +982,14 @@ events.listen('recipes', (event) => {
A: 'atum:cloth_scrap',
B: '#forge:rods/wooden'
}
},
{
output: Item.of('minecraft:paper', 3),
pattern: ['AAA'],
key: {
A: '#forge:dusts/wood'
},
id: 'mekanism:paper'
}
];

Expand Down
@@ -0,0 +1,39 @@
events.listen('recipes', (event) => {
const recipes = [
{
type: 'immersiveengineering:shapeless_fluid',
inputs: [
'#forge:dusts/wood',
'#forge:dusts/wood',
'#forge:dusts/wood',
'#forge:dusts/wood',
{ fluid: 'minecraft:water' }
],
output: Item.of('minecraft:paper', 6),
id: 'immersiveengineering:crafting/paper_from_sawdust'
}
];
recipes.forEach((recipe) => {
let ingredients = [];
recipe.inputs.forEach((input) => {
if (input.fluid) {
ingredients.push({
tag: input.fluid,
amount: 1000,
type: 'immersiveengineering:fluid'
});
} else {
ingredients.push(Ingredient.of(input).toJson());
}
});

const re = event.custom({
type: 'immersiveengineering:shapeless_fluid',
ingredients: ingredients,
result: recipe.output
});
if (recipe.id) {
re.id(recipe.id);
}
});
});

0 comments on commit 0db3e2b

Please sign in to comment.