neuralgia/kubejs/server_scripts/tfg/recipes.rocks.js
AirRice 2d94c67645
Create 6 work on my end (#1214)
* fixed rabbit houses not spawning, put them in every biome but reduced the weight a bit

* changed moon rocks to be based off noise instead of biomes

* climate stuff

* back on that moon decoration grindset

* Rocket craft

* lunar foliage

* New crafting process for the Tier 1 Rocket (#971)

* Rocket craft

* fix name for asbestos

Signed-off-by: TomPlop <tomdidome@gmail.com>

* fix asbestos name

Signed-off-by: TomPlop <tomdidome@gmail.com>

* remove wires for rocket alloy and fix asbestos

Signed-off-by: TomPlop <tomdidome@gmail.com>

---------

Signed-off-by: TomPlop <tomdidome@gmail.com>

* removed kjs moon plants since they're in tfg-core now

* chorus plants!

* lang update

* moon biome/feature updates, added chorus plants

* this fucking lang that I hate

* added proper loose rock, rock pile, and rock delta features for all the moon rock types, added coral features, retextured warped vines

* added spikes for all ad astra rocks

* finished adding spikes for all rocks

* fixed moon rabbit houses

* HV Quests in eng and fixes for others quests and HV integration (#998)

* moved moonbase structure to the last step of worldgen so it doesn't get stuff placed on top of it

* langs for biomes

* tweaks for moon spikes and warped vines, added asurine biome decoration

* updated langs

* tweak to placement of loose moon stones

* spikes should now only generate underground

* craters...? not a huge fan of these tbh

* never mind, those craters looked bad

* loot tables for new moon blocks

* loot tables for "meteorites" and quartz blocks

* craters but for realsies this time

* Fixes for quests (#1000)

* ad astra configs

* added recipes for the oxygen loader

* started a tfg space recipes file, moved the air collector ones there

* Bedrock miner for the moon (#1021)

* bedrock vein moon

* Bedrock miner implementation

* adding mica vein and fixing vein id with tfg

* fix for id mica vein

* Fix Electrolyzing lang formate for moon update (#1032)

* changed moon worldgen depth from -64 to 0

* pakku

* figured out how to make pakku actually add the old version of ad astra we want

* added giselle-addon back for now

* fixed merge

* existing greenhouse recipes now require to be on earth

* moved these into a different file

* retextured raw iron block / raw iron ore, changed ad astra sky stone to look like more of a meteorite, langs

* removed brittle charcoal

* removed dead firmalife event

* added sand layer blocks

* added sand piles, added new sandy biome that replaces lunar_plains sometimes

* removed moon spikes

* oops fixed the spikes

* added loose rocks back to lunar_sands

* biome lang

* forgor to add lunar sands to the moon biome list

* changed stone layers so they all follow the same noise (easier to understand since that's how tfc does it too, more or less)

* ad astra recipe tweaks

* started recipes for some deco blocks

* updated ore field guide

* moonbase structure legs (I hate jigsaws!)

* tweaks to the asurine geode because it seems to cause chunk errors sometimes

* added rabbits to all neutral/sparse biomes, removed from all dense ones

* remove cheese block

* mobs for moon biomes

* loot tables and tags for moon endermen

* item sizes for ad astra

* yumy popped chorus fruit (needs a cooking recipe)

* biome tweaks again

* biome mob tweaks again

* more work on deco blocks, needs checking

* fixed rabbit spawns

* rabbit spawn tweaks, removed endermites because they're screwing with other mob spawns

* we got our own moon carvers now! that don't put lava underground any more!

* ad astra recipe tweaks and finishing up

* removed duplicate white flag recipe

* solar panel tweaks

* langs

* what if we just added recipes for these?

* added recipes for ae2 deco blocks, stone dust centrifuge recipes for the moon

* ash pile always gives ash

* chorus flower loot table

* desh raw ore block change

* ore vein updates

* oh yeah there's no etrium ore

* langs

* tfc-ambiental tooltips for space suits

* more recipe tweaks

* we love material unification

* fixed ad astra's lamps so they actually emit light lmao

* removed FE cables 💔

* adjusted the brightness of the generated raw ore textures

* langs

* mysterious cube recipe

* cc recipe tweaks

* langs

* asurine dust + centrifuge recipes

* does this fix the weird squares with structures?

* moon noise tweaks

* chorus/lightbloom stuff

* remove ad-astra-giselle-addon, tweak netherite spacesuit recipes

* revert new raw iron texture

* forgor one of the giselle recipes

* removed giselle quest

* langs

* compressed airs!

* whatever this is

* antigravity! and zip gun tags

* lang

* rearranged food recipes into hopefully a good format?

* custom gregtech machines and logic to handle TFC recipes (#1160)

* Change lv chem reactor quest to require any container with rubber instead of a rubber bucket

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>

* Add placeholder assets for food machines (copied from gtceu)

* remove greenhouse definition from kubejs

* change greenhouse recipe

* Rework recipes file

---------

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>

* pakku updates

* update greenhouse quest

* update greenhouse tooltip

* comment out coconut milk

* langs

* tooltip fix

* wrong food lang

* recipe fixes

* started work on rewriting the readme

* Update pakku-lock.json for lunchbox fix (#1164)

* - Update pakku-lock.json for lunchbox fix

* - Update pakku-lock.json

* Update pakku-lock.json

* bump

* Add some more food recipes (#1166)

* Change lv chem reactor quest to require any container with rubber instead of a rubber bucket

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>

* Add placeholder assets for food machines (copied from gtceu)

* remove greenhouse definition from kubejs

* change greenhouse recipe

* Rework recipes file

* Modify food recipes

* Add some more recipes

* add more recipes and tidy up food recipe file

* change incorrect string

---------

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>

* - Food changes

* - Updated texture for aqueous accumulator

* Update README.md

Signed-off-by: Pyritie <pyritie@gmail.com>

* - Updated texture for aqueous accumulator (#1168)

* - Food changes (#1167)

* fixes #1165

* removed gems tag from flint

* fixes #1162

* Migmatite conflict fix (#1153)

* Migmatite conflict fixe

Tbh I can hardly call this a good fix, but tbh with Stonecutter coming back this might even be meaningless

Signed-off-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>

* Update Migmatite

Signed-off-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>

* Update recipes.rocks.js

Signed-off-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>

---------

Signed-off-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>

* fixed some VI/rolling mill recipes that were still generating for removed items

* tweaked zinc color, added new plated block color

* nerfed durability of wooden tongs, slightly tweaked their recipe

* changelog

* quest updates, langs

* Adding glow ink recipe (#1171)

* Adding glow ink recipe

* config test

* changing to chem bath and 'glowing dye'

---------

Co-authored-by: Xikaro <os.valerievich@ya.ru>

* fixed ice capsule recipe not filling it up completely

* material and rose quartz stuff

* Bump softprops/action-gh-release in the dependencies group (#1172)

Bumps the dependencies group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `softprops/action-gh-release` from 2.2.2 to 2.3.2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.2.2...v2.3.2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* updated dimension marker for the beneath, new ones for other planets

* langs

* mushroom blocks now drop way less mushroom

* Active/food (#1176)

* rearranged food recipes into hopefully a good format?

* custom gregtech machines and logic to handle TFC recipes (#1160)

* Change lv chem reactor quest to require any container with rubber instead of a rubber bucket

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>

* Add placeholder assets for food machines (copied from gtceu)

* remove greenhouse definition from kubejs

* change greenhouse recipe

* Rework recipes file

---------

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>

* update greenhouse quest

* update greenhouse tooltip

* comment out coconut milk

* langs

* tooltip fix

* wrong food lang

* recipe fixes

* Add some more food recipes (#1166)

* Change lv chem reactor quest to require any container with rubber instead of a rubber bucket

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>

* Add placeholder assets for food machines (copied from gtceu)

* remove greenhouse definition from kubejs

* change greenhouse recipe

* Rework recipes file

* Modify food recipes

* Add some more recipes

* add more recipes and tidy up food recipe file

* change incorrect string

---------

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>

* - Food changes

---------

Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
Co-authored-by: Pyritie <pyritie@gmail.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>

* Revert "Active/food (#1176)" (#1177)

This reverts commit 6c3fce648b.

* Revert "merge"

* - Fixed brining and smoking recipes and added drying recipes. (#1181)

* fixed ISPRecipeLogic path

* langs

* fixed magnetic neodymium material set inconsistency

* updated veins

* removed dioside, fayalite, enstatite

* removed old refrigerator, added conversion to new one

* whoops, conversion recipe was the wrong way around

* added some text to the food recipes!

* fixed vat having the wrong fluid for dyes, added other dye fluids

* whoops that removed the magnet icon from magnetic neodymium

* fix duplicate dyes

* firmalife moment

* did I forget to save this last night or something...?

* added a second recipe for leather water flask sides

* people are gonna hate me for this

* lang

* balance tweak?

* oh so that's why

* chicken

* dyes

* Whitelisted molds and pumps for Beneath Hellforge (#1183)

Signed-off-by: Indi <JEngelmannPE@gmail.com>

* fix refrigerator in structure

* species stuff and loot tables

* emi categories

* langs for bedrock ores

* trying to get the moon rabbit houses to not put squares on the ground

* birt stuff

* is this ever going to work?

* mob changes in moon biomes since we have birts and surface limpets now

* reduce the spawning of limpets

* loot table for birt dwelling

* the other egg tag for the birt egg

* I think that's how you do emissive textures?

* aircraft configs

* fix birt dwelling model

* - Merge current Venus progress (#1185)

* one of the mud hut structures had an old gregtech zinc ingot

* hid the netherite space suit recipes, tweaked the normal space suit a little

* cleaned up some of the tfc data files, also added moon meat!

* nerfed lava aqueous accumulator a bit

* fixed a few other steel items being extractable in LV

* changelog

* reorganized stone dusts, nerfed them a bit more

* changelog

* changelog, added blood lily to klayze loot

* changelog

* removed burpflower field guide page

* changelog

* comments

* changed rhyolite to use moon sand instead of white sand

* - Lots of food stuff (#1196)

* - Lots of food stuff

* Updated Changelog

* changed dry ice and calorie paste recipes (#1201)

* - Lots of food stuff

* Updated Changelog

* Changed dry ice and calorie paste recipes

* Update recipes.miscellaneous.js

Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>

---------

Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>

* lunchbox update into Pakku (#1200)

* Refactored KubeJS recipes for GT compatibility
lunchbox update into Pakku

* Refactored KubeJS recipes for GT compatibility
lunchbox update into Pakku
fixed bowl bug
fixed dupe food bug

* whitelisted glue for wood buckets/barrels

* removed better foliage again + visual workbench (doesn't handle recipes with greg tools very well)

* ABS glowstone recipe (#1202)

* Added ABS glowstone recipe

Idk how useful this is but I want it 

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Update recipes.js

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

---------

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* whoops

* no circuit needed here

* added dry ice to calorie paste recipe

* added space suit fabric

* fixed some models needing particles

* fixed recipe conflict with mushroom blocks

* tweaked glowstone, added purpur recipes, changelog

* changed clay bricks to extruder/curving press instead of assembler

* changelog

* Liquid burning (#1204)

* Added ABS glowstone recipe

Idk how useful this is but I want it 

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Update recipes.js

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Update recipes.js

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Added the straw

TomTomTom gave it to me to copy paste it here so the straw is all his work

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Now it's tin alloy fluid pipe as per pyritie's wishes

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Added Tom's anvil recipe for the straw

Also added comments to make it a clear region

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Tier 5 now for straw

Tom edited the message after I saw it .

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Tom's changes to anvil recipe , now tier 3 and plate instead of pipe

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

---------

Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>

* Updated some recipes (Andesite table cover, chain conveyor, bound cardboard)

* Create logistics quests draft

* Nerfed rose quartz glacier spawn rate a bit by setting explicit temp ranges

---------

Signed-off-by: TomPlop <tomdidome@gmail.com>
Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
Signed-off-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Signed-off-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Indi <JEngelmannPE@gmail.com>
Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>
Co-authored-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com>
Co-authored-by: ofoxsmith <77560533+ofoxsmith@users.noreply.github.com>
Co-authored-by: Xikaro <os.valerievich@ya.ru>
Co-authored-by: Redeix <brayden.j.m.ford@gmail.com>
Co-authored-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>
Co-authored-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Indi <JEngelmannPE@gmail.com>
Co-authored-by: Thomasx0 <153584223+Thomasx0@users.noreply.github.com>
Co-authored-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>
2025-06-24 01:32:17 +01:00

735 lines
No EOL
24 KiB
JavaScript

// priority: 0
function registerTFGRockRecipes(event) {
// #region Nether rock recipes
// loose rocks to cobble, bricks to brick blocks
const GLUEING_TOGETHER = [
{ loose: 'tfg:loose/deepslate', block: 'minecraft:cobbled_deepslate' },
{ loose: 'beneath:blackstone_pebble', block: 'minecraft:blackstone' },
{ loose: 'tfg:brick/deepslate', block: '4x minecraft:deepslate_bricks' },
{ loose: 'tfg:loose/dripstone', block: 'minecraft:dripstone_block' },
{ loose: 'tfg:loose/moon_stone', block: 'ad_astra:moon_cobblestone' },
{ loose: 'tfg:brick/moon_stone', block: '4x ad_astra:moon_stone_bricks' },
{ loose: 'tfg:loose/moon_deepslate', block: 'ad_astra:moon_deepslate' },
{ loose: 'tfg:loose/mars_stone', block: 'ad_astra:mars_cobblestone' },
{ loose: 'tfg:brick/mars_stone', block: '4x ad_astra:mars_stone_bricks' },
{ loose: 'tfg:loose/venus_stone', block: 'ad_astra:venus_cobblestone' },
{ loose: 'tfg:brick/venus_stone', block: '4x ad_astra:venus_stone_bricks' },
{ loose: 'tfg:loose/mercury_stone', block: 'ad_astra:mercury_cobblestone' },
{ loose: 'tfg:brick/mercury_stone', block: '4x ad_astra:mercury_stone_bricks' },
{ loose: 'tfg:loose/glacio_stone', block: 'ad_astra:glacio_cobblestone' },
{ loose: 'tfg:brick/glacio_stone', block: '4x ad_astra:glacio_stone_bricks' },
{ loose: 'tfg:brick/permafrost', block: '4x ad_astra:permafrost_bricks' },
{ loose: 'minecraft:popped_chorus_fruit', block: '4x minecraft:purpur_block' }
]
GLUEING_TOGETHER.forEach(x => {
event.shaped(x.block, [
'ABA',
'BAB',
'ABA'
], {
A: x.loose,
B: 'tfc:mortar'
})
event.recipes.gtceu.assembler(`${x.loose}_to_${x.block}`.replace(/[: ]/g, '_'))
.itemInputs(`5x ${x.loose}`)
.inputFluids(Fluid.of('gtceu:concrete', 72))
.itemOutputs(x.block)
.circuit(2)
.duration(50)
.EUt(2)
})
// loose to bricks
const LOOSE_TO_BRICKS = [
{ loose: 'tfg:loose/deepslate', brick: 'tfg:brick/deepslate' },
{ loose: 'tfg:loose/moon_stone', brick: 'tfg:brick/moon_stone' },
{ loose: 'tfg:loose/mars_stone', brick: 'tfg:brick/mars_stone' },
{ loose: 'tfg:loose/venus_stone', brick: 'tfg:brick/venus_stone' },
{ loose: 'tfg:loose/mercury_stone', brick: 'tfg:brick/mercury_stone' },
{ loose: 'tfg:loose/glacio_stone', brick: 'tfg:brick/glacio_stone' },
{ loose: 'tfg:loose/permafrost', brick: 'tfg:brick/permafrost' }
]
LOOSE_TO_BRICKS.forEach(x => {
event.recipes.tfc.damage_inputs_shapeless_crafting(event.recipes.minecraft.crafting_shapeless(
x.brick, [x.loose, '#tfc:chisels']
))
event.recipes.gtceu.cutter(`${x.loose}_to_${x.brick}`.replace(/:/g, '_'))
.itemInputs(x.loose)
.itemOutputs(x.brick)
.duration(40)
.EUt(8)
})
// raw to polished
const RAW_TO_POLISHED = [
{ raw: 'minecraft:deepslate', polished: 'minecraft:polished_deepslate' },
{ raw: 'minecraft:blackstone', polished: 'minecraft:polished_blackstone' },
{ raw: 'minecraft:deepslate_bricks', polished: 'minecraft:deepslate_tiles' },
{ raw: 'minecraft:deepslate_tiles', polished: 'minecraft:chiseled_deepslate' },
{ raw: 'minecraft:polished_blackstone_bricks', polished: 'minecraft:chiseled_polished_blackstone' },
{ raw: 'minecraft:basalt', polished: 'minecraft:smooth_basalt' },
{ raw: 'minecraft:smooth_basalt', polished: 'minecraft:polished_basalt' },
{ raw: 'ad_astra:moon_stone', polished: 'ad_astra:polished_moon_stone' },
{ raw: 'ad_astra:moon_stone_bricks', polished: 'ad_astra:chiseled_moon_stone_bricks' },
{ raw: 'ad_astra:mars_stone', polished: 'ad_astra:polished_mars_stone' },
{ raw: 'ad_astra:mars_stone_bricks', polished: 'ad_astra:chiseled_mars_stone_bricks' },
{ raw: 'ad_astra:venus_stone', polished: 'ad_astra:polished_venus_stone' },
{ raw: 'ad_astra:venus_stone_bricks', polished: 'ad_astra:chiseled_venus_stone_bricks' },
{ raw: 'ad_astra:venus_sandstone', polished: 'ad_astra:venus_sandstone_bricks' },
{ raw: 'ad_astra:mercury_stone', polished: 'ad_astra:polished_mercury_stone' },
{ raw: 'ad_astra:mercury_stone_bricks', polished: 'ad_astra:chiseled_mercury_stone_bricks' },
{ raw: 'ad_astra:glacio_stone', polished: 'ad_astra:polished_glacio_stone' },
{ raw: 'ad_astra:glacio_stone_bricks', polished: 'ad_astra:chiseled_glacio_stone_bricks' },
{ raw: 'ad_astra:conglomerate', polished: 'ad_astra:polished_conglomerate' },
{ raw: 'ad_astra:permafrost', polished: 'ad_astra:polished_permafrost' },
{ raw: 'ad_astra:permafrost_bricks', polished: 'ad_astra:chiseled_permafrost_bricks' },
{ raw: 'ad_astra:chiseled_permafrost_bricks', polished: 'ad_astra:permafrost_tiles' },
{ raw: 'ae2:sky_stone_block', polished: 'ae2:smooth_sky_stone_block' },
{ raw: 'ae2:smooth_sky_stone_block', polished: 'ae2:sky_stone_brick' },
{ raw: 'ae2:sky_stone_brick', polished: 'ae2:sky_stone_small_brick' },
{ raw: 'gtceu:certus_quartz_block', polished: 'ae2:cut_quartz_block' },
]
RAW_TO_POLISHED.forEach(x => {
event.recipes.tfc.damage_inputs_shapeless_crafting(event.recipes.minecraft.crafting_shapeless(
x.polished, [x.raw, '#tfc:chisels']
))
event.recipes.gtceu.laser_engraver(`${x.raw}_to_${x.polished}`.replace(/:/g, '_'))
.itemInputs(x.raw)
.itemOutputs(x.polished)
.notConsumable('tfc:lens')
.duration(30)
.EUt(GTValues.VA[GTValues.ULV])
//event.custom({
// type: 'vintageimprovements:laser_cutting',
// ingredients: [{ item: x.raw }],
// results: [{item: x.polished }],
// energy: GTValues.VA[GTValues.ULV] * 30 * 4,
// maxChargeRate: GTValues.VA[GTValues.ULV] * 4
//}).id(`tfg:vi/laser/tfg/${x.raw.replace(/:/g, '_')}_to_${x.polished.replace(/:/g, '_')}`)
})
// cracked bricks
const CRACKING = [
{ raw: 'minecraft:deepslate_bricks', cracked: 'minecraft:cracked_deepslate_bricks' },
{ raw: 'minecraft:deepslate_tiles', cracked: 'minecraft:cracked_deepslate_tiles' },
{ raw: 'ad_astra:moon_stone_bricks', cracked: 'ad_astra:cracked_moon_stone_bricks' },
{ raw: 'ad_astra:mars_stone_bricks', cracked: 'ad_astra:cracked_mars_stone_bricks' },
{ raw: 'ad_astra:venus_stone_bricks', cracked: 'ad_astra:cracked_venus_stone_bricks' },
{ raw: 'ad_astra:venus_sandstone_bricks', cracked: 'ad_astra:cracked_venus_sandstone_bricks' },
{ raw: 'ad_astra:mercury_stone_bricks', cracked: 'ad_astra:cracked_mercury_stone_bricks' },
{ raw: 'ad_astra:glacio_stone_bricks', cracked: 'ad_astra:cracked_glacio_stone_bricks' },
{ raw: 'ad_astra:permafrost_bricks', cracked: 'ad_astra:cracked_permafrost_bricks' }
]
CRACKING.forEach(x => {
event.recipes.tfc.damage_inputs_shapeless_crafting(event.recipes.minecraft.crafting_shapeless(
x.cracked, [x.raw, '#tfc:hammers']
))
event.recipes.gtceu.forge_hammer(`${x.raw}_to_${x.cracked}`.replace(/:/g, '_'))
.itemInputs(x.raw)
.itemOutputs(x.cracked)
.duration(12)
.EUt(8)
})
// forge hammer
const HAMMERING = [
{ raw: 'minecraft:deepslate', hammered: 'minecraft:cobbled_deepslate' },
{ raw: 'minecraft:cobbled_deepslate', hammered: 'tfc:sand/black' },
{ raw: 'minecraft:blackstone', hammered: 'tfc:sand/black' },
{ raw: 'beneath:crackrack', hammered: 'tfc:sand/pink' },
{ raw: 'minecraft:dripstone_block', hammered: 'tfc:sand/brown' },
{ raw: 'ad_astra:moon_stone', hammered: 'ad_astra:moon_cobblestone' },
{ raw: 'tfg:rock/hardened_moon_stone', hammered: 'ad_astra:moon_cobblestone' },
{ raw: 'ad_astra:moon_cobblestone', hammered: 'ad_astra:moon_sand' },
{ raw: 'ad_astra:moon_deepslate', hammered: 'ad_astra:moon_sand' },
{ raw: 'tfg:rock/hardened_moon_deepslate', hammered: 'ad_astra:moon_sand' },
{ raw: 'ad_astra:mars_stone', hammered: 'ad_astra:mars_cobblestone' },
{ raw: 'tfg:rock/hardened_mars_stone', hammered: 'ad_astra:mars_cobblestone' },
{ raw: 'ad_astra:mars_cobblestone', hammered: 'ad_astra:mars_sand' },
{ raw: 'ad_astra:venus_stone', hammered: 'ad_astra:venus_cobblestone' },
{ raw: 'tfg:rock/hardened_venus_stone', hammered: 'ad_astra:venus_cobblestone' },
{ raw: 'ad_astra:venus_cobblestone', hammered: 'ad_astra:venus_sand' },,
{ raw: 'ad_astra:mercury_stone', hammered: 'ad_astra:mercury_cobblestone' },
{ raw: 'tfg:rock/hardened_mercury_stone', hammered: 'ad_astra:mercury_cobblestone' },
{ raw: 'ad_astra:mercury_cobblestone', hammered: 'tfc:sand/red' },
{ raw: 'ad_astra:glacio_stone', hammered: 'ad_astra:glacio_cobblestone' },
{ raw: 'tfg:rock/hardened_glacio_stone', hammered: 'ad_astra:glacio_cobblestone' },
{ raw: 'ad_astra:glacio_cobblestone', hammered: 'tfc:sand/white' },
{ raw: 'ad_astra:conglomerate', hammered: 'tfc:rock/gravel/conglomerate' },
{ raw: 'ad_astra:permafrost', hammered: 'tfg:loose/permafrost' }
]
HAMMERING.forEach(x => {
event.recipes.gtceu.forge_hammer(`${x.raw}_to_${x.hammered}`.replace(/:/g, '_'))
.itemInputs(x.raw)
.itemOutputs(x.hammered)
.duration(12)
.EUt(8)
})
// slabs, stairs, walls
const CUTTER = [
// #region Nether
{
raw: 'minecraft:cobbled_deepslate',
stair: 'minecraft:cobbled_deepslate_stairs',
slab: 'minecraft:cobbled_deepslate_slab',
wall: 'minecraft:cobbled_deepslate_wall',
dust: 'gtceu:deepslate_dust',
loose: 'tfg:loose/deepslate',
stonecutting: false
},
{
raw: 'minecraft:polished_deepslate',
stair: 'minecraft:polished_deepslate_stairs',
slab: 'minecraft:polished_deepslate_slab',
wall: 'minecraft:polished_deepslate_wall',
dust: 'gtceu:deepslate_dust',
stonecutting: false
},
{
raw: 'minecraft:deepslate_bricks',
stair: 'minecraft:deepslate_brick_stairs',
slab: 'minecraft:deepslate_brick_slab',
wall: 'minecraft:deepslate_brick_wall',
dust: 'gtceu:deepslate_dust',
stonecutting: false
},
{
raw: 'minecraft:deepslate_tiles',
stair: 'minecraft:deepslate_tile_stairs',
slab: 'minecraft:deepslate_tile_slab',
wall: 'minecraft:deepslate_tile_wall',
dust: 'gtceu:deepslate_dust',
stonecutting: false
},
{
raw: 'minecraft:blackstone',
stair: 'minecraft:blackstone_stairs',
slab: 'minecraft:blackstone_slab',
wall: 'minecraft:blackstone_wall',
dust: 'gtceu:blackstone_dust',
loose: 'beneath:blackstone_pebble',
stonecutting: false
},
{
raw: 'minecraft:polished_blackstone',
stair: 'minecraft:polished_blackstone_stairs',
slab: 'minecraft:polished_blackstone_slab',
wall: 'minecraft:polished_blackstone_wall',
dust: 'gtceu:blackstone_dust',
stonecutting: false
},
{
raw: 'minecraft:polished_blackstone_bricks',
stair: 'minecraft:polished_blackstone_brick_stairs',
slab: 'minecraft:polished_blackstone_brick_slab',
wall: 'minecraft:polished_blackstone_brick_wall',
dust: 'gtceu:blackstone_dust',
stonecutting: false
},
// #endregion
// #region Space
{
raw: 'ad_astra:moon_cobblestone',
stair: 'ad_astra:moon_cobblestone_stairs',
slab: 'ad_astra:moon_cobblestone_slab',
dust: 'tfg:moon_stone_dust',
loose: 'tfg:loose/moon_stone',
stonecutting: true
},
{
raw: 'ad_astra:mars_cobblestone',
stair: 'ad_astra:mars_cobblestone_stairs',
slab: 'ad_astra:mars_cobblestone_slab',
dust: 'tfg:mars_stone_dust',
loose: 'tfg:loose/mars_stone',
stonecutting: true
},
{
raw: 'ad_astra:venus_cobblestone',
stair: 'ad_astra:venus_cobblestone_stairs',
slab: 'ad_astra:venus_cobblestone_slab',
dust: 'tfg:venus_stone_dust',
loose: 'tfg:loose/venus_stone',
stonecutting: true
},
{
raw: 'ad_astra:mercury_cobblestone',
stair: 'ad_astra:mercury_cobblestone_stairs',
slab: 'ad_astra:mercury_cobblestone_slab',
dust: 'tfg:mercury_stone_dust',
loose: 'tfg:loose/mercury_stone',
stonecutting: true
},
{
raw: 'ad_astra:glacio_cobblestone',
stair: 'ad_astra:glacio_cobblestone_stairs',
slab: 'ad_astra:glacio_cobblestone_slab',
dust: 'tfg:glacio_stone_dust',
loose: 'tfg:loose/glacio_stone',
stonecutting: true
},
{
raw: 'ad_astra:moon_stone',
stair: 'ad_astra:moon_stone_stairs',
slab: 'ad_astra:moon_stone_slab',
dust: 'tfg:moon_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:mars_stone',
stair: 'ad_astra:mars_stone_stairs',
slab: 'ad_astra:mars_stone_slab',
dust: 'tfg:mars_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:venus_stone',
stair: 'ad_astra:venus_stone_stairs',
slab: 'ad_astra:venus_stone_slab',
dust: 'tfg:venus_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:mercury_stone',
stair: 'ad_astra:mercury_stone_stairs',
slab: 'ad_astra:mercury_stone_slab',
dust: 'tfg:mercury_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:glacio_stone',
stair: 'ad_astra:glacio_stone_stairs',
slab: 'ad_astra:glacio_stone_slab',
dust: 'tfg:glacio_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:venus_sandstone_bricks',
stair: 'ad_astra:venus_sandstone_brick_stairs',
slab: 'ad_astra:venus_sandstone_brick_slab',
dust: '4x gtceu:venus_sand',
stonecutting: true
},
{
raw: 'ad_astra:moon_stone_bricks',
stair: 'ad_astra:moon_stone_brick_stairs',
slab: 'ad_astra:moon_stone_brick_slab',
wall: 'ad_astra:moon_stone_brick_wall',
dust: 'tfg:moon_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:mars_stone_bricks',
stair: 'ad_astra:mars_stone_brick_stairs',
slab: 'ad_astra:mars_stone_brick_slab',
wall: 'ad_astra:mars_stone_brick_wall',
dust: 'tfg:mars_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:venus_stone_bricks',
stair: 'ad_astra:venus_stone_brick_stairs',
slab: 'ad_astra:venus_stone_brick_slab',
wall: 'ad_astra:venus_stone_brick_wall',
dust: 'tfg:venus_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:mercury_stone_bricks',
stair: 'ad_astra:mercury_stone_brick_stairs',
slab: 'ad_astra:mercury_stone_brick_slab',
wall: 'ad_astra:mercury_stone_brick_wall',
dust: 'tfg:mercury_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:glacio_stone_bricks',
stair: 'ad_astra:glacio_stone_brick_stairs',
slab: 'ad_astra:glacio_stone_brick_slab',
wall: 'ad_astra:glacio_stone_brick_wall',
dust: 'tfg:glacio_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:permafrost_bricks',
stair: 'ad_astra:permafrost_brick_stairs',
slab: 'ad_astra:permafrost_brick_slab',
wall: 'ad_astra:permafrost_brick_wall',
dust: 'gtceu:ice_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_moon_stone_bricks',
stair: 'ad_astra:chiseled_moon_stone_stairs',
slab: 'ad_astra:chiseled_moon_stone_slab',
dust: 'tfg:moon_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_mars_stone_bricks',
stair: 'ad_astra:chiseled_mars_stone_stairs',
slab: 'ad_astra:chiseled_mars_stone_slab',
dust: 'tfg:mars_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_venus_stone_bricks',
stair: 'ad_astra:chiseled_venus_stone_stairs',
slab: 'ad_astra:chiseled_venus_stone_slab',
dust: 'tfg:venus_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_mercury_stone_bricks',
stair: 'ad_astra:chiseled_mercury_stone_stairs',
slab: 'ad_astra:chiseled_mercury_stone_slab',
dust: 'tfg:mercury_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_glacio_stone_bricks',
stair: 'ad_astra:chiseled_glacio_stone_stairs',
slab: 'ad_astra:chiseled_glacio_stone_slab',
dust: 'tfg:glacio_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_permafrost_bricks',
stair: 'ad_astra:chiseled_permafrost_brick_stairs',
slab: 'ad_astra:chiseled_permafrost_brick_slab',
dust: 'gtceu:ice_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_moon_stone',
stair: 'ad_astra:polished_moon_stone_stairs',
slab: 'ad_astra:polished_moon_stone_slab',
dust: 'tfg:moon_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_mars_stone',
stair: 'ad_astra:polished_mars_stone_stairs',
slab: 'ad_astra:polished_mars_stone_slab',
dust: 'tfg:mars_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_venus_stone',
stair: 'ad_astra:polished_venus_stone_stairs',
slab: 'ad_astra:polished_venus_stone_slab',
dust: 'tfg:venus_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_mercury_stone',
stair: 'ad_astra:polished_mercury_stone_stairs',
slab: 'ad_astra:polished_mercury_stone_slab',
dust: 'tfg:mercury_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_glacio_stone',
stair: 'ad_astra:polished_glacio_stone_stairs',
slab: 'ad_astra:polished_glacio_stone_slab',
dust: 'tfg:glacio_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_permafrost',
stair: 'ad_astra:polished_permafrost_stairs',
slab: 'ad_astra:polished_permafrost_slab',
dust: 'gtceu:ice_dust',
stonecutting: true
},
{
raw: 'ae2:sky_stone_block',
stair: 'ae2:sky_stone_stairs',
slab: 'ae2:sky_stone_slab',
wall: 'ae2:sky_stone_wall',
dust: 'ae2:sky_dust',
stonecutting: true
},
{
raw: 'ae2:smooth_sky_stone_block',
stair: 'ae2:smooth_sky_stone_stairs',
slab: 'ae2:smooth_sky_stone_slab',
wall: 'ae2:smooth_sky_stone_wall',
dust: 'ae2:sky_dust',
stonecutting: true
},
{
raw: 'ae2:sky_stone_brick',
stair: 'ae2:sky_stone_brick_stairs',
slab: 'ae2:sky_stone_brick_slab',
wall: 'ae2:sky_stone_brick_wall',
dust: 'ae2:sky_dust',
stonecutting: true
},
{
raw: 'ae2:sky_stone_small_brick',
stair: 'ae2:sky_stone_small_brick_stairs',
slab: 'ae2:sky_stone_small_brick_slab',
wall: 'ae2:sky_stone_small_brick_wall',
dust: 'ae2:sky_dust',
stonecutting: true
},
{
raw: 'ae2:fluix_block',
stair: 'ae2:fluix_stairs',
slab: 'ae2:fluix_slab',
wall: 'ae2:fluix_wall',
dust: 'ae2:fluix_dust',
stonecutting: true
},
{
raw: 'minecraft:purpur_block',
stair: 'minecraft:purpur_stairs',
slab: 'minecraft:purpur_slab',
dust: null,
stonecutting: true
}
// #endregion
]
CUTTER.forEach(x => {
if ("stair" in x) {
event.recipes.tfc.chisel(x.stair, x.raw, 'stair')
if (x.stonecutting) {
event.stonecutting(x.stair, x.raw).id(`${x.raw}_to_${x.stair}`.replace(/:/g, '_'))
}
if (x.dust != null) {
event.recipes.gtceu.macerator(`macerate_${x.stair}`.replace(/:/g, '_'))
.itemInputs(x.stair)
.itemOutputs(x.dust)
.duration(150)
.EUt(2)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
}
if ("loose" in x) {
event.shapeless(`3x ${x.loose}`, [x.stair])
}
}
if ("slab" in x) {
event.recipes.tfc.chisel(x.slab, x.raw, 'slab').extraDrop(x.slab)
if (x.stonecutting) {
event.stonecutting(`2x ${x.slab}`, x.raw).id(`${x.raw}_to_${x.slab}`.replace(/:/g, '_'))
}
if (x.dust != null) {
event.recipes.gtceu.macerator(`macerate_${x.slab}`.replace(/:/g, '_'))
.itemInputs(`2x ${x.slab}`)
.itemOutputs(x.dust)
.duration(150)
.EUt(2)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
}
if ("loose" in x) {
event.shapeless(`2x ${x.loose}`, [x.slab])
}
}
if ("wall" in x) {
event.recipes.tfc.chisel(x.wall, x.raw, 'smooth')
if (x.stonecutting) {
event.stonecutting(x.wall, x.raw).id(`${x.raw}_to_${x.wall}`.replace(/:/g, '_'))
}
if (x.dust != null) {
event.recipes.gtceu.macerator(`macerate_${x.wall}`.replace(/:/g, '_'))
.itemInputs(x.wall)
.itemOutputs(x.dust)
.duration(150)
.EUt(2)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
}
}
if ("loose" in x) {
event.shapeless(`4x ${x.loose}`, [x.raw])
}
})
// pillars
const PILLARS = [
{ raw: 'ad_astra:moon_stone_bricks', pillar: 'ad_astra:moon_pillar' },
{ raw: 'ad_astra:mars_stone_bricks', pillar: 'ad_astra:mars_pillar' },
{ raw: 'ad_astra:venus_stone_bricks', pillar: 'ad_astra:venus_pillar' },
{ raw: 'ad_astra:mercury_stone_bricks', pillar: 'ad_astra:mercury_pillar' },
{ raw: 'ad_astra:glacio_stone_bricks', pillar: 'ad_astra:glacio_pillar' },
{ raw: 'ad_astra:permafrost_bricks', pillar: 'ad_astra:permafrost_pillar' },
{ raw: 'minecraft:purpur_block', pillar: 'minecraft:purpur_pillar' }
]
PILLARS.forEach(x => {
event.shaped(`2x ${x.pillar}`, [
'A',
'A'
], {
A: x.raw
})
event.stonecutting(x.pillar, x.raw).id(`${x.raw}_to_${x.pillar}`.replace(/:/g, '_'))
})
// macerating
const MACERATOR = [
{ block: 'minecraft:deepslate', dust: 'gtceu:deepslate_dust' },
{ block: 'minecraft:dripstone_block', dust: 'tfg:dripstone_dust' },
{ block: 'ad_astra:moon_stone', dust: 'tfg:moon_stone_dust' },
{ block: 'ad_astra:moon_deepslate', dust: 'tfg:moon_deepslate_dust' },
{ block: 'ad_astra:mars_stone', dust: 'tfg:mars_stone_dust' },
{ block: 'ad_astra:venus_stone', dust: 'tfg:venus_stone_dust' },
{ block: 'ad_astra:mercury_stone', dust: 'tfg:mercury_stone_dust' },
{ block: 'ad_astra:glacio_stone', dust: 'tfg:glacio_stone_dust' },
{ block: 'ad_astra:permafrost', dust: 'gtceu:ice_dust' },
{ block: 'ae2:sky_stone', dust: 'ae2:sky_dust' }
]
MACERATOR.forEach(x => {
event.recipes.gtceu.macerator(`macerate_${x.block}`.replace(/:/g, '_'))
.itemInputs(x.block)
.itemOutputs(x.dust)
.duration(150)
.EUt(2)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
})
// rock breaker
const ROCK_DUPING = [
'minecraft:deepslate',
'minecraft:cobbled_deepslate',
'minecraft:blackstone',
'minecraft:dripstone_block'
]
ROCK_DUPING.forEach(x => {
event.recipes.gtceu.rock_breaker(x)
.notConsumable(x)
.itemOutputs(x)
.duration(16)
.EUt(7)
})
event.recipes.gtceu.rock_breaker('tfg:moon_stone')
.notConsumable('ad_astra:moon_stone')
.itemOutputs('ad_astra:moon_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:moon')
event.recipes.gtceu.rock_breaker('tfg:moon_deepslate')
.notConsumable('ad_astra:moon_deepslate')
.itemOutputs('ad_astra:moon_deepslate')
.duration(16)
.EUt(7)
.dimension('ad_astra:moon')
event.recipes.gtceu.rock_breaker('tfg:glacio_stone')
.notConsumable('ad_astra:glacio_stone')
.itemOutputs('ad_astra:glacio_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:moon')
event.recipes.gtceu.rock_breaker('tfg:mars_stone')
.notConsumable('ad_astra:mars_stone')
.itemOutputs('ad_astra:mars_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:mars')
event.recipes.gtceu.rock_breaker('tfg:venus_stone')
.notConsumable('ad_astra:venus_stone')
.itemOutputs('ad_astra:venus_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:venus')
event.recipes.gtceu.rock_breaker('tfg:mercury_stone')
.notConsumable('ad_astra:mercury_stone')
.itemOutputs('ad_astra:mercury_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:mercury')
// #endregion
// #region sandstone
event.recipes.gtceu.compressor('tfg:venus_sandstone')
.itemInputs('4x ad_astra:venus_sand')
.itemOutputs('ad_astra:venus_sandstone')
.duration(40*20)
.EUt(2)
event.recipes.gtceu.compressor('tfg:permafrost')
.itemInputs('4x tfg:loose/permafrost')
.itemOutputs('ad_astra:permafrost')
.duration(40*20)
.EUt(2)
// #endregion
//#region Magma Blocks
event.remove({id: 'gtceu:compressor/magma_block'})
event.remove({id: 'greate:splashing/obsidian'})
//magma block + stone group
const MAGMA_BLOCKS = [
{ magma: 'minecraft:magma_block', rock: 'minecraft:blackstone' },
{ magma: 'tfc:rock/magma/granite', rock: 'tfc:rock/raw/granite' },
{ magma: 'tfc:rock/magma/diorite', rock: 'tfc:rock/raw/diorite' },
{ magma: 'tfc:rock/magma/gabbro', rock: 'tfc:rock/raw/gabbro' },
{ magma: 'tfc:rock/magma/rhyolite', rock: 'tfc:rock/raw/rhyolite' },
{ magma: 'tfc:rock/magma/basalt', rock: 'tfc:rock/raw/basalt' },
{ magma: 'tfc:rock/magma/andesite', rock: 'tfc:rock/raw/andesite' },
{ magma: 'tfc:rock/magma/dacite', rock: 'tfc:rock/raw/dacite' }
];
MAGMA_BLOCKS.forEach(block => {
event.recipes.gtceu.fluid_solidifier(`tfg:gtceu/fluid_solidifier/${block.magma}`.replace(/:/g, '/'))
.itemInputs(`1x ${block.rock}`)
.inputFluids(Fluid.of('minecraft:lava', 250))
.itemOutputs(`1x ${block.magma}`)
.duration(100)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.gtceu.extractor(`tfg:gtceu/extractor/${block.magma}`.replace(/:/g, "/"))
.itemInputs(`1x ${block.magma}`)
.outputFluids(Fluid.of('minecraft:lava', 250))
.itemOutputs(`1x ${block.rock}`)
.duration(100)
.EUt(GTValues.VA[GTValues.LV])
})
//#endregion
}