Custom machines!
This commit is contained in:
parent
8c5a269bc3
commit
3ea67bffbe
53 changed files with 294 additions and 206 deletions
|
|
@ -19,13 +19,6 @@ onEvent('server.datapack.first', _ => {
|
|||
'betterendforge:pythadendron_planks',
|
||||
'betterendforge:tenanea_planks',
|
||||
'betterendforge:umbrella_tree_planks',
|
||||
'betternether:anchor_tree_planks',
|
||||
'betternether:mushroom_fir_planks',
|
||||
'betternether:mushroom_planks',
|
||||
'betternether:rubeus_planks',
|
||||
'betternether:stalagnate_planks',
|
||||
'betternether:wart_planks',
|
||||
'betternether:willow_planks',
|
||||
'enhanced_mushrooms:brown_mushroom_planks',
|
||||
'enhanced_mushrooms:glowshroom_planks',
|
||||
'enhanced_mushrooms:red_mushroom_planks',
|
||||
|
|
|
|||
|
|
@ -1,93 +0,0 @@
|
|||
onEvent('recipes', event => {
|
||||
const betterNetherWoods = [
|
||||
{
|
||||
log: 'betternether:mushroom_fir_log',
|
||||
strippedLog: 'betternether:striped_log_mushroom_fir',
|
||||
wood: 'betternether:mushroom_fir_wood',
|
||||
strippedWood: 'betternether:striped_wood_mushroom_fir',
|
||||
plank: 'betternether:mushroom_fir_planks',
|
||||
},
|
||||
{
|
||||
log: 'betternether:stalagnate_log',
|
||||
strippedLog: 'betternether:striped_log_stalagnate',
|
||||
wood: 'betternether:stalagnate_bark',
|
||||
strippedWood: 'betternether:striped_bark_stalagnate',
|
||||
plank: 'betternether:stalagnate_planks',
|
||||
},
|
||||
{
|
||||
log: 'betternether:willow_log',
|
||||
strippedLog: 'betternether:striped_log_willow',
|
||||
wood: 'betternether:willow_bark',
|
||||
strippedWood: 'betternether:striped_bark_willow',
|
||||
plank: 'betternether:willow_planks',
|
||||
},
|
||||
{
|
||||
log: 'betternether:nether_sakura_log',
|
||||
strippedLog: 'betternether:striped_log_nether_sakura',
|
||||
wood: 'betternether:nether_sakura_bark',
|
||||
strippedWood: 'betternether:striped_bark_nether_sakura',
|
||||
plank: 'betternether:nether_sakura_planks',
|
||||
},
|
||||
{
|
||||
log: 'betternether:anchor_tree_log',
|
||||
strippedLog: 'betternether:striped_log_anchor_tree',
|
||||
wood: 'betternether:anchor_tree_bark',
|
||||
strippedWood: 'betternether:striped_bark_anchor_tree',
|
||||
plank: 'betternether:anchor_tree_planks',
|
||||
},
|
||||
{
|
||||
log: 'betternether:rubeus_log',
|
||||
strippedLog: 'betternether:striped_log_rubeus',
|
||||
wood: 'betternether:rubeus_bark',
|
||||
strippedWood: 'betternether:striped_bark_rubeus',
|
||||
plank: 'betternether:rubeus_planks',
|
||||
},
|
||||
{
|
||||
log: 'betternether:wart_log',
|
||||
strippedLog: 'betternether:striped_log_wart',
|
||||
wood: 'betternether:wart_bark',
|
||||
strippedWood: 'betternether:striped_bark_wart',
|
||||
plank: 'betternether:wart_planks',
|
||||
},
|
||||
];
|
||||
|
||||
betterNetherWoods.forEach(woodType => {
|
||||
event.remove({output: woodType.plank});
|
||||
global
|
||||
.genNatProgRecipes(woodType.log, woodType.strippedLog, woodType.plank)
|
||||
.forEach(x => event.custom(x));
|
||||
global
|
||||
.genNatProgRecipes(woodType.wood, woodType.strippedWood, woodType.plank)
|
||||
.forEach(x => event.custom(x));
|
||||
});
|
||||
|
||||
event.remove({output: 'betternether:quartz_glass'});
|
||||
global.genCombinedRecipe(
|
||||
event,
|
||||
Ingredient.of('#forge:glass/colorless'),
|
||||
Ingredient.of('minecraft:quartz'),
|
||||
Item.of('betternether:quartz_glass')
|
||||
);
|
||||
|
||||
global.genAlloyingRecipe(
|
||||
event,
|
||||
{item: `minecraft:gold_ingot`},
|
||||
{item: 'minecraft:glowstone_dust'},
|
||||
`betternether:cincinnasite_ingot`,
|
||||
2
|
||||
);
|
||||
|
||||
['netherrack', 'glowstone', 'blackstone', 'basalt', 'bone'].forEach(x => {
|
||||
event.remove({output: `betternether:${x}_stalactite`});
|
||||
});
|
||||
|
||||
[
|
||||
'minecraft:minecart',
|
||||
'minecraft:shield',
|
||||
'minecraft:piston',
|
||||
'minecraft:bucket',
|
||||
'minecraft:detector_rail',
|
||||
'minecraft:activator_rail',
|
||||
'minecraft:rail',
|
||||
].forEach(x => event.remove({mod: 'betternether', output: x}));
|
||||
});
|
||||
|
|
@ -6,13 +6,13 @@ onEvent('recipes', event => {
|
|||
// Draconium dust/ingot removal because there is no GOD
|
||||
event.remove({output: `${modid}:draconium_dust`});
|
||||
event.remove({id: `${modid}:components/draconium_ingot`});
|
||||
event.custom({
|
||||
type: 'mekanism:nucleosynthesizing',
|
||||
itemInput: {ingredient: {item: 'industrialforegoing:pink_slime_ingot'}},
|
||||
gasInput: {amount: 20, gas: 'mekanism:antimatter'},
|
||||
output: {item: `${modid}:draconium_ingot`},
|
||||
duration: 10000,
|
||||
});
|
||||
|
||||
event.recipes.custommachinery
|
||||
.custom_machine('harmeng:fluid_injector', 2500)
|
||||
.requireItem(Item.of('industrialforegoing:pink_slime_ingot'))
|
||||
.requireFluid(Fluid.of('industrialforegoing:ether_gas', 500))
|
||||
.requireEnergyPerTick(10000)
|
||||
.produceItem(Item.of(`${modid}:draconium_ingot`));
|
||||
|
||||
// Other recripes
|
||||
event.remove({output: `${modid}:infused_obsidian`});
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
onEvent('recipes', event => {
|
||||
event.remove({output: 'enderstorage:ender_chest'});
|
||||
event.remove({output: 'enderstorage:ender_tank'});
|
||||
event.remove({output: 'enderstorage:ender_pouch'});
|
||||
|
||||
global.genCombinedRecipe(
|
||||
event,
|
||||
Ingredient.of('minecraft:ender_chest'),
|
||||
Ingredient.of('kubejs:ender_singularity'),
|
||||
Item.of('enderstorage:ender_chest')
|
||||
);
|
||||
global.genCombinedRecipe(
|
||||
event,
|
||||
Ingredient.of('#harmeng:basic_tank'),
|
||||
Ingredient.of('kubejs:ender_singularity'),
|
||||
Item.of('enderstorage:ender_tank')
|
||||
);
|
||||
global.genCombinedRecipeSewing(
|
||||
event,
|
||||
Ingredient.of('improvedbackpacks:large_pocket'),
|
||||
Ingredient.of('kubejs:ender_singularity'),
|
||||
Item.of('enderstorage:ender_pouch'),
|
||||
2
|
||||
);
|
||||
});
|
||||
|
|
@ -65,12 +65,6 @@ onEvent('recipes', event => {
|
|||
});
|
||||
|
||||
// A Use for Glowstone Stalactites
|
||||
global.genUniversalCrushingRecipe(
|
||||
event,
|
||||
Ingredient.of('betternether:glowstone_stalactite'),
|
||||
Item.of('3x minecraft:glowstone_dust'),
|
||||
null
|
||||
);
|
||||
event.remove({output: 'create:cinder_flour'});
|
||||
// A Use for Netherrack Stalactites
|
||||
global.genUniversalCrushingRecipe(
|
||||
|
|
@ -79,12 +73,6 @@ onEvent('recipes', event => {
|
|||
Item.of('2x create:cinder_flour'),
|
||||
null
|
||||
);
|
||||
global.genUniversalCrushingRecipe(
|
||||
event,
|
||||
Ingredient.of('betternether:netherrack_stalactite'),
|
||||
Item.of('1x create:cinder_flour'),
|
||||
null
|
||||
);
|
||||
|
||||
// Crushing compatibility for Create Wheat Flour
|
||||
event.custom({
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
onEvent('recipes', event => {
|
||||
event.custom({type: 'chipped:botanist_workbench', tags: ['harmeng:overworld_saplings']});
|
||||
event.custom({type: 'chipped:botanist_workbench', tags: ['harmeng:nether_saplings']});
|
||||
event.custom({type: 'chipped:botanist_workbench', tags: ['harmeng:end_saplings']});
|
||||
event.custom({type: 'chipped:botanist_workbench', tags: ['harmeng:blossom_saplings']});
|
||||
event.custom({type: 'chipped:botanist_workbench', tags: ['harmeng:slime_saplings']});
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
onEvent('recipes', event => {
|
||||
event.custom({
|
||||
type: 'natural-progression:damage_tools',
|
||||
ingredients: [{item: 'betternether:basalt_slab'}, {tag: 'betterendforge:hammers'}],
|
||||
result: {item: 'quark:blank_rune', count: 3},
|
||||
});
|
||||
event.custom({
|
||||
type: 'natural-progression:damage_tools',
|
||||
ingredients: [{item: 'infernalexp:basalt_slab'}, {tag: 'betterendforge:hammers'}],
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ onEvent('recipes', event => {
|
|||
});
|
||||
|
||||
event.remove({output: 'minecraft:barrel'});
|
||||
event.remove({output: 'betternether:barrel_crimson'});
|
||||
event.remove({output: 'betternether:barrel_warped'});
|
||||
event.shapeless('minecraft:barrel', ['#forge:barrels/wooden']);
|
||||
|
||||
// Makes SO's barrels use a more vanilla-like recipe
|
||||
|
|
|
|||
|
|
@ -77,17 +77,6 @@ const harmoniousEngineeringTags = event => {
|
|||
'betterendforge:pythadendron_barrel',
|
||||
'betterendforge:tenanea_barrel',
|
||||
'betterendforge:umbrella_tree_barrel',
|
||||
'betternether:barrel_anchor_tree',
|
||||
'betternether:barrel_crimson',
|
||||
'betternether:barrel_mushroom_fir',
|
||||
'betternether:barrel_mushroom',
|
||||
'betternether:barrel_nether_sakura',
|
||||
'betternether:barrel_reed',
|
||||
'betternether:barrel_rubeus',
|
||||
'betternether:barrel_stalagnate',
|
||||
'betternether:barrel_warped',
|
||||
'betternether:barrel_wart',
|
||||
'betternether:barrel_willow',
|
||||
'minecraft:barrel',
|
||||
'storage_overhaul:acacia_barrel',
|
||||
'storage_overhaul:birch_barrel',
|
||||
|
|
@ -107,8 +96,6 @@ const naturalProgressionTags = event => {
|
|||
'betterendforge:aeternium_axe',
|
||||
'betterendforge:terminite_axe',
|
||||
'betterendforge:thallasium_axe',
|
||||
'betternether:cincinnasite_axe',
|
||||
'betternether:nether_ruby_axe',
|
||||
'immersiveengineering:axe_steel',
|
||||
'mekanismtools:bronze_axe',
|
||||
'mekanismtools:bronze_paxel',
|
||||
|
|
@ -269,17 +256,6 @@ const saplingGroups = event => {
|
|||
'upgrade_aquatic:river_sapling',
|
||||
].forEach(x => event.add('harmeng:overworld_saplings', x));
|
||||
|
||||
[
|
||||
'betternether:anchor_tree_sapling',
|
||||
'betternether:giant_mold_sapling',
|
||||
'betternether:jellyfish_mushroom_sapling',
|
||||
'betternether:mushroom_fir_sapling',
|
||||
'betternether:nether_sakura_sapling',
|
||||
'betternether:rubeus_sapling',
|
||||
'betternether:soul_lily_sapling',
|
||||
'betternether:willow_sapling',
|
||||
].forEach(x => event.add('harmeng:nether_saplings', x));
|
||||
|
||||
[
|
||||
'betterendforge:dragon_tree_sapling',
|
||||
'betterendforge:helix_tree_sapling',
|
||||
|
|
|
|||
Loading…
Reference in a new issue