Merge branch 'feature/space' into dev
Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
This commit is contained in:
commit
2138a8b0dc
988 changed files with 238425 additions and 5714 deletions
|
|
@ -1,283 +1,89 @@
|
|||
// priority: 0
|
||||
|
||||
const registerTFCDataForTFC = (event) => {
|
||||
registerTFCMetals(event)
|
||||
registerTFCHeats(event)
|
||||
registerTFCFuels(event)
|
||||
registerTFCLampFuels(event)
|
||||
registerTFCFertilizers(event)
|
||||
registerTFCKnappingTypes(event)
|
||||
registerTFCItemSize(event)
|
||||
registerTFCFoodData(event)
|
||||
registerTFCSupportData(event)
|
||||
registerTFCHeats(event)
|
||||
registerTFCFuels(event)
|
||||
registerTFCLampFuels(event)
|
||||
registerTFCFertilizers(event)
|
||||
registerTFCKnappingTypes(event)
|
||||
registerTFCItemSize(event)
|
||||
registerTFCFoodData(event)
|
||||
}
|
||||
|
||||
//#region registerTFCMetals
|
||||
const registerTFCMetals = (event) => {
|
||||
event.metal('gtceu:copper', 1080, 0.00857, '#forge:ingots/copper', '#forge:double_ingots/copper', '#forge:plates/copper', 1, 'tfc:copper')
|
||||
event.metal('gtceu:bismuth_bronze', 985, 0.00857, '#forge:ingots/bismuth_bronze', '#forge:double_ingots/bismuth_bronze', '#forge:plates/bismuth_bronze', 2, 'tfc:bismuth_bronze')
|
||||
event.metal('gtceu:bronze', 950, 0.00857, '#forge:ingots/bronze', '#forge:double_ingots/bronze', '#forge:plates/bronze', 2, 'tfc:bronze')
|
||||
event.metal('gtceu:black_bronze', 1070, 0.00857, '#forge:ingots/black_bronze', '#forge:double_ingots/black_bronze', '#forge:plates/black_bronze', 2, 'tfc:black_bronze')
|
||||
event.metal('gtceu:wrought_iron', 1535, 0.00857, '#forge:ingots/wrought_iron', '#forge:double_ingots/wrought_iron', '#forge:plates/wrought_iron', 3, 'tfc:wrought_iron')
|
||||
event.metal('gtceu:steel', 1540, 0.00857, '#forge:ingots/steel', '#forge:double_ingots/steel', '#forge:plates/steel', 4, 'tfc:steel')
|
||||
event.metal('gtceu:black_steel', 1485, 0.00857, '#forge:ingots/black_steel', '#forge:double_ingots/black_steel', '#forge:plates/black_steel', 5, 'tfc:black_steel')
|
||||
event.metal('gtceu:blue_steel', 1540, 0.00857, '#forge:ingots/blue_steel', '#forge:double_ingots/blue_steel', '#forge:plates/blue_steel', 6, 'tfc:blue_steel')
|
||||
event.metal('gtceu:red_steel', 1540, 0.00857, '#forge:ingots/red_steel', '#forge:double_ingots/red_steel', '#forge:plates/red_steel', 6, 'tfc:red_steel')
|
||||
|
||||
event.metal('gtceu:iron', 1535, 0.00857, '#forge:ingots/iron', '#forge:double_ingots/iron', '#forge:plates/iron', 3, 'tfc:cast_iron')
|
||||
event.metal('gtceu:tin', 230, 0.02143, '#forge:ingots/tin', '#forge:double_ingots/tin', '#forge:plates/tin', 1, 'tfc:tin')
|
||||
event.metal('gtceu:bismuth', 270, 0.02143, '#forge:ingots/bismuth', '#forge:double_ingots/bismuth', '#forge:plates/bismuth', 1, 'tfc:bismuth')
|
||||
event.metal('gtceu:zinc', 420, 0.01429, '#forge:ingots/zinc', '#forge:double_ingots/zinc', '#forge:plates/zinc', 1, 'tfc:zinc')
|
||||
event.metal('gtceu:sterling_silver', 950, 0.00857, '#forge:ingots/sterling_silver', '#forge:double_ingots/sterling_silver', '#forge:plates/sterling_silver', 1, 'tfc:sterling_silver')
|
||||
event.metal('gtceu:rose_gold', 960, 0.00857, '#forge:ingots/rose_gold', '#forge:double_ingots/rose_gold', '#forge:plates/rose_gold', 1, 'tfc:rose_gold')
|
||||
event.metal('gtceu:silver', 961, 0.00625, '#forge:ingots/silver', '#forge:double_ingots/silver', '#forge:plates/silver', 1, 'tfc:silver')
|
||||
event.metal('gtceu:gold', 1060, 0.005, '#forge:ingots/gold', '#forge:double_ingots/gold', '#forge:plates/gold', 1, 'tfc:gold')
|
||||
event.metal('gtceu:nickel', 1453, 0.00625, '#forge:ingots/nickel', '#forge:double_ingots/nickel', '#forge:plates/nickel', 1, 'tfc:nickel')
|
||||
event.metal('gtceu:brass', 930, 0.00857, '#forge:ingots/brass', '#forge:double_ingots/brass', '#forge:plates/brass', 2, 'tfc:brass')
|
||||
|
||||
event.metal('gtceu:redstone', 460, 0.01729, null, null, null, 1, 'tfg:redstone')
|
||||
event.metal('gtceu:red_alloy', 740, 0.01529, '#forge:ingots/red_alloy', '#forge:double_ingots/red_alloy', '#forge:plates/red_alloy', 2, 'tfg:red_alloy')
|
||||
event.metal('gtceu:tin_alloy', 1250, 0.00829, '#forge:ingots/tin_alloy', '#forge:double_ingots/tin_alloy', '#forge:plates/tin_alloy', 3, 'tfg:tin_alloy')
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region registerTFCHeats
|
||||
const registerTFCHeats = (event) => {
|
||||
|
||||
function makeItemHeatByTagPrefix(tagPrefix, material, tfcProperty, heatCapacity) {
|
||||
let item = ChemicalHelper.get(tagPrefix, material, 1)
|
||||
if (!item.isEmpty()) event.itemHeat(item, heatCapacity, tfcProperty.getForgingTemp(), tfcProperty.getWeldingTemp())
|
||||
}
|
||||
|
||||
function makeItemHeatByToolType(toolType, material, tfcProperty, heatCapacity) {
|
||||
let tool = ToolHelper.get(toolType, material)
|
||||
if (!tool.isEmpty()) event.itemHeat(tool, heatCapacity, tfcProperty.getForgingTemp(), tfcProperty.getWeldingTemp())
|
||||
}
|
||||
// Ведро из синей стали
|
||||
event.itemHeat('tfc:metal/bucket/blue_steel', 1.429, 924, 1232)
|
||||
|
||||
forEachMaterial(material => {
|
||||
let tfcProperty = material.getProperty(TFGPropertyKey.TFC_PROPERTY)
|
||||
|
||||
if (tfcProperty != null) {
|
||||
makeItemHeatByTagPrefix(TagPrefix.dustTiny, material, tfcProperty, 0.357)
|
||||
makeItemHeatByTagPrefix(TagPrefix.dustSmall, material, tfcProperty, 0.714)
|
||||
makeItemHeatByTagPrefix(TagPrefix.dust, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TagPrefix.rod, material, tfcProperty, 0.567)
|
||||
makeItemHeatByTagPrefix(TagPrefix.bolt, material, tfcProperty, 0.245)
|
||||
makeItemHeatByTagPrefix(TagPrefix.screw, material, tfcProperty, 0.567)
|
||||
makeItemHeatByTagPrefix(TagPrefix.nugget, material, tfcProperty, 0.124)
|
||||
makeItemHeatByTagPrefix(TagPrefix.block, material, tfcProperty, 20)
|
||||
makeItemHeatByTagPrefix(TagPrefix.rodLong, material, tfcProperty, 1.429)
|
||||
// Ведро из красной
|
||||
event.itemHeat('tfc:metal/bucket/red_steel', 1.429, 924, 1232)
|
||||
|
||||
makeItemHeatByTagPrefix(TagPrefix.ingot, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.ingotDouble, material, tfcProperty, 2.875)
|
||||
|
||||
makeItemHeatByTagPrefix(TagPrefix.rawOre, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.richRawOre, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.poorRawOre, material, tfcProperty, 1.429)
|
||||
|
||||
// Ore processing stages
|
||||
makeItemHeatByTagPrefix(TagPrefix.dustImpure, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TagPrefix.dustPure, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TagPrefix.crushed, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TagPrefix.crushedPurified, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TagPrefix.crushedRefined, material, tfcProperty, 1.429)
|
||||
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadSword, material, tfcProperty, 2.875)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadShovel, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadScythe, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadPickaxe, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadSaw, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadKnife, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadHoe, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadHammer, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadAxe, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadFile, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadButcheryKnife, material, tfcProperty, 2.875)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadMiningHammer, material, tfcProperty, 2.875)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.toolHeadSpade, material, tfcProperty, 2.875)
|
||||
|
||||
makeItemHeatByToolType(GTToolType.SWORD, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.PICKAXE, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.SHOVEL, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.AXE, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.HOE, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.SAW, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.HARD_HAMMER, material, tfcProperty, 2.875)
|
||||
makeItemHeatByToolType(GTToolType.FILE, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.SCYTHE, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.KNIFE, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.BUTCHERY_KNIFE, material, tfcProperty, 2.875)
|
||||
makeItemHeatByToolType(GTToolType.MINING_HAMMER, material, tfcProperty, 1.429)
|
||||
makeItemHeatByToolType(GTToolType.SPADE, material, tfcProperty, 2.875)
|
||||
}
|
||||
})
|
||||
|
||||
// Ведро из синей стали
|
||||
event.itemHeat('tfc:metal/bucket/blue_steel', 1.429, 924, 1232)
|
||||
|
||||
// Ведро из красной
|
||||
event.itemHeat('tfc:metal/bucket/red_steel', 1.429, 924, 1232)
|
||||
|
||||
// Seaweed and Kelp
|
||||
event.itemHeat('tfc:groundcover/seaweed', 1.0, null, null)
|
||||
event.itemHeat('tfc:plant/leafy_kelp', 1.0, null, null)
|
||||
event.itemHeat('tfc:plant/winged_kelp', 1.0, null, null)
|
||||
|
||||
// Misc
|
||||
event.itemHeat('tfg:latex_soaked_gloves', 1.0, null, null)
|
||||
|
||||
global.MINECRAFT_DYE_NAMES.forEach (color => {
|
||||
event.itemHeat(`tfg:decorative_vase/unfired/${color}`, 1.0, null, null)
|
||||
})
|
||||
event.itemHeat('tfg:decorative_vase/unfired', 1.0, null, null)
|
||||
// Seaweed and Kelp
|
||||
event.itemHeat('tfc:groundcover/seaweed', 1.0, null, null)
|
||||
event.itemHeat('tfc:plant/leafy_kelp', 1.0, null, null)
|
||||
event.itemHeat('tfc:plant/winged_kelp', 1.0, null, null)
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region registerTFCFuels
|
||||
|
||||
const registerTFCFuels = (event) => {
|
||||
event.fuel('gtceu:coke_gem', 1415, 4400, 1.0)
|
||||
event.fuel('gtceu:coke_dust', 1415, 1200, 0.95)
|
||||
|
||||
event.fuel('beneath:cursecoal', 1540, 2200, 1.0)
|
||||
event.fuel('gtceu:coke_gem', 1415, 4400, 1.0)
|
||||
event.fuel('gtceu:coke_dust', 1415, 1200, 0.95)
|
||||
|
||||
event.fuel('minecraft:coal', 1415, 2200, 1.0)
|
||||
event.fuel('gtceu:rich_raw_coal', 1415, 2200, 0.95)
|
||||
event.fuel('gtceu:raw_coal', 1415, 1900, 0.95)
|
||||
event.fuel('gtceu:poor_raw_coal', 1415, 1600, 0.95)
|
||||
event.fuel('gtceu:coal_dust', 1415, 600, 0.95)
|
||||
event.fuel('beneath:cursecoal', 1540, 2200, 1.0)
|
||||
|
||||
event.fuel('minecraft:coal', 1415, 2200, 1.0)
|
||||
event.fuel('gtceu:rich_raw_coal', 1415, 2200, 0.95)
|
||||
event.fuel('gtceu:raw_coal', 1415, 1900, 0.95)
|
||||
event.fuel('gtceu:poor_raw_coal', 1415, 1600, 0.95)
|
||||
event.fuel('gtceu:coal_dust', 1415, 600, 0.95)
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region registerTFCLampFuels
|
||||
|
||||
const registerTFCLampFuels = (event) => {
|
||||
event.lampFuel('gtceu:creosote', '#tfc:lamps', 1000)
|
||||
event.lampFuel("gtceu:glowstone", "#tfc:lamps", -1)
|
||||
event.lampFuel('gtceu:creosote', '#tfc:lamps', 1000)
|
||||
event.lampFuel("gtceu:glowstone", "#tfc:lamps", -1)
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region registerTFCFertilizers
|
||||
|
||||
const registerTFCFertilizers = (event) => {
|
||||
event.fertilizer('gtceu:fertilizer', 0.15, 0.15, 0.15)
|
||||
event.fertilizer('gtceu:fertilizer', 0.15, 0.15, 0.15)
|
||||
|
||||
event.fertilizer('gtceu:tiny_potassium_dust', null, null, 0.016)
|
||||
event.fertilizer('gtceu:small_potassium_dust', null, null, 0.037)
|
||||
event.fertilizer('gtceu:potassium_dust', null, null, 0.15)
|
||||
event.fertilizer('gtceu:tiny_potassium_dust', null, null, 0.016)
|
||||
event.fertilizer('gtceu:small_potassium_dust', null, null, 0.037)
|
||||
event.fertilizer('gtceu:potassium_dust', null, null, 0.15)
|
||||
|
||||
event.fertilizer('gtceu:tiny_phosphorus_dust', null, 0.016, null)
|
||||
event.fertilizer('gtceu:small_phosphorus_dust', null, 0.037, null)
|
||||
event.fertilizer('gtceu:phosphorus_dust', null, 0.15, null)
|
||||
event.fertilizer('gtceu:tiny_phosphorus_dust', null, 0.016, null)
|
||||
event.fertilizer('gtceu:small_phosphorus_dust', null, 0.037, null)
|
||||
event.fertilizer('gtceu:phosphorus_dust', null, 0.15, null)
|
||||
|
||||
event.fertilizer('gtceu:tiny_saltpeter_dust', 0.01, null, 0.038)
|
||||
event.fertilizer('gtceu:small_saltpeter_dust', 0.025, null, 0.0875)
|
||||
event.fertilizer('gtceu:saltpeter_dust', 0.10, null, 0.35)
|
||||
event.fertilizer('gtceu:tiny_saltpeter_dust', 0.01, null, 0.038)
|
||||
event.fertilizer('gtceu:small_saltpeter_dust', 0.025, null, 0.0875)
|
||||
event.fertilizer('gtceu:saltpeter_dust', 0.10, null, 0.35)
|
||||
|
||||
event.fertilizer('gtceu:tiny_bone_dust', null, 0.01, null)
|
||||
event.fertilizer('gtceu:small_bone_dust', null, 0.025, null)
|
||||
event.fertilizer('gtceu:tiny_bone_dust', null, 0.01, null)
|
||||
event.fertilizer('gtceu:small_bone_dust', null, 0.025, null)
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region registerTFCKnappingTypes
|
||||
|
||||
const registerTFCKnappingTypes = (event) => {
|
||||
event.knappingType('minecraft:flint', 1, 1, 'tfc:item.knapping.stone', true, false, true, 'minecraft:flint', 'tfg:flint')
|
||||
// event.knappingType('gtceu:rubber_plate', 1, 5, 'tfc:item.knapping.leather', true, false, true, 'gtceu:rubber_plate', 'tfg:rubber')
|
||||
// event.knappingType('gtceu:styrene_butadiene_rubber_plate', 1, 5, 'tfc:item.knapping.leather', true, false, true, 'gtceu:styrene_butadiene_rubber_plate', 'tfg:styrene_butadiene_rubber_plate')
|
||||
// event.knappingType('gtceu:silicone_rubber_plate', 1, 5, 'tfc:item.knapping.leather', true, false, true, 'gtceu:silicone_rubber_plate', 'tfg:silicone_rubber_plate')
|
||||
event.knappingType('minecraft:flint', 1, 1, 'tfc:item.knapping.stone', true, false, true, 'minecraft:flint', 'tfg:flint')
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region registerTFCItemSize
|
||||
|
||||
const registerTFCItemSize = (event) => {
|
||||
event.itemSize('#tfc:ore_pieces', 'very_small', 'very_light', 'tfc_ores')
|
||||
|
||||
global.MINECRAFT_DYE_NAMES.forEach (color => {
|
||||
event.itemSize(`tfg:decorative_vase/${color}`, 'normal', 'medium', `decorative_vase/${color}`)
|
||||
event.itemSize(`tfg:decorative_vase/unfired/${color}`, 'normal', 'medium', `decorative_vase/unfired/${color}`)
|
||||
})
|
||||
event.itemSize('tfg:decorative_vase', 'normal', 'medium', 'decorative_vase')
|
||||
event.itemSize('tfg:decorative_vase/unfired', 'normal', 'medium', 'decorative_vase/unfired')
|
||||
|
||||
event.itemSize('tfg:fishing_net/wood', 'large', 'medium', 'wood_fishing_net')
|
||||
event.itemSize('tfg:fishing_net/brass', 'large', 'medium', 'brass_fishing_net')
|
||||
event.itemSize('tfg:fishing_net/rose_gold', 'large', 'medium', 'rose_gold_fishing_net')
|
||||
event.itemSize('tfg:fishing_net/sterling_silver', 'large', 'medium', 'sterling_silver_fishing_net')
|
||||
event.itemSize('tfg:fishing_net/invar', 'large', 'medium', 'invar_fishing_net')
|
||||
event.itemSize('tfg:fishing_net/cupronickel', 'large', 'medium', 'cupronickel_fishing_net')
|
||||
event.itemSize('tfg:fishing_net/tin_alloy', 'large', 'medium', 'tin_alloy_fishing_net')
|
||||
event.itemSize('tfg:fishing_net/magnalium', 'large', 'medium', 'magnalium_fishing_net')
|
||||
|
||||
event.itemSize('#tfc:ore_pieces', 'very_small', 'very_light', 'tfc_ores')
|
||||
|
||||
event.itemSize('#tfc:foods/sealed_preserves', 'tiny', 'medium', 'sealed_preserves')
|
||||
event.itemSize('#tfc:foods/preserves', 'tiny', 'medium', 'preserves')
|
||||
|
||||
event.itemSize('#tfc:foods/sealed_preserves', 'tiny', 'medium', 'sealed_preserves')
|
||||
event.itemSize('#tfc:foods/preserves', 'tiny', 'medium', 'preserves')
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region registerTFCFoodData
|
||||
|
||||
const registerTFCFoodData = (event) => {
|
||||
event.foodItem('minecraft:golden_apple', food => {
|
||||
food.hunger(2)
|
||||
food.fruit(2)
|
||||
food.decayModifier(0.6)
|
||||
})
|
||||
|
||||
event.foodItem('minecraft:enchanted_golden_apple', food => {
|
||||
food.hunger(3)
|
||||
food.fruit(2)
|
||||
food.decayModifier(0.2)
|
||||
})
|
||||
|
||||
event.foodItem('minecraft:glow_berries', food => {
|
||||
food.hunger(1)
|
||||
food.fruit(0.5)
|
||||
food.water(5)
|
||||
food.decayModifier(2)
|
||||
})
|
||||
|
||||
event.foodItem('minecraft:chorus_fruit', food => {
|
||||
food.hunger(1.5)
|
||||
food.fruit(1)
|
||||
food.water(5)
|
||||
})
|
||||
|
||||
|
||||
event.foodItem('minecraft:red_mushroom', food => {
|
||||
food.hunger(1.5)
|
||||
food.vegetables(1)
|
||||
food.water(5)
|
||||
food.decayModifier(2)
|
||||
})
|
||||
|
||||
event.foodItem('minecraft:brown_mushroom', food => {
|
||||
food.saturation(2)
|
||||
food.hunger(2)
|
||||
food.vegetables(1)
|
||||
food.water(2)
|
||||
food.decayModifier(2)
|
||||
})
|
||||
|
||||
event.foodItem('gtceu:chocolate_coin', food => {
|
||||
food.hunger(1)
|
||||
food.dairy(0.5)
|
||||
})
|
||||
|
||||
event.foodItem('gtceu:chocolate_coin', food => {
|
||||
food.hunger(1)
|
||||
food.dairy(0.5)
|
||||
})
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//#region registerTFCSupportData
|
||||
//up, down, horizontal
|
||||
const registerTFCSupportData = (event) => {
|
||||
event.support('tfg:light_concrete_support_horizontal', 4, 4, 8, 'light_concrete_support')
|
||||
event.support('tfg:dark_concrete_support_horizontal', 4, 4, 8, 'dark_concrete_support')
|
||||
event.support('tfg:reinforced_light_concrete_support_horizontal', 6, 6, 16, 'reinforced_light_concrete_support')
|
||||
event.support('tfg:reinforced_dark_concrete_support_horizontal', 6, 6, 16, 'reinforced_dark_concrete_support')
|
||||
event.support('tfg:rebar_support_horizontal', 4, 4, 8, 'rebar_support')
|
||||
event.support('tfg:steel_support_horizontal', 6, 6, 16, 'steel_support')
|
||||
|
||||
const other_stone = ['pyroxenite', 'migmatite', 'travertine']
|
||||
const stone_types = global.TFC_STONE_TYPES.concat(other_stone)
|
||||
|
||||
stone_types.forEach(stone => {
|
||||
|
||||
event.support(`tfg:${stone}_support_horizontal`, 2, 2, 4, `${stone}_support`)
|
||||
})
|
||||
}
|
||||
//#endregion
|
||||
|
|
|
|||
|
|
@ -138,6 +138,20 @@ function registerTFCDyeRecipes(event) {
|
|||
.fluidOutput(Fluid.of(`tfc:${dyeName}_dye`, 144 * i))
|
||||
.id(`tfc:pot/${i}x_${dyeName}_dye`)
|
||||
}
|
||||
|
||||
event.recipes.gtceu.chemical_reactor(`chemical_dye_${dyeName}_acetic`)
|
||||
.itemInputs(`#forge:dyes/${dyeName}`)
|
||||
.inputFluids(Fluid.of('gtceu:acetic_acid', 250), Fluid.of('minecraft:water', 1000))
|
||||
.outputFluids(Fluid.of(`tfc:${dyeName}_dye`, 144 * 3))
|
||||
.duration(15 * 20)
|
||||
.EUt(24)
|
||||
|
||||
event.recipes.gtceu.chemical_reactor(`chemical_dye_${dyeName}_vinegar`)
|
||||
.itemInputs(`#forge:dyes/${dyeName}`)
|
||||
.inputFluids(Fluid.of('tfc:vinegar', 250))
|
||||
.outputFluids(Fluid.of(`tfc:${dyeName}_dye`, 144))
|
||||
.duration(30 * 20)
|
||||
.EUt(24)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
|
|
|||
|
|
@ -34,44 +34,6 @@ const registerTFCRecipes = (event) => {
|
|||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты зерен
|
||||
|
||||
global.TFC_QUERN_GRAIN_RECIPE_COMPONENTS.forEach(element => {
|
||||
|
||||
event.recipes.gtceu.macerator(`tfg:${element.name}`)
|
||||
.itemInputs(element.input)
|
||||
.itemOutputs(element.output)
|
||||
.chancedOutput('tfc:straw', 7000, 500)
|
||||
.duration(200)
|
||||
.EUt(2)
|
||||
|
||||
event.recipes.tfc.quern(element.output, element.input)
|
||||
.id(`tfg:quern/${element.name}`)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты муки
|
||||
|
||||
global.TFC_QUERN_FLOUR_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.recipes.gtceu.macerator(`tfg:${element.name}`)
|
||||
.itemInputs(element.input)
|
||||
.itemOutputs(element.output)
|
||||
.duration(200)
|
||||
.EUt(2)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты обжарки мяса
|
||||
|
||||
global.TFC_FURNACE_MEAT_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.smelting(element.output, element.input)
|
||||
.id(`tfg:smelting/${element.name}`)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты обжарки форм
|
||||
|
||||
global.TFC_FURNACE_MOLD_RECIPE_COMPONENTS.forEach(element => {
|
||||
|
|
@ -94,26 +56,26 @@ const registerTFCRecipes = (event) => {
|
|||
|
||||
// Дерево
|
||||
global.TFC_WOOD_TYPES.forEach(wood => {
|
||||
generateGreenHouseRecipe(event, `8x tfc:wood/sapling/${wood}`, 16000, `64x tfc:wood/log/${wood}`, `tfg:greenhouse/${wood}`, true)
|
||||
generateGreenHouseRecipe(event, `8x tfc:wood/sapling/${wood}`, 16000, `64x tfc:wood/log/${wood}`, `tfg:greenhouse/${wood}`, 'minecraft:overworld')
|
||||
})
|
||||
|
||||
global.AFC_SAPLINGS.forEach(x => {
|
||||
generateGreenHouseRecipe(event, `8x afc:wood/sapling/${x.sapling}`, 16000, `64x ${x.log}`, `tfg:greenhouse/${x.sapling}`, true)
|
||||
generateGreenHouseRecipe(event, `8x afc:wood/sapling/${x.sapling}`, 16000, `64x ${x.log}`, `tfg:greenhouse/${x.sapling}`, 'minecraft:overworld')
|
||||
})
|
||||
|
||||
// Семена фруктов
|
||||
global.TFC_GREENHOUSE_FRUIT_RECIPE_COMPONENTS.forEach(element => {
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, true)
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, 'minecraft:overworld')
|
||||
})
|
||||
|
||||
// Семена овощей
|
||||
global.TFC_GREENHOUSE_VEGETABLE_RECIPE_COMPONENTS.forEach(element => {
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, false)
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, null)
|
||||
})
|
||||
|
||||
// Семена ягод
|
||||
global.TFC_GREENHOUSE_BERRY_RECIPE_COMPONENTS.forEach(element => {
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, false)
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, null)
|
||||
})
|
||||
|
||||
// Растения
|
||||
|
|
@ -121,20 +83,11 @@ const registerTFCRecipes = (event) => {
|
|||
const itemId = element.id;
|
||||
const recipeId = `greenhouse_${itemId.replace(':', '_')}`;
|
||||
|
||||
generateGreenHouseRecipe(event, itemId, 8000, `8x ${itemId}`, recipeId, false);
|
||||
generateGreenHouseRecipe(event, itemId, 8000, `8x ${itemId}`, recipeId, null);
|
||||
});
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты хлеба
|
||||
|
||||
global.TFC_FURNACE_BREAD_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.smelting(element.output, element.input)
|
||||
.id(`tfg:smelting/${element.name}`)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
event.shapeless('tfc:crucible', ['tfc:crucible']).id('tfg:empty_crucible')
|
||||
|
||||
event.shapeless('2x minecraft:stick', ['#minecraft:saplings', '#forge:tools/knives']).id('tfg:strip_saplings')
|
||||
|
|
|
|||
|
|
@ -117,20 +117,6 @@ function registerTFCMachineRecipes(event) {
|
|||
.duration(3200)
|
||||
.EUt(16)
|
||||
|
||||
//#region Рецепты плоского теста
|
||||
|
||||
global.TFC_MIXER_FLATBREAD_DOUGH_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.recipes.gtceu.mixer(element.name)
|
||||
.itemInputs(element.input)
|
||||
.inputFluids(Fluid.of('minecraft:water', 100))
|
||||
.itemOutputs(element.output)
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
.circuit(3)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Молды в ассемблере
|
||||
|
||||
for (let i = 0; i < global.TFC_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS.length; i++) {
|
||||
|
|
@ -144,6 +130,20 @@ function registerTFCMachineRecipes(event) {
|
|||
.EUt(2)
|
||||
}
|
||||
|
||||
event.recipes.gtceu.extruder('tfg:unfired_clay_brick')
|
||||
.itemInputs('minecraft:clay_ball')
|
||||
.notConsumable('gtceu:ingot_extruder_mold')
|
||||
.itemOutputs('tfc:ceramic/unfired_brick')
|
||||
.duration(20)
|
||||
.EUt(2)
|
||||
|
||||
event.recipes.gtceu.extruder('tfg:unfired_fire_clay_brick')
|
||||
.itemInputs('tfc:fire_clay')
|
||||
.notConsumable('gtceu:ingot_extruder_mold')
|
||||
.itemOutputs('tfc:ceramic/unfired_fire_brick')
|
||||
.duration(20)
|
||||
.EUt(2)
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Стеклянные смеси в бутылки в ассемблере
|
||||
|
|
@ -174,158 +174,9 @@ function registerTFCMachineRecipes(event) {
|
|||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
// Curdled milk
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_milk')
|
||||
.inputFluids(Fluid.of('minecraft:milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('tfc:curdled_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_yak_milk')
|
||||
.inputFluids(Fluid.of('firmalife:yak_milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('firmalife:curdled_yak_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_goat_milk')
|
||||
.inputFluids(Fluid.of('firmalife:goat_milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('firmalife:curdled_goat_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
//Curds
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/milk_curd')
|
||||
.inputFluids(Fluid.of('tfc:curdled_milk', 1000))
|
||||
.itemOutputs('firmalife:food/milk_curd')
|
||||
.duration(1200)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/yak_curd')
|
||||
.inputFluids(Fluid.of('firmalife:curdled_yak_milk', 1000))
|
||||
.itemOutputs('firmalife:food/yak_curd')
|
||||
.duration(1200)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/goat_curd')
|
||||
.inputFluids(Fluid.of('firmalife:curdled_goat_milk', 1000))
|
||||
.itemOutputs('firmalife:food/goat_curd')
|
||||
.duration(1200)
|
||||
.EUt(16)
|
||||
|
||||
// Cheese wheels
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/gouda_wheel')
|
||||
.inputFluids(Fluid.of('tfc:salt_water', 750))
|
||||
.itemInputs('3x firmalife:food/milk_curd')
|
||||
.itemOutputs('firmalife:gouda_wheel')
|
||||
.duration(12000)
|
||||
.EUt(24)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/shosha_wheel')
|
||||
.inputFluids(Fluid.of('tfc:salt_water', 750))
|
||||
.itemInputs('3x firmalife:food/yak_curd')
|
||||
.itemOutputs('firmalife:shosha_wheel')
|
||||
.duration(12000)
|
||||
.EUt(24)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/feta_wheel')
|
||||
.inputFluids(Fluid.of('tfc:salt_water', 750))
|
||||
.itemInputs('3x firmalife:food/goat_curd')
|
||||
.itemOutputs('firmalife:feta_wheel')
|
||||
.duration(12000)
|
||||
.EUt(24)
|
||||
|
||||
// Cutting
|
||||
event.recipes.gtceu.cutter('tfg:cutter/gouda')
|
||||
.itemInputs('firmalife:gouda_wheel')
|
||||
.itemOutputs('4x firmalife:food/gouda')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/shosha')
|
||||
.itemInputs('firmalife:shosha_wheel')
|
||||
.itemOutputs('4x firmalife:food/shosha')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/feta')
|
||||
.itemInputs('firmalife:feta_wheel')
|
||||
.itemOutputs('4x firmalife:food/feta')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/cheddar')
|
||||
.itemInputs('firmalife:cheddar_wheel')
|
||||
.itemOutputs('4x firmalife:food/cheddar')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/chevre')
|
||||
.itemInputs('firmalife:chevre_wheel')
|
||||
.itemOutputs('4x firmalife:food/chevre')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/rajya_metok')
|
||||
.itemInputs('firmalife:rajya_metok_wheel')
|
||||
.itemOutputs('4x firmalife:food/rajya_metok')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
// Misc
|
||||
global.TFC_MILKS.forEach(milk => {
|
||||
event.recipes.gtceu.fermenter(`tfg:fermenter/cream_from_${milk.id.replace(':', '_')}`)
|
||||
.inputFluids(Fluid.of(milk.id, 1000))
|
||||
.outputFluids(Fluid.of('firmalife:cream'))
|
||||
.circuit(6)
|
||||
.duration(1200)
|
||||
.EUt(24)
|
||||
})
|
||||
|
||||
event.recipes.gtceu.mixer('tfg:mixer/tomato_sauce')
|
||||
.itemInputs('firmalife:food/tomato_sauce_mix')
|
||||
.inputFluids(Fluid.of('minecraft:water', 200))
|
||||
.itemOutputs('firmalife:food/tomato_sauce')
|
||||
.duration(200)
|
||||
.EUt(24)
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Оливки
|
||||
|
||||
event.recipes.gtceu.macerator(`tfg:tfc/olive_paste`)
|
||||
.itemInputs('tfc:food/olive')
|
||||
.itemOutputs('2x tfc:olive_paste')
|
||||
.duration(60)
|
||||
.EUt(2)
|
||||
|
||||
event.recipes.gtceu.mixer('tfg:tfc/olive_oil_water')
|
||||
.inputFluids(Fluid.of('water', 200))
|
||||
.itemInputs('1x tfc:olive_paste')
|
||||
.outputFluids(Fluid.of('tfc:olive_oil_water', 200))
|
||||
.duration(200)
|
||||
.EUt(28)
|
||||
|
||||
event.recipes.gtceu.distillery('tfg:tfc/olive_oil')
|
||||
.inputFluids(Fluid.of('tfc:olive_oil_water', 250))
|
||||
.outputFluids(Fluid.of('tfc:olive_oil', 50))
|
||||
.duration(600)
|
||||
.EUt(28)
|
||||
|
||||
//#endregion
|
||||
|
||||
// Vinegar and Brine
|
||||
|
||||
global.TFC_ALCOHOL.forEach(alcohol => {
|
||||
event.recipes.gtceu.fermenter(`tfg:tfc/vinegar/${alcohol.id.replace(':', '_')}`)
|
||||
.itemInputs('#tfc:foods/fruits')
|
||||
.inputFluids(Fluid.of(alcohol.id, 250))
|
||||
.outputFluids(Fluid.of('tfc:vinegar', 250))
|
||||
.duration(600)
|
||||
.EUt(28)
|
||||
})
|
||||
// Brine
|
||||
|
||||
event.recipes.gtceu.mixer('tfg:tfc/brine')
|
||||
.inputFluids(Fluid.of('tfc:salt_water', 900))
|
||||
|
|
|
|||
|
|
@ -1114,15 +1114,6 @@ function registerTFCMaterialsRecipes(event) {
|
|||
let tongPartStack = Item.of(`tfchotornot:tong_part/${material.getName()}`)
|
||||
|
||||
if (!tongsStack.isEmpty() && !tongPartStack.isEmpty()) {
|
||||
event.shaped(tongsStack, [
|
||||
'AA',
|
||||
'BC'
|
||||
], {
|
||||
A: tongPartStack,
|
||||
B: '#forge:bolts',
|
||||
C: '#forge:tools/hammers'
|
||||
}).id(`tfchotornot:crafting/tongs/${material.getName()}`)
|
||||
|
||||
// Ручка щипцов
|
||||
event.recipes.tfc.heating(tongPartStack, tfcProperty.getMeltTemp())
|
||||
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144))
|
||||
|
|
|
|||
|
|
@ -560,207 +560,4 @@ function registerTFCStoneRecipes(event) {
|
|||
result: `tfc:rock/cobble/${stone}`
|
||||
}).id(`tfg:collapse/${stone}_gt_ores`)
|
||||
})
|
||||
|
||||
|
||||
// #region Rock decomposition recipes
|
||||
|
||||
let oxygenFluid = GTMaterials.Oxygen.getFluid();
|
||||
|
||||
// Replacements
|
||||
|
||||
event.remove({ id: 'gtceu:electrolyzer/decomposition_electrolyzing_blackstone' })
|
||||
|
||||
event.recipes.gtceu.centrifuge('gtceu:decomposition_centrifuging__diorite')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, GTMaterials.Diorite, 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Mirabilite, 1), 2000, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Clay, 1), 7000, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 5))
|
||||
|
||||
event.recipes.gtceu.centrifuge('gtceu:decomposition_centrifuging__marble')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, GTMaterials.Marble, 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Magnesium, 1), 1500, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Calcite, 1), 8000, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 12))
|
||||
|
||||
event.recipes.gtceu.centrifuge('gtceu:decomposition_centrifuging__andesite')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, GTMaterials.Andesite, 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Asbestos, 1), 8000, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Saltpeter, 1), 2000, 700)
|
||||
|
||||
event.recipes.gtceu.centrifuge('gtceu:decomposition_centrifuging__basalt')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, GTMaterials.Basalt, 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Olivine, 1), 1700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Calcite, 1), 1700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Flint, 1), 5000, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dust, GTMaterials.DarkAsh, 1), 2500, 700)
|
||||
|
||||
event.recipes.gtceu.centrifuge('gtceu:decomposition_centrifuging__granite')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, GTMaterials.Granite, 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.SiliconDioxide, 1), 8000, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Redrock, 1), 2000, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 5))
|
||||
|
||||
event.recipes.gtceu.centrifuge('gtceu:decomposition_centrifuging__deepslate')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, GTMaterials.Deepslate, 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.SiliconDioxide, 1), 8000, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Biotite, 1), 2000, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dust, GTMaterials.Stone, 1), 3700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 3700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 12))
|
||||
|
||||
event.recipes.gtceu.centrifuge('blackstone_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, GTMaterials.Blackstone, 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dust, GTMaterials.DarkAsh, 1), 2500, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Calcium, 1), 3700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Sodium, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Magnesium, 1), 4700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 3700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 16))
|
||||
|
||||
// New
|
||||
|
||||
event.recipes.gtceu.centrifuge('gabbro_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('gabbro'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Rutile, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Iron, 1), 3700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 1700, 700)
|
||||
|
||||
event.recipes.gtceu.centrifuge('shale_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('shale'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Sodium, 1), 7500, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 1500, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 16))
|
||||
|
||||
event.recipes.gtceu.centrifuge('claystone_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('claystone'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Aluminium, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Silicon, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Hematite, 1), 6700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 5))
|
||||
|
||||
event.recipes.gtceu.centrifuge('limestone_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('limestone'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Calcium, 1), 8700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 1700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 36))
|
||||
|
||||
event.recipes.gtceu.centrifuge('conglomerate_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('conglomerate'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Hematite, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Silicon, 1), 4700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.TricalciumPhosphate, 1), 3700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 5))
|
||||
|
||||
event.recipes.gtceu.centrifuge('dolomite_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('dolomite'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Magnesium, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Calcium, 1), 5700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 3700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 16))
|
||||
|
||||
event.recipes.gtceu.centrifuge('chert_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('chert'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Silicon, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 3700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 24))
|
||||
|
||||
event.recipes.gtceu.centrifuge('chalk_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('chalk'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Calcium, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Carbon, 1), 3700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 1700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 12))
|
||||
|
||||
event.recipes.gtceu.centrifuge('rhyolite_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('rhyolite'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.SiliconDioxide, 1), 8700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 800, 700)
|
||||
|
||||
event.recipes.gtceu.centrifuge('dacite_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('dacite'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Sodium, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Calcium, 1), 5700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.SiliconDioxide, 1), 4700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Aluminium, 1), 3700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 1500, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 12))
|
||||
|
||||
event.recipes.gtceu.centrifuge('slate_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('slate'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.SiliconDioxide, 1), 4700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 3700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 24))
|
||||
|
||||
event.recipes.gtceu.centrifuge('phyllite_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('phyllite'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Quartzite, 1), 5700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.CalciumChloride, 1), 1700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 5))
|
||||
|
||||
event.recipes.gtceu.centrifuge('schist_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('schist'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Mica, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Talc, 1), 5700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Graphite, 1), 4700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.MetalMixture, 1), 780, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 12))
|
||||
|
||||
event.recipes.gtceu.centrifuge('gneiss_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('gneiss'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Quartzite, 1), 6700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Biotite, 1), 3700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 5))
|
||||
|
||||
event.recipes.gtceu.centrifuge('dripstone_dust_separation')
|
||||
.EUt(GTValues.VA[GTValues.MV])
|
||||
.duration(480)
|
||||
.itemInputs(ChemicalHelper.get(TagPrefix.dust, TFGHelpers.getMaterial('dripstone'), 1))
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.CalciumCarbonate, 1), 8700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.CalciumHydroxide, 1), 1700, 700)
|
||||
.chancedOutput(ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.SiliconDioxide, 1), 4700, 700)
|
||||
.outputFluids(Fluid.of(oxygenFluid, 12))
|
||||
|
||||
// #endregion
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@ TFCEvents.selectClimateModel(event => {
|
|||
|
||||
switch (location) {
|
||||
|
||||
/*case 'ad_astra:moon':
|
||||
case 'ad_astra:moon':
|
||||
event.setModel('tfg:moon_climate');
|
||||
break;
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ TFCEvents.selectClimateModel(event => {
|
|||
case 'ad_astra:moon_orbit':
|
||||
case 'ad_astra:mars_orbit':
|
||||
event.setModel('tfg:orbit_climate');
|
||||
break;*/
|
||||
break;
|
||||
|
||||
case 'minecraft:the_nether':
|
||||
event.setModel('tfg:nether_climate');
|
||||
|
|
|
|||
|
|
@ -82,6 +82,10 @@ const registerTFCItemTags = (event) => {
|
|||
// Make eggs not useless
|
||||
event.add('tfc:foods/usable_in_salad', 'tfc:food/cooked_egg')
|
||||
event.add('tfc:foods/usable_in_salad', 'tfc:food/boiled_egg')
|
||||
event.add('tfc:foods/usable_in_jam_sandwich', 'tfc:food/cooked_egg')
|
||||
event.add('tfc:foods/usable_in_jam_sandwich', 'tfc:food/boiled_egg')
|
||||
event.add('tfc:foods/usable_in_sandwich', 'tfc:food/cooked_egg')
|
||||
event.add('tfc:foods/usable_in_sandwich', 'tfc:food/boiled_egg')
|
||||
|
||||
// Чтобы жарились бревна из TFC в пиролиз. печке
|
||||
// Почему нельзя просто добавить тег в тег? (допустим minecraft:logs), потому что из-за этого ломаются все рецепты minecraft:logs, магия...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue