Cleanup to storage overhaul chests
This commit is contained in:
parent
8e5daf40fd
commit
679bd9b607
1 changed files with 9 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
onEvent('recipes', event => {
|
onEvent('recipes', event => {
|
||||||
const tiers = ['', '_tier_1', '_tier_2', '_tier_3'];
|
const tiers = ['_tier_1', '_tier_2', '_tier_3'];
|
||||||
const tierItems = ['', 'minecraft:iron_ingot', 'minecraft:gold_ingot', 'minecraft:diamond'];
|
const tierItems = ['minecraft:iron_ingot', 'minecraft:gold_ingot', 'minecraft:diamond'];
|
||||||
const storageTypes = ['chest', 'barrel'];
|
const storageTypes = ['chest', 'barrel'];
|
||||||
const woodTypes = ['oak', 'spruce', 'birch', 'acacia', 'jungle', 'dark_oak', 'crimson', 'warped'];
|
const woodTypes = ['oak', 'spruce', 'birch', 'acacia', 'jungle', 'dark_oak', 'crimson', 'warped'];
|
||||||
|
|
||||||
|
|
@ -13,13 +13,6 @@ onEvent('recipes', event => {
|
||||||
const out = Item.of(`storage_overhaul:${wood}_${store}${tiers[idx + 1]}`);
|
const out = Item.of(`storage_overhaul:${wood}_${store}${tiers[idx + 1]}`);
|
||||||
global.genCombinedRecipe(event, left, right, out);
|
global.genCombinedRecipe(event, left, right, out);
|
||||||
});
|
});
|
||||||
|
|
||||||
global.genCombinedRecipe(
|
|
||||||
event,
|
|
||||||
Ingredient.of('#forge:chests/wooden'),
|
|
||||||
Ingredient.of('#forge:ingots/iron'),
|
|
||||||
Item.of('storage_overhaul:oak_chest_tier_1')
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
@ -32,4 +25,11 @@ onEvent('recipes', event => {
|
||||||
Item.of(`storage_overhaul:${color}_shulker_box`)
|
Item.of(`storage_overhaul:${color}_shulker_box`)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
global.genCombinedRecipe(
|
||||||
|
event,
|
||||||
|
Ingredient.of('#harmeng:untiered_chests'),
|
||||||
|
Ingredient.of('#forge:ingots/iron'),
|
||||||
|
Item.of('storage_overhaul:oak_chest_tier_1')
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue