Version 5.4

This commit is contained in:
2026-01-27 17:19:00 +00:00
parent 59ef42a1c2
commit d7558df773
3554 changed files with 303488 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
ServerEvents.recipes(allthemods => {
allthemods.remove(
[
{
id: 'immersiveengineering:crusher/coke_block'
},
{
id: 'immersiveengineering:crusher/coke'
},
{
id: 'immersiveengineering:crafting/coke_to_slab'
}
]
)
allthemods.custom(
{
"type": "immersiveengineering:crusher",
"energy": 2400,
"input": {
"tag": "c:coal_coke"
},
"result": {
"item": "modern_industrialization:coke_dust"
}
}
)
allthemods.custom(
{
"type": "immersiveengineering:crusher",
"energy": 4800,
"input": {
"tag": "c:storage_blocks/coal_coke"
},
"result": {
"basePredicate": {
"item": "modern_industrialization:coke_dust"
},
"count": 9
}
}
)
})
ServerEvents.tags('item', allthemods => {
allthemods.add('c:coal_coke', 'modern_industrialization:coke')
allthemods.add('c:dusts/coal_coke', 'modern_industrialization:coke_dust')
allthemods.add('c:storage_blocks/coal_coke', 'modern_industrialization:coke_block')
allthemods.add('c:dusts', 'immersiveengineering:dust_coke')
allthemods.add('almostunified:hide', ['immersiveengineering:coke', 'immersiveengineering:dust_coke', 'railcraft:coal_coke_block', 'immersiveengineering:slab_coke'])
})
ServerEvents.tags('fluid', allthemods => {
allthemods.add('c:crude_oil', 'modern_industrialization:crude_oil')
allthemods.add('c:fuels/crude_oil', 'modern_industrialization:crude_oil')
})
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,122 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
ServerEvents.recipes(allthemods => {
allthemods.custom({
"type": "modern_industrialization:mixer",
"eu": 2,
"duration": 100,
"item_inputs": {
"amount": 1,
"tag": "c:dusts/redstone"
},
"fluid_inputs": {
"tag": "c:creosote",
"amount": 500
},
"fluid_outputs": {
"fluid": "modern_industrialization:lubricant",
"amount": 500
}
}).id("modern_industrialization:materials/mixer/lubricant")
allthemods.custom({
"type": "modern_industrialization:assembler",
"eu": 8,
"duration": 200,
"item_inputs": [
{
"tag": "c:rods/gold",
"amount": 6
},
{
"item": "minecraft:stick",
"amount": 1
},
{
"amount": 1,
"tag": "c:dusts/redstone"
}
],
"fluid_inputs": [
{
"tag": "c:creosote",
"amount": 100
}
],
"item_outputs": [
{
"item": "minecraft:powered_rail",
"amount": 8
}
]
}).id("modern_industrialization:vanilla_recipes/assembler/powered_rail")
allthemods.custom({
"type": "modern_industrialization:assembler",
"eu": 8,
"duration": 200,
"item_inputs": [
{
"tag": "c:rods/steel",
"amount": 6
},
{
"item": "minecraft:stick",
"amount": 1
}
],
"fluid_inputs": [
{
"tag": "c:creosote",
"amount": 100
}
],
"item_outputs": [
{
"item": "minecraft:rail",
"amount": 16
}
]
}).id("modern_industrialization:vanilla_recipes/assembler/rail")
allthemods.custom({
"neoforge:conditions": [
{
"type": "neoforge:mod_loaded",
"modid": "immersiveengineering"
}
],
"type": "oritech:centrifuge_fluid",
"fluidInput": {
"amount": 125,
"fluid": "#c:creosote"
},
"fluidOutputs": [],
"ingredients": [
{
"tag": "minecraft:planks"
}
],
"results": [
{
"count": 1,
"id": "immersiveengineering:treated_wood_horizontal"
}
],
"time": 100
}).id("oritech:centrifuge/fluid/compat/immersiveengineering/treated_planks")
})
let $Tags = Java.loadClass("dev.latvian.mods.kubejs.util.Tags")
let $FluidFuel = Java.loadClass("aztech.modern_industrialization.api.datamaps.FluidFuel")
ServerEvents.generateData("after_mods", event => {
let fluidFuels = DataMap.typeOf("minecraft:fluid", "modern_industrialization:fluid_fuels")
event.dataMap(fluidFuels, mapFile => {
mapFile.addTag($Tags.fluid("c:creosote"), new $FluidFuel(160))
})
})
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,281 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
ServerEvents.tags('item', allthemods => {
let tags = ['rftoolsutility:living/highyield', 'extended_industrialization:farmer_plantable', 'c:salad_ingredients', 'c:crops/asparagus', 'c:vegetables', 'rftoolsutility:living/living', 'c:salad_ingredients/asparagus', 'c:vegetables/asparagus', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:asparagus') })
tags = ['rftoolsutility:living/living', 'c:egg', 'c:crops', 'rftoolsutility:living/highyield', 'c:vegetables', 'c:fruits', 'c:vegetables/avocado', 'extended_industrialization:farmer_plantable', 'diet:fruits', 'c:egg/avocado', 'c:fruits/avocado', 'c:crops/avocado']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:avocado') })
tags = ['c:vinegar_ingredients/barley', 'rftoolsutility:living/living', 'c:flour_plants', 'c:flour_plants/barley', 'c:grain/barley', 'c:crops/barley', 'rftoolsutility:living/highyield', 'c:grain', 'c:vinegar_ingredients', 'c:carbs/barley', 'c:carbs', 'extended_industrialization:farmer_plantable', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:barley') })
tags = ['c:berries', 'c:berries/blackberry', 'c:fruits/blackberries', 'c:paper_plants', 'rftoolsutility:living/living', 'c:crops', 'rftoolsutility:living/highyield', 'c:crops/blackberry', 'c:fruits', 'extended_industrialization:farmer_plantable', 'c:paper_plants/blackberry', 'c:fruits/blackberry']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:blackberry') })
tags = ['rftoolsutility:living/living', 'c:berries', 'c:fruits/blueberries', 'extended_industrialization:farmer_plantable', 'c:fruits', 'c:fruits/blueberry', 'rftoolsutility:living/highyield', 'c:crops', 'c:crops/blueberry', 'c:berries/blueberry']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:blueberry') })
tags = ['rftoolsutility:living/highyield', 'c:salad_ingredients/broccoli', 'extended_industrialization:farmer_plantable', 'c:salad_ingredients', 'c:crops/broccoli', 'c:vegetables', 'rftoolsutility:living/living', 'c:vegetables/broccoli', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:broccoli') })
tags = ['c:vegetables/cabbage', 'rftoolsutility:living/living', 'c:salad_ingredients/cabbage', 'c:leafyvegetables/cabbage', 'extended_industrialization:farmer_plantable', 'c:leafyvegetables', 'c:crops/cabbage', 'c:salad_ingredients', 'rftoolsutility:living/highyield', 'c:crops', 'c:vegetables']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:cabbage') })
tags = ['rftoolsutility:living/highyield', 'c:vegetables/cauliflower', 'extended_industrialization:farmer_plantable', 'c:salad_ingredients', 'c:salad_ingredients/cauliflower', 'c:crops/cauliflower', 'c:vegetables', 'rftoolsutility:living/living', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:cauliflower') })
tags = ['rftoolsutility:living/living', 'c:vegetables', 'extended_industrialization:farmer_plantable', 'c:vegetables/celery', 'c:crops', 'rftoolsutility:living/highyield', 'c:crops/celery']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:celery') })
tags = ['rftoolsutility:living/highyield', 'c:fruits', 'extended_industrialization:farmer_plantable', 'c:vinegar_ingredients', 'rftoolsutility:living/living', 'c:vinegar_ingredients/cherry', 'c:fruits/cherry', 'c:crops', 'c:crops/cherry']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:cherries') })
tags = ['c:protein/corn', 'c:carbs/corn', 'rftoolsutility:living/living', 'c:crops/corn', 'c:flour_plants', 'c:flour_plants/corn', 'c:protein', 'rftoolsutility:living/highyield', 'c:grain/corn', 'c:grain', 'c:carbs', 'extended_industrialization:farmer_plantable', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:corn') })
tags = ['c:crops/eggplant', 'rftoolsutility:living/living', 'c:vegetables/eggplant', 'c:vegetables', 'extended_industrialization:farmer_plantable', 'c:crops', 'rftoolsutility:living/highyield']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:eggplant') })
tags = ['rftoolsutility:living/living', 'c:vegetables', 'c:rootvegetables/garlic', 'extended_industrialization:farmer_plantable', 'rftoolsutility:living/highyield', 'c:crops/garlic', 'c:crops', 'supplementaries:cookies', 'c:rootvegetables', 'c:vegetables/garlic']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:garlic_bulb') })
tags = ['rftoolsutility:living/living', 'c:crops', 'rftoolsutility:living/highyield', 'c:crops/ginger', 'extended_industrialization:farmer_plantable']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:ginger_root') })
tags = ['rftoolsutility:living/living', 'c:fruits', 'c:fruits/grapes', 'c:vinegar_ingredients/grape', 'c:vinegar_ingredients', 'extended_industrialization:farmer_plantable', 'c:crops/grape', 'rftoolsutility:living/highyield', 'c:fruits/grape', 'c:vinegar_ingredients/grapes', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:grapes') })
// Can argue that green beans != beans, but good enough
tags = ['rftoolsutility:living/living', 'c:grain/bean', 'extended_industrialization:farmer_plantable', 'c:grain', 'rftoolsutility:living/highyield', 'c:flour_plants/bean', 'supplementaries:cookies', 'c:crops/bean', 'c:crops', 'c:flour_plants']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:green_bean') })
tags = ['rftoolsutility:living/highyield', 'c:peppers', 'c:peppers/bellpepper', 'extended_industrialization:farmer_plantable', 'c:crops/bellpepper', 'c:vegetables', 'rftoolsutility:living/living', 'c:vegetables/bellpepper', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:green_pepper') })
tags = ['rftoolsutility:living/living', 'c:crops', 'rftoolsutility:living/highyield', 'c:citrusfruits', 'c:fruits', 'c:citrusfruits/lemon', 'c:vinegar_ingredients/lemon', 'extended_industrialization:farmer_plantable', 'c:fruits/lemon', 'diet:fruits', 'c:vinegar_ingredients', 'c:crops/lemon']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:lemon') })
tags = ['c:vegetables', 'c:leafyvegetables/lettuce', 'rftoolsutility:living/living', 'c:crops/lettuce', 'extended_industrialization:farmer_plantable', 'c:vegetables/lettuce', 'c:leafyvegetables', 'c:salad_ingredients', 'rftoolsutility:living/highyield', 'c:salad_ingredients/lettuce', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:lettuce') })
tags = ['c:crops/lime', 'c:crops', 'rftoolsutility:living/living', 'c:vinegar_ingredients/lime', 'rftoolsutility:living/highyield', 'c:fruits', 'c:citrusfruits', 'c:fruits/lime', 'extended_industrialization:farmer_plantable', 'c:citrusfruits/lime', 'diet:fruits', 'c:vinegar_ingredients', 'minecolonies:compostables']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:lime') })
tags = ['c:vinegar_ingredients/oats', 'rftoolsutility:living/highyield', 'c:crops/oat', 'extended_industrialization:farmer_plantable', 'c:crops', 'c:carbs', 'c:flour_plants/oats', 'c:vinegar_ingredients', 'c:grain/oat', 'c:flour_plants/oat', 'c:carbs/oat', 'c:grain', 'rftoolsutility:living/living', 'c:seeds/oat', 'c:grain/oats', 'c:crops/oats', 'c:flour_plants', 'c:vinegar_ingredients/oat', 'c:carbs/oats']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:oats') })
tags = ['c:rootvegetables/onion', 'rftoolsutility:living/living', 'c:rootvegetables', 'extended_industrialization:farmer_plantable', 'c:vegetables/onion', 'c:onions', 'rftoolsutility:living/highyield', 'c:crops/onion', 'c:onions/onion', 'c:crops', 'c:vegetables']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:onion') })
tags = ['rftoolsutility:living/living', 'c:vinegar_ingredients/orange', 'extended_industrialization:farmer_plantable', 'diet:fruits', 'c:fruits', 'c:fruits/orange', 'rftoolsutility:living/highyield', 'c:vinegar_ingredients', 'c:crops', 'c:crops/orange']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:orange') })
tags = ['rftoolsutility:living/living', 'c:fruits/peach', 'extended_industrialization:farmer_plantable', 'c:fruits', 'diet:fruits', 'c:vinegar_ingredients/peach', 'rftoolsutility:living/highyield', 'c:vinegar_ingredients', 'c:crops/peach', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:peach') })
tags = ['c:fruits/pear', 'rftoolsutility:living/living', 'extended_industrialization:farmer_plantable', 'c:fruits', 'diet:fruits', 'rftoolsutility:living/highyield', 'c:crops/pear', 'c:vinegar_ingredients', 'c:vinegar_ingredients/pear', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:pear') })
tags = ['extended_industrialization:farmer_plantable', 'c:crops', 'c:vegetables/pea', 'rftoolsutility:living/highyield', 'c:salad_ingredients/peas', 'c:crops/pea', 'c:salad_ingredients/pea', 'c:salad_ingredients', 'c:flour_plants/peas', 'c:seeds/pea', 'c:flour_plants/pea', 'c:vegetables/peas', 'c:flour_plants', 'c:crops/peas', 'rftoolsutility:living/living', 'c:vegetables']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:peas') })
tags = ['rftoolsutility:living/highyield', 'c:fruits', 'c:paper_plants/pineapple', 'extended_industrialization:farmer_plantable', 'c:crops/pineapple', 'rftoolsutility:living/living', 'c:fruits/pineapple', 'c:paper_plants', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:pineapple') })
tags = ['rftoolsutility:living/living', 'c:fruits/plum', 'extended_industrialization:farmer_plantable', 'c:fruits', 'diet:fruits', 'rftoolsutility:living/highyield', 'c:vinegar_ingredients', 'c:crops/plum', 'c:crops', 'c:vinegar_ingredients/plum']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:plum') })
tags = ['rftoolsutility:living/highyield', 'extended_industrialization:farmer_plantable', 'c:rootvegetables/radish', 'c:vegetables', 'c:crops/radish', 'rftoolsutility:living/living', 'c:vegetables/radish', 'c:crops', 'c:rootvegetables']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:radish') })
tags = ['c:crops', 'c:vinegar_ingredients', 'c:fruits', 'c:berries/raspberry', 'rftoolsutility:living/highyield', 'c:vinegar_ingredients/raspberry', 'extended_industrialization:farmer_plantable', 'c:crops/raspberry', 'c:berries', 'c:paper_plants/raspberry', 'c:paper_plants', 'c:fruits/raspberries', 'c:vinegar_ingredients/raspberries', 'rftoolsutility:living/living', 'c:fruits/raspberry']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:raspberry') })
tags = ['c:flour_plants', 'c:paper_plants', 'c:protein', 'c:crops/rice', 'c:paper_plants/rice', 'c:protein/rice', 'c:vinegar_ingredients/rice', 'c:carbs/rice', 'c:vinegar_ingredients', 'c:crops', 'c:flour_plants/rice', 'rftoolsutility:living/highyield', 'extended_industrialization:farmer_plantable', 'rftoolsutility:living/living', 'c:carbs', 'c:grain', 'c:grain/rice']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:rice') })
tags = ['c:crops/rye', 'c:vinegar_ingredients/rye', 'rftoolsutility:living/living', 'c:flour_plants', 'c:grain/rye', 'c:carbs/rye', 'rftoolsutility:living/highyield', 'c:grain', 'c:vinegar_ingredients', 'c:flour_plants/rye', 'c:carbs', 'extended_industrialization:farmer_plantable', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:rye') })
// Good enough match
tags = ['c:vegetables/wintersquash', 'c:crops/wintersquash', 'rftoolsutility:living/living', 'c:vegetables', 'extended_industrialization:farmer_plantable', 'c:crops', 'rftoolsutility:living/highyield']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:wintersquash') })
tags = ['rftoolsutility:living/living', 'c:berries', 'extended_industrialization:farmer_plantable', 'c:fruits/strawberry', 'c:fruits', 'c:fruits/strawberries', 'c:crops/strawberry', 'rftoolsutility:living/highyield', 'c:berries/strawberry', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:strawberry') })
tags = ['c:seeds/sweet_potato', 'rftoolsutility:living/highyield', 'c:rootvegetables/sweetpotato', 'c:vegetables', 'c:crops/sweetpotato', 'c:vegetables/sweet_potato', 'extended_industrialization:farmer_plantable', 'c:carbs', 'c:crops', 'c:vegetables/sweetpotato', 'c:protein/sweetpotato', 'c:crops/sweet_potato', 'c:rootvegetables/sweet_potato', 'c:rootvegetables', 'rftoolsutility:living/living', 'c:carbs/sweet_potato', 'c:protein', 'c:protein/sweet_potato', 'c:carbs/sweetpotato']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:sweet_potato') })
tags = ['c:vegetables', 'rftoolsutility:living/living', 'c:vegetables/tomato', 'c:vinegar_ingredients/tomato', 'extended_industrialization:farmer_plantable', 'c:salad_ingredients', 'c:vinegar_ingredients', 'c:salad_ingredients/tomato', 'rftoolsutility:living/highyield', 'c:crops/tomato', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:tomato') })
tags = ['rftoolsutility:living/highyield', 'c:rootvegetables/turnip', 'c:crops/turnip', 'extended_industrialization:farmer_plantable', 'c:vegetables', 'rftoolsutility:living/living', 'c:vegetables/turnip', 'c:crops', 'c:rootvegetables']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:turnip') })
tags = ['rftoolsutility:living/highyield', 'c:crops/zucchini', 'c:vegetables/zucchini', 'c:salad_ingredients', 'extended_industrialization:farmer_plantable', 'c:vegetables', 'rftoolsutility:living/living', 'c:salad_ingredients/zucchini', 'c:crops']
tags.forEach(tag => { allthemods.add(tag, 'herbsandharvest:zucchini') })
// Not present in other mods
const spices = ['herbsandharvest:turmeric_root', 'herbsandharvest:fresh_basil', 'herbsandharvest:fresh_bay_leaf', 'herbsandharvest:fresh_bay_leaf', 'herbsandharvest:fresh_chive', 'herbsandharvest:fresh_cilantro', 'herbsandharvest:fresh_dill', 'herbsandharvest:fresh_lemongrass', 'herbsandharvest:fresh_mint']
spices.forEach(spice => { allthemods.add('c:spices', spice) })
// Small tweaks
allthemods.add('c:onions/onion', 'farmersdelight:onion')
allthemods.add('c:onions', 'farmersdelight:onion')
})
ServerEvents.recipes(allthemods => {
allthemods.remove([
{
id: 'merrymaking:poultry_dinner'
},
{
id: 'merrymaking:latke'
},
{
id: 'merrymaking:sweet_potato_pie'
},
{
id: 'merrymaking:icing'
},
{
id: 'merrymaking:ground_ginger'
},
{
id: 'merrymaking:cookie_dough'
},
{
id: 'merrymaking:gingerbread_dough'
},
{
id: 'merrymaking:harvest_tray'
}
])
allthemods.shaped('merrymaking:stuffed_poultry_dinner', ['ABC', 'DEF'], {
A: 'merrymaking:quartz_platter',
B: '#c:vegetables/sweet_potato',
C: '#c:grain/corn',
D: 'minecraft:carrot',
E: 'minecraft:potato',
F: 'minecraft:beetroot'
}).id('allthemods:merrymaking/poultry_dinner')
allthemods.shapeless('merrymaking:latke', ['minecraft:potato', '#c:onions/onion', 'minecraft:egg', 'minecraft:wheat']).id('allthemods:merrymaking/latke')
allthemods.shapeless('merrymaking:sweet_potato_pie', ['#c:milk', 'minecraft:wheat', 'minecraft:sugar', 'minecraft:egg', '#c:vegetables/sweet_potato']).id('allthemods:merrymaking/sweet_potato_pie')
allthemods.shapeless('8xmerrymaking:icing', ['minecraft:sugar', '#c:milk', 'minecraft:bowl']).id('allthemods:merrymaking/icing')
allthemods.shapeless('8xmerrymaking:ground_ginger', ['#c:crops/ginger']).id('allthemods:merrymaking/ground_ginger')
allthemods.shapeless('merrymaking:cookie_dough', ['#c:milk', 'minecraft:wheat', 'minecraft:sugar', 'minecraft:egg']).id('allthemods:merrymaking/cookie_dough')
allthemods.shapeless('merrymaking:gingerbread_dough', ['merrymaking:ground_ginger', '#c:milk', 'minecraft:wheat', 'minecraft:sugar', 'minecraft:egg']).id('allthemods:merrymaking/gingerbread_dough')
allthemods.shapeless('merrymaking:harvest_tray', ['merrymaking:empty_tray', '#c:vegetables/sweet_potato', '#c:grain/corn', 'minecraft:carrot', 'minecraft:apple', 'minecraft:potato', 'minecraft:sweet_berries', 'minecraft:beetroot', 'minecraft:wheat']).id('allthemods:merrymaking/harvest_tray')
// Saplings
allthemods.custom(
{
"type": "farmingforblockheads:market",
"category": "farmingforblockheads:saplings",
"preset": "herbsandharvest:saplings",
"result": {
"count": 1,
"item": "herbsandharvest:avocado_fruit_sapling"
}
}
)
allthemods.custom(
{
"type": "farmingforblockheads:market",
"category": "farmingforblockheads:saplings",
"preset": "herbsandharvest:saplings",
"result": {
"count": 1,
"item": "herbsandharvest:cherry_fruit_sapling"
}
}
)
allthemods.custom(
{
"type": "farmingforblockheads:market",
"category": "farmingforblockheads:saplings",
"preset": "herbsandharvest:saplings",
"result": {
"count": 1,
"item": "herbsandharvest:lemon_fruit_sapling"
}
}
)
allthemods.custom(
{
"type": "farmingforblockheads:market",
"category": "farmingforblockheads:saplings",
"preset": "herbsandharvest:saplings",
"result": {
"count": 1,
"item": "herbsandharvest:lime_fruit_sapling"
}
}
)
allthemods.custom(
{
"type": "farmingforblockheads:market",
"category": "farmingforblockheads:saplings",
"preset": "herbsandharvest:saplings",
"result": {
"count": 1,
"item": "herbsandharvest:orange_fruit_sapling"
}
}
)
allthemods.custom(
{
"type": "farmingforblockheads:market",
"category": "farmingforblockheads:saplings",
"preset": "herbsandharvest:saplings",
"result": {
"count": 1,
"item": "herbsandharvest:peach_fruit_sapling"
}
}
)
allthemods.custom(
{
"type": "farmingforblockheads:market",
"category": "farmingforblockheads:saplings",
"preset": "herbsandharvest:saplings",
"result": {
"count": 1,
"item": "herbsandharvest:pear_fruit_sapling"
}
}
)
allthemods.custom(
{
"type": "farmingforblockheads:market",
"category": "farmingforblockheads:saplings",
"preset": "herbsandharvest:saplings",
"result": {
"count": 1,
"item": "herbsandharvest:plum_fruit_sapling"
}
}
)
})
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,41 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
ServerEvents.recipes(allthemods => {
allthemods.remove({ id: 'modern_industrialization:materials/aluminum/craft/gear'})
allthemods.remove({ id: 'modern_industrialization:materials/tin/craft/gear'})
allthemods.remove({ id: 'modern_industrialization:materials/steel/craft/gear'})
allthemods.remove({ id: 'modern_industrialization:materials/invar/craft/gear'})
allthemods.remove({ id: 'modern_industrialization:materials/bronze/craft/gear'})
allthemods.remove({ id: 'modern_industrialization:materials/iron/craft/gear'})
allthemods.remove({ id: 'modern_industrialization:materials/copper/craft/gear'})
allthemods.remove({ id: 'modern_industrialization:materials/gold/craft/gear'})
allthemods.remove({ id: 'railcraft:lead_gear'})
allthemods.remove({ id: 'railcraft:nickel_gear'})
allthemods.remove({ id: 'railcraft:silver_gear'})
allthemods.remove({ id: 'railcraft:tin_gear'})
allthemods.remove({ id: 'railcraft:zinc_gear'})
allthemods.remove({ id: 'railcraft:steel_gear'})
allthemods.remove({ id: 'railcraft:invar_gear'})
allthemods.remove({ id: 'railcraft:bronze_gear'})
allthemods.remove({ id: 'railcraft:iron_gear'})
allthemods.remove({ id: 'railcraft:gold_gear'})
allthemods.remove({ id: 'railcraft:copper_gear'})
allthemods.remove({ id: 'railcraft:brass_gear'})
allthemods.remove({ id: 'industrialforegoing:iron_gear'})
allthemods.remove({ id: 'industrialforegoing:gold_gear'})
allthemods.remove({ id: 'industrialforegoing:diamond_gear'})
allthemods.remove({ id: 'enderio:iron_gear'})
allthemods.remove({ id: 'enderio:wood_gear_corner'})
allthemods.remove({ id: 'pneumaticcraft:compressed_iron_gear'})
allthemods.shaped('pneumaticcraft:compressed_iron_gear', [' C ', 'CNC', ' C '], {
C: 'pneumaticcraft:ingot_iron_compressed',
N: 'minecraft:iron_nugget'
}).id('allthemods:pneumaticcraft/compressed_iron_gear')
})
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,41 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
ServerEvents.recipes(allthemods => {
// Crafting
allthemods.remove({ id: 'railcraft:bronze_ingot_crafted_with_ingots'})
allthemods.remove({ id: 'railcraft:invar_ingot_crafted_with_ingots'})
allthemods.remove({ id: 'railcraft:brass_ingot_crafted_with_ingots'})
allthemods.remove({ id: 'silentgear:bronze_ingot'})
allthemods.remove({ id: 'mysticalagriculture:essence/extremereactors2/yellorium_ingot'})
allthemods.remove({ id: 'modern_industrialization:materials/bronze_dust'})
// Smelting
allthemods.remove({ id: 'deeperdarker:coal_from_smelting_gloomslate_coal_ore'})
allthemods.remove({ id: 'deeperdarker:coal_from_blasting_gloomslate_coal_ore'})
allthemods.remove({ id: 'deeperdarker:iron_ingot_from_smelting_gloomslate_iron_ore'})
allthemods.remove({ id: 'deeperdarker:iron_ingot_from_blasting_gloomslate_iron_ore'})
allthemods.remove({ id: 'deeperdarker:copper_ingot_from_smelting_gloomslate_copper_ore'})
allthemods.remove({ id: 'deeperdarker:copper_ingot_from_blasting_gloomslate_copper_ore'})
allthemods.remove({ id: 'deeperdarker:gold_ingot_from_smelting_gloomslate_gold_ore'})
allthemods.remove({ id: 'deeperdarker:gold_ingot_from_blasting_gloomslate_gold_ore'})
allthemods.remove({ id: 'deeperdarker:redstone_from_smelting_gloomslate_redstone_ore'})
allthemods.remove({ id: 'deeperdarker:redstone_from_blasting_gloomslate_redstone_ore'})
allthemods.remove({ id: 'deeperdarker:emerald_from_smelting_gloomslate_emerald_ore'})
allthemods.remove({ id: 'deeperdarker:emerald_from_blasting_gloomslate_emerald_ore'})
allthemods.remove({ id: 'deeperdarker:lapis_lazuli_from_smelting_gloomslate_lapis_ore'})
allthemods.remove({ id: 'deeperdarker:lapis_lazuli_from_blasting_gloomslate_lapis_ore'})
allthemods.remove({ id: 'deeperdarker:diamond_from_smelting_gloomslate_diamond_ore'})
allthemods.remove({ id: 'deeperdarker:diamond_from_blasting_gloomslate_diamond_ore'})
allthemods.remove({ id: 'mekanism:processing/lead/ingot/from_ore_smelting'})
allthemods.remove({ id: 'mekanism:processing/lead/ingot/from_ore_blasting'})
allthemods.remove({ id: 'mekanism:processing/osmium/ingot/from_ore_smelting'})
allthemods.remove({ id: 'mekanism:processing/osmium/ingot/from_ore_blasting'})
allthemods.remove({ id: 'mekanism:processing/tin/ingot/from_ore_smelting'})
allthemods.remove({ id: 'mekanism:processing/tin/ingot/from_ore_blasting'})
allthemods.remove({ id: 'immersiveengineering:smelting/ingot_uranium'})
allthemods.remove({ id: 'bigreactors:blasting/yellorium_from_ore'})
})
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,109 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
ServerEvents.tags('item', allthemods => {
//regions_unexplored
allthemods.add('regions_unexplored:magnolia_logs', [
'regions_unexplored:magnolia_log',
'regions_unexplored:stripped_magnolia_log',
'regions_unexplored:magnolia_wood',
'regions_unexplored:stripped_magnolia_wood',
])
allthemods.add('regions_unexplored:alpha_logs', [
'regions_unexplored:alpha_log'
])
allthemods.add('regions_unexplored:silver_birch_logs', [
'regions_unexplored:silver_birch_log',
'regions_unexplored:silver_birch_wood',
])
//allthemodium
allthemods.add('allthemodium:ancient_logs', [
'allthemodium:ancient_log_0',
'allthemodium:ancient_log_1',
'allthemodium:ancient_log_2',
'allthemodium:stripped_ancient_log'
])
allthemods.add('allthemodium:soul_logs', [
'allthemodium:soul_log',
'allthemodium:soul_log_0',
'allthemodium:soul_log_1',
'allthemodium:soul_log_2',
'allthemodium:stripped_soul_log'
])
allthemods.add('allthemodium:demonic_logs', [
'allthemodium:demonic_log',
'allthemodium:stripped_demonic_log',
])
allthemods.add('regions_unexplored:alpha_logs', [
'regions_unexplored:alpha_log'
])
// completing #minecraft:logs
allthemods.add('minecraft:logs', [
'#integrateddynamics:menril_logs',
'#deeperdarker:bloom_stems',
"#deeperdarker:echo_logs",
"#evilcraft:undead_logs",
"aquaculture:driftwood",
"allthemodium:stripped_ancient_log"
])
})
const $Collectors = Java.loadClass('java.util.stream.Collectors')
ServerEvents.recipes(allthemods => {
let logsTag = Ingredient.of("#minecraft:logs")
/** @type {$HashMap_<string, $UnknownKubeRecipe_>}} */
let prodSawmillRecipes = allthemods.findRecipes({type: "productivetrees:sawmill"}).stream().collect($Collectors.toMap(r => r.json.asMap().output.get("id").asString, r => r))
/** @type {$HashMap_<string, $UnknownKubeRecipe_>}} */
let mekSawmillRecipes = allthemods.findRecipes({type: "mekanism:sawing"}).stream().filter(r => r.json.asMap().main_output != undefined && logsTag["matches(dev.latvian.mods.kubejs.recipe.filter.RecipeMatchContext,net.minecraft.world.item.crafting.Ingredient,boolean)"](null, Ingredient.of(r.json.asMap().input.has("ingredient") ? r.json.asMap().input.get("ingredient") : r.json.asMap().input), false)).collect($Collectors.toMap(r => r.json.asMap().main_output.get("id").asString, r => r))
function mekSawing(output, input, extraOutput, id) {
if (mekSawmillRecipes.containsKey(output.id)) {
// console.info("Already exists a mek recipe for " + output.id)
return
}
let recipe = {
"type": "mekanism:sawing",
"input": input,
"main_output": output,
"secondary_chance": extraOutput.chance,
"secondary_output": Item.of(extraOutput.item)
};
allthemods.custom(recipe).id(`allthemods:mekanism/sawing/${id}`);
}
function prodSawing(log, planks, secondary, id) {
if (prodSawmillRecipes.containsKey(planks.id)) {
// console.info("Already exists a prod tree recipe for " + planks.id)
return
}
allthemods.custom({
"type": "productivetrees:sawmill",
"input": log,
"output": planks,
"secondary": secondary
}).id(`allthemods:productivetrees/sawing/${id}`);
}
allthemods.forEachRecipe({type: "minecraft:crafting_shapeless", output: "#minecraft:planks"}, recipe => {
/** @type {$Ingredient_} */
let firstIngredient = recipe.get("ingredients").getFirst()
/** @type {$ItemStackKJS_} */
let output = recipe.get("result")
if (!logsTag["matches(dev.latvian.mods.kubejs.recipe.filter.RecipeMatchContext,net.minecraft.world.item.crafting.Ingredient,boolean)"](null, firstIngredient, false)){
console.info("Ingredient is not a log tag: " + Ingredient.of(firstIngredient).toJson())
return
}
mekSawing(output.withCount(6), firstIngredient, {chance: 0.25, item: "mekanism:sawdust"}, recipe.getId().split(":")[0] + "/" + recipe.getId().split(":")[1])
prodSawing(firstIngredient, output.withCount(6), Item.of("2x productivetrees:sawdust"), recipe.getId().split(":")[0] + "/" + recipe.getId().split(":")[1])
})
})
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,80 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
ServerEvents.recipes(allthemods => {
// Tools
allthemods.remove({ id: 'mekanismtools:steel/tools/sword'})
allthemods.remove({ id: 'railcraft:steel_sword'})
allthemods.remove({ id: 'immersiveengineering:crafting/sword_steel'})
allthemods.remove({ id: 'mekanismtools:steel/tools/pickaxe'})
allthemods.remove({ id: 'railcraft:steel_pickaxe'})
allthemods.remove({ id: 'immersiveengineering:crafting/pickaxe_steel'})
allthemods.remove({ id: 'mekanismtools:steel/tools/axe'})
allthemods.remove({ id: 'railcraft:steel_axe'})
allthemods.remove({ id: 'immersiveengineering:crafting/axe_steel'})
allthemods.remove({ id: 'mekanismtools:steel/tools/shovel'})
allthemods.remove({ id: 'railcraft:steel_shovel'})
allthemods.remove({ id: 'immersiveengineering:crafting/shovel_steel'})
allthemods.remove({ id: 'mekanismtools:steel/tools/hoe'})
allthemods.remove({ id: 'railcraft:steel_hoe'})
allthemods.remove({ id: 'immersiveengineering:crafting/hoe_steel'})
allthemods.remove({ id: 'mekanismtools:steel/tools/paxel'})
allthemods.shaped('mekanismtools:steel_sword', [' S ', ' S ', ' R '], {
S: '#c:ingots/steel',
R: '#c:rods/wooden'
}).id('allthemods:mekanismtools/steel_sword')
allthemods.shaped('mekanismtools:steel_pickaxe', ['SSS', ' R ', ' R '], {
S: '#c:ingots/steel',
R: '#c:rods/wooden'
}).id('allthemods:mekanismtools/steel_pickaxe')
allthemods.shaped('mekanismtools:steel_axe', ['SS ', 'SR ', ' R '], {
S: '#c:ingots/steel',
R: '#c:rods/wooden'
}).id('allthemods:mekanismtools/steel_axe')
allthemods.shaped('mekanismtools:steel_shovel', [' S ', ' R ', ' R '], {
S: '#c:ingots/steel',
R: '#c:rods/wooden'
}).id('allthemods:mekanismtools/steel_shovel')
allthemods.shaped('mekanismtools:steel_hoe', ['SS ', ' R ', ' R '], {
S: '#c:ingots/steel',
R: '#c:rods/wooden'
}).id('allthemods:mekanismtools/steel_hoe')
allthemods.shaped('mekanismtools:steel_paxel', ['APS', ' R ', ' R '], {
A: 'mekanismtools:steel_axe',
P: 'mekanismtools:steel_pickaxe',
S: 'mekanismtools:steel_shovel',
R: '#c:rods/wooden'
}).id('allthemods:mekanismtools/steel_paxel')
// Armor
allthemods.remove({ id: 'immersiveengineering:crafting/armor_steel_helmet'})
allthemods.remove({ id: 'immersiveengineering:crafting/armor_steel_chestplate'})
allthemods.remove({ id: 'immersiveengineering:crafting/armor_steel_leggings'})
allthemods.remove({ id: 'immersiveengineering:crafting/armor_steel_boots'})
allthemods.remove({ id: 'railcraft:steel_helmet'})
allthemods.remove({ id: 'railcraft:steel_chestplate'})
allthemods.remove({ id: 'railcraft:steel_leggings'})
allthemods.remove({ id: 'railcraft:steel_boots'})
// Shields
allthemods.remove({ id: 'the_bumblezone:honey_crystal_shield'})
allthemods.remove({ id: 'twilightforest:equipment/knightmetal_shield'})
allthemods.remove({ id: 'undergarden:cloggrum_shield'})
allthemods.shaped('the_bumblezone:honey_crystal_shield', ['HSH', 'HHH', ' H '], {
S: 'minecraft:shield',
H: 'the_bumblezone:honey_crystal_shards'
}).id('allthemods:the_bumblezone/honey_crystal_shield')
allthemods.shaped('twilightforest:knightmetal_shield', ['KSK', 'KKK', ' K '], {
S: 'minecraft:shield',
K: '#c:ingots/knightmetal'
}).id('allthemods:twilightforest/knightmetal_shield')
allthemods.shaped('undergarden:cloggrum_shield', ['CSC', 'CCC', ' C '], {
S: 'minecraft:shield',
C: '#c:ingots/cloggrum'
}).id('allthemods:undergarden/cloggrum_shield')
})
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.