neuralgia/kubejs/server_scripts/createdeco/recipes.js
Pyritie 417fa894ae
Alpha release: 0.10 (#1285)
* added resource pack for the old create copper textures, reverted the new models of the greate pumps

* I can't remember why I added this

* added back ad astra oxygen loader JEI page, removed greate haunting + ae2 entropy

* corrected average temp in orbits, since spacesuits have ambiental compat now

* nerfed VI centrifuge times

* adjusted recipes of crushing wheels to need a machine hull now

* disabled orbits

* added rock duping recipes for vanilla basalt, added greenhouse recipe for spore blossom

* updated steam n rails, added entityjs

* fix typo on gas tanks

* cleanup

* started moon rabbit entity

* nerfed the steam age fire clay recipe because let's be real

* ah fuck it I'll be nice

* Steam N Rails loottable (#1220)

fix for the conductor

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

* merging langs

* idk entity stuff

* lang keys

* removed ae2-things

* I think that's a better tagline

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

* - Lots of ui updates. And a couple fixes. (#1221)

Co-authored-by: Pyritie <pyritie@gmail.com>

* Update README.md

* added pt_br ore field guide pages

* Changes the greg wood plank and treated wood plank recipes to follow a more realistic processing chain (#1223)

* adds MDF, reworks treated wood and normal wood plate crafting chains

* removes treated wood plank from the minecraft:planks tag

* changed a few create recipes to need bolts instead of screws

* adjusted the water wheel recipe again so it's not quite so evil

* quest tweaks

* fixed the lathe not making gem rods, also lens stuff

* removed the other ad astra material components (for now)

* fixed the vibrating table with rose quartz

* Some small stuff (#1225)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* updated kubejs-tfc

* Delete fabricDefaultResourcePacks.dat

* .gitignore

* .gitignore

* update: config

* Modern markings integration (#1228)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* hid the tfg icon from jei

* more fiddling with the moon rabbit houses. I'm just gonna disable them until I find out what's causing the boxes under them, they look too ugly otherwise

* added a bunch of plants from Better End, tags, recipes, license, credits (#1229)

* convert the nether mushrooms into the new plant block builder type too

* now only the recipes that use 8 inputs actually use 8 fertiliser

* don't need you

* fixed the lightblooms from spawning on top of each other

* I am stupid

* oh yeah, kubejs-tfc fixed this

* nerfed the steam age coke oven brick a little

* fixed ethane quest requiring plant ball route

* the moon and orbits are now silent

* disabled the correct planets

* added earth orbit space station

* unused

* fix ae2 certus quartz compressor recipe warning

* dunno how that happened

* some tidying

* disable steam/combustible/gas generators on other dims?

* updated entityjs, everycomp, moonlight, packetfixer, vintageimprovements

* added missing sand pile models

* comma

* dimension settings, planet renderer, etc

* removes any other integrated create recipes from greate machines

* removed forgiving world, added simply stacked dimensions, added configs (#1233)

* replaced all our water input fluids with a tag, so river water works too

* fixed missing recipes for create deco ladders

* langs

* cheese

* adding greenhouse tier bonuses + fixing the fertilised recipes chanced outputs consistency

* oxygenated climate stuff

* changing some other recipes to use bolts instead of nuggets

* Updated stromatolite textures + some new venus foliage (#1234)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* langs, closes #1231

* these are handled by the decorative plant block builder now

* sea and spring water now also freeze in space

* added recipe to smelt wrought iron ingots back into cast iron in case you need them in that state

* ukranian langs

* ukranian translations for the field guide ore veins

* blacklisting super chests from contraptions

* oops

* moon cheese tags

* Moved some items from tfg-core (#1242)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* ukranian field guide ore vein langs

* Updated textures for tier-1 rocket and food oven. (#1246)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* changed the moonbase flag to use the new icon

* langs

* 🐇

* Mechanical press (#1243)

* welcome back, mechanical press

* EMI category order

* langs

* quests

* emi categories

* quests

* greate stress settings for the mech press

* I got distracted so I guess these are on this branch now

* removed welding recipes from the pressurizer

* recipe additions and changes for the mech press!

* let's go gambling!

* added flux to the mech press "welding" recipes

* flag changes again

* stops a future version of greate from generating a bender-to-mech-press recipe for double ingots

* fixed the FE cables still being in the loot chests

* desh needs an EBF now

* Updated more textures for ad-astra stuff + new panorama (#1247)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* Crop stuff for biodiesel, works on my machine . (#1248)

* Added the crop stuff I made so far

* I think thiss should be fine?

* I litteraly have no idea what I am doing

* I hope this fixes everything

---------

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

* oops we had two fluix blocks

* langs

* sorry, no floor alcohol on the moon

* cleanup of #1248

Related Work Items: #12

* bottle labels can use any wax

* seed oil can be used in lamps now, added recipes to get it early

* missing uses for clean foil packs

* pakku updates, removed entityjs (for now), added ad-astra-3d

* added create factory logistics

* forgot some ore processing forge hammer recipes

* I think that's the ore processing chapter sorted

* ah screw it, orbits

* replace wood dust for carbon in biomass distillation

* langs n quests

* made solars worse on earth

* space food tag

* gave calorie paste a little nutrition

* made the space station quest optional

* changelog

* tweaks and balances after playtesting a bit

* let's give these more fruits

* made these a little more spread out

* some more tweaks

* langs

* Biodiesel Stuff (#1249)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

* - Biodiesel stuff

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* added bio fuel quests, more biodiesel recipes

* fixes #1240

Related Work Items: #12

* excluded ad astra and advanced peripherals books

* this stupid quest that I hate

* clean up this infinite resources entry

* fixed blockstates

* field guide

* got the oil crops all working!

* langs

* moon bedrock veins

* langs

* buffing air distributor again

* apparently 9 inputs is the maximum, so no flux allowed

* seed oil now lasts as long as soybean oil in a lamp

* oops, greate's update meant all our macerator removals stopped working

* fixes #1203 and some other incorrect/missing food recipes

* Quest changes (#1251)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

* - Biodiesel stuff

* - Quests re-ordering and some new ones

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* tweaks to default keybinds

* Hide wild crops and forgot to push some quest stuff (#1252)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

* - Biodiesel stuff

* - Quests re-ordering and some new ones

* - Hide wild crops from emi

* - Hide wild crops from emi

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* pakku update

* it's ok xikaro it's just adding a credit line

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

* Moon rabbit meat stuff (#1254)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

* - Biodiesel stuff

* - Quests re-ordering and some new ones

* - Hide wild crops from emi

* - Hide wild crops from emi

* - Moon rabbit meat

* - Moon rabbit meat

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* Feature/new molds (#1253)

* Update recipes.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update constants.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update recipes.molds.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update recipes.materials.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update recipes.materials.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

---------

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Co-authored-by: Pyritie <pyritie@gmail.com>

* delete chisel and bits

* this damn loot table

* removed cast iron tongs

* more unification for #898, also a workaround for #963 maybe?

* quests

* removed power tool recycling recipes because of duping, fixed crafting table spring recipes

* whoops

* changed the repeatable quest to a separate one, so new players still get the books on spawn

* fixed orbit structures

* renamed tfc grooming stations

* removed sunsets in all orbits, cleaned up the dim files

* firmalife update!

* no idea if this is fixed in GT7 or not, but the nano/quark armor has actual armor points now

* rename horse crank to animal crank

* changelog

* updated domum

* wire cutter mold and Hypertube compat (#1258)

* Update constants.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update recipes.molds.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Create hypertube.png

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Create recipes.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update main_server_script.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update recipes.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

---------

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add recipe for Bamboo Hopper. Add quest for it too

* species update! also some biome spawn rates of limpets, and adding create hypertubes to pakku

* pakku again

* Machine casings for Tom and moon rabbit meat stuff I forgot to push (#1259)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

* - Biodiesel stuff

* - Quests re-ordering and some new ones

* - Hide wild crops from emi

* - Hide wild crops from emi

* - Moon rabbit meat

* - Moon rabbit meat

* - Moon rabbit meat textures and casings for tom

* - models

* - oops

* - rocket

* - ooops

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* argh

* whoops

* fiiiiiiine

* fixed unobtainable cobalt brass buzzsaw before mv

* quests

* firmalife quests

* added programmed circuit card

* 🍰🎂

* langs

* hide these species recipes

* unhide these new pearls

* remove ender eye, added vitrified ender pearl

* Added dry ice support for lunchboxes (#1262)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

* - Biodiesel stuff

* - Quests re-ordering and some new ones

* - Hide wild crops from emi

* - Hide wild crops from emi

* - Moon rabbit meat

* - Moon rabbit meat

* - Moon rabbit meat textures and casings for tom

* - models

* - oops

* - rocket

* - ooops

* - Added dry ice support for lunchboxes

* - Fixed soybean oil quest

* - Added dry ice block

* - Assets for dry ice block

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* fixed amounts in kaolinite chem reaction, added ruby version

* changed combustion recipes to be dimension-limited again

* changelog

* well actually it's not done yet

* create 6 configs

* langs

* fixed some damascus steel stuff still showing up

* fixed the wild rapeseed/sunflowers not dropping their products

* update pakku

* update pakku

* fixed extruder mold recipe

* fucking gregtech

* langs

* orbit dim markers

* Moon quest update (#1266)

* Changes for quests LV MV Energy Chapter

* Fix AE2 and Solar Panel

* Revert HV change

* Feature/hopper retexture (#1267)

* Create bamboo_hopper.png

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Create bamboo_hopper.bbmodel

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

---------

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* langs

* Update hv__high_voltage.snbt (#1268)

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

* quests, langs, slight change to the vitrified pearl recipe

* Adding Ad Astra block to gt facade (#1269)

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

* Bronze variant Mortars (#1270)

* Removed infinite lava and fixed refrigerant recipes (#1271)

* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

* - Biodiesel stuff

* - Quests re-ordering and some new ones

* - Hide wild crops from emi

* - Hide wild crops from emi

* - Moon rabbit meat

* - Moon rabbit meat

* - Moon rabbit meat textures and casings for tom

* - models

* - oops

* - rocket

* - ooops

* - Added dry ice support for lunchboxes

* - Fixed soybean oil quest

* - Added dry ice block

* - Assets for dry ice block

* - Removed infinite lava

* - Added circuit to tetrafluoroethylene_from_chloroform recipe

* - Fixed my crack-head math

* - update Changelog

---------

Co-authored-by: Pyritie <pyritie@gmail.com>

* move: screenshots

* move: wiki

* started porting over the hv quest langs

* Adding the Large Solar Panel (#1275)

* Adding the Large Solar Panel

* Update config for Ad Astral Solar increase possible output

* fix conflict

* quarktech stuff works as a space suit, though you'll still need the chestplate (for now)

* langs

* update pakku

* move: title + icon modern

* revert: move sources

* revert: images

* rename: curseforge_gallery

* Adding the LSP Structure (#1276)

Oups

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

* Adding recipe type for LSP (#1277)

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

* langs, disabled unused casings

* fixed kaolinite steam machine consistency

* quest tweaks

* fixed naming of casing blocks

* added LSP to space survival chapter

* added HS crushing wheels to HV tab too

* gonna kill this page - lava is no longer infinite, stone dusts are nerfed to be not very good, and the terrariums will be going away in the future

* - Added update banners (#1278)

* Revert "- Added update banners (#1278)"

This reverts commit 5f01d3385c.

* changelog

* EMI categories

* langs

* haha how did that get in there!

* q

* Update README.md (#1282)

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

* Merging guns branch (#1283)

* Feature/ulv ev guns (#1280)

* update pakku mods

* mod config stuff

* Port over of current guns

* ae2 gun recipes

* nitrocellulose and other stuff

* more recipes

* gun packs

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update pakku-lock.json

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

---------

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* LICENSE

* changed powderbarrel to use lumber instead of wood boards

* lang

* gunpowder unification

* emi categories

---------

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Co-authored-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* hid new sophisticated backpack upgrade

* pakku

* added programmed circuit card to ae2 quests

* dump

* Update forge-auto-install.txt

---------

Signed-off-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Signed-off-by: TomPlop <tomdidome@gmail.com>
Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
Co-authored-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>
Co-authored-by: Gustavo <ofoxsmith@outlook.com>
Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com>
Co-authored-by: Xikaro <os.valerievich@ya.ru>
Co-authored-by: Kayla <66163851+kaylatheegg@users.noreply.github.com>
Co-authored-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>
Co-authored-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Co-authored-by: Nebby1999 <nebby131999@gmail.com>
Co-authored-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: Nebby <78170922+Nebby1999@users.noreply.github.com>
2025-07-13 18:07:12 +05:00

467 lines
16 KiB
JavaScript

const registerCreatedecoRecipes = (event) => {
//#region Item Replacements
const replacements = {
'create:zinc_ingot': '#forge:ingots/zinc',
'createdeco:zinc_sheet': '#forge:plates/zinc',
'create:zinc_nugget': '#forge:nuggets/zinc',
'create:brass_ingot': '#forge:ingots/brass',
'create:brass_sheet': '#forge:plates/brass',
'create:brass_nugget': '#forge:nuggets/brass',
'minecraft:iron_ingot': '#forge:ingots/wrought_iron',
'create:iron_sheet': '#forge:plates/wrought_iron',
'minecraft:iron_nugget': '#forge:nuggets/wrought_iron',
'createdeco:industrial_iron_ingot': '#forge:ingots/steel',
'createdeco:industrial_iron_sheet': '#forge:plates/steel',
'createdeco:industrial_iron_nugget': '#forge:nuggets/steel',
'minecraft:torch': 'minecraft:glowstone',
'minecraft:vine': '#tfc:moss',
'create:andesite_alloy': '#forge:ingots/tin_alloy',
'createdeco:andesite_sheet': '#forge:plates/tin_alloy',
'create:copper_nugget': '#forge:nuggets/copper',
'createdeco:netherite_nugget': '#forge:nuggets/blue_steel',
'minecraft:string': '#forge:string'
};
// Iterate through the replacement list and update recipes
Object.keys(replacements).forEach(missingItem => {
const replacementItem = replacements[missingItem];
event.replaceInput({ mod: "createdeco" }, missingItem, replacementItem);
});
//#endregion
//#region Recipe Removal
event.remove({ output: 'createdeco:zinc_sheet' })
event.remove({ output: 'createdeco:industrial_iron_sheet' })
event.remove({ output: 'createdeco:industrial_iron_nugget' })
event.remove({ output: 'createdeco:industrial_iron_ingot' })
event.remove({ id: 'createdeco:andesite_bars_overlay' })
event.remove({ id: 'createdeco:andesite_bars' })
event.remove({ id: 'createdeco:brass_bars_overlay' })
event.remove({ id: 'createdeco:brass_bars' })
event.remove({ id: 'createdeco:iron_bars_overlay' })
event.remove({ id: 'createdeco:copper_bars_overlay' })
event.remove({ id: 'createdeco:copper_bars' })
event.remove({ id: 'createdeco:industrial_iron_bars_overlay' })
event.remove({ id: 'createdeco:industrial_iron_bars' })
event.remove({ id: 'createdeco:zinc_bars_overlay' })
event.remove({ id: 'createdeco:zinc_bars' })
event.remove({ id: 'createdeco:industrial_iron_block' })
event.remove({ id: 'createdeco:netherite_ingot' })
event.remove({ id: 'gtceu:assembler/bricks' })
event.remove({ type: 'minecraft:stonecutting', input: '#forge:storage_blocks/tin_alloy' })
event.remove({ type: 'minecraft:stonecutting', input: '#forge:storage_blocks/brass' })
event.remove({ type: 'minecraft:stonecutting', input: '#forge:storage_blocks/wrought_iron' })
event.remove({ type: 'minecraft:stonecutting', input: '#forge:storage_blocks/copper' })
event.remove({ type: 'minecraft:stonecutting', input: '#forge:storage_blocks/steel' })
event.remove({ type: 'minecraft:stonecutting', input: '#forge:storage_blocks/zinc' })
//#endregion
//#region Lamp Recipes
const lampColors = ['blue', 'green', 'red', 'yellow'];
const lampTypes = ['zinc', 'brass', 'iron', 'industrial_iron', 'copper', 'andesite'];
lampTypes.forEach(type => {
lampColors.forEach(color => {
event.remove({ output: `createdeco:${color}_${type}_lamp` });
});
});
function lampRecipe(output, lampType, lampColor) {
const replacementLampType = lampType;
if (lampType == 'industrial_iron') {
replacementLampType = 'steel';
}
if (lampType == 'andesite') {
replacementLampType = 'wrought_iron';
}
let ingredients = {
T: `minecraft:glowstone`,
N: `#forge:bolts/${replacementLampType}`,
P: `#forge:plates/${replacementLampType}`,
D: null,
X: null
};
// Adjust based on the color
if (lampColor === 'green') {
ingredients.D = 'gtceu:small_copper_dust';
} else if (lampColor === 'blue') {
ingredients.D = 'gtceu:small_sulfur_dust';
} else if (lampColor === 'red') {
ingredients.D = `gtceu:small_lithium_dust`;
} else if (lampColor === 'yellow') {
ingredients.D = `gtceu:small_salt_dust`;
}
if (lampType === 'iron') {
ingredients.N = '#forge:bolts/wrought_iron';
ingredients.P = '#forge:plates/wrought_iron';
}
if (lampType === 'andesite') {
ingredients.N = '#forge:bolts/tin_alloy';
ingredients.P = '#forge:plates/tin_alloy';
}
if (lampType === 'industrial_iron') {
ingredients.N = '#forge:bolts/steel';
ingredients.P = '#forge:plates/steel';
}
// Create the shaped recipe
event.shaped(output, [
'XN ',
'DTX',
'XP '
], ingredients);
}
// Loop through each lamp type and color to create the recipes
lampTypes.forEach(lampType => {
lampColors.forEach(lampColor => {
let output = `createdeco:${lampColor}_${lampType}_lamp`; // Define the output item ID
lampRecipe(output, lampType, lampColor); // Call the lampRecipe function for each combination
});
});
//#endregion
//#region Brick Recipes
const brickTypes = ['blue', 'verdant', 'pearl', 'dean', 'dusk', 'scarlet', 'umber']
const powderTypes = ['lapis_lazuli', 'malachite', 'soda_ash', 'limonite', 'charcoal', 'hematite', 'cassiterite']
event.recipes.gtceu.assembler(`assembler_bricks`)
.itemInputs('5x minecraft:brick')
.inputFluids(Fluid.of('gtceu:concrete', 144))
.itemOutputs(`4x minecraft:bricks`)
.duration(50)
.circuit(2)
.EUt(7)
brickTypes.forEach(type => {
event.remove({ output: `createdeco:${type}_bricks` });
});
brickTypes.forEach((type, index) => {
const powder = `tfc:powder/${powderTypes[index]}`;
event.shaped(Item.of(`createdeco:${type}_bricks`, 4),
[
'BDB',
'MBM',
'BMB'
],
{
B: `minecraft:brick`,
D: powder,
M: `tfc:mortar`
});
event.recipes.gtceu.assembler(`createdeco:${type}_bricks`)
.itemInputs('5x minecraft:brick', powder)
.inputFluids(Fluid.of('gtceu:concrete', 144))
.itemOutputs(`4x createdeco:${type}_bricks`)
.duration(50)
.EUt(7)
});
//#endregion
//#region Dyes
global.MINECRAFT_DYE_NAMES.forEach(color => {
event.remove({ output: `createdeco:${color}_shipping_container`, input: 'minecraft:barrel' });
event.replaceInput({ mod: "createdeco" }, `minecraft:${color}_dye`, `#forge:dyes/${color}`);
});
//#endregion
event.stonecutting('4x createdeco:andesite_mesh_fence', '#forge:ingots/tin_alloy')
event.stonecutting('4x createdeco:andesite_catwalk', '#forge:ingots/tin_alloy')
event.stonecutting('2x createdeco:andesite_catwalk_stairs', '#forge:ingots/tin_alloy')
event.stonecutting('8x createdeco:andesite_catwalk_railing', '#forge:ingots/tin_alloy')
event.stonecutting('4x createdeco:andesite_facade', '#forge:ingots/tin_alloy')
event.stonecutting('3x createdeco:andesite_support_wedge', '#forge:ingots/tin_alloy')
event.stonecutting('4x createdeco:iron_mesh_fence', '#forge:ingots/wrought_iron')
event.stonecutting('4x createdeco:iron_catwalk', '#forge:ingots/wrought_iron')
event.stonecutting('2x createdeco:iron_catwalk_stairs', '#forge:ingots/wrought_iron')
event.stonecutting('8x createdeco:iron_catwalk_railing', '#forge:ingots/wrought_iron')
event.stonecutting('4x createdeco:iron_facade', '#forge:ingots/wrought_iron')
event.stonecutting('3x createdeco:iron_support_wedge', '#forge:ingots/wrought_iron')
event.shaped('8x createdeco:iron_catwalk_railing', [
'AAA',
'B B',
'B B'
], {
A: '#forge:plates/wrought_iron',
B: 'tfc:metal/bars/wrought_iron'
}).id('createdeco:iron_catwalk_railing')
event.shaped('4x createdeco:iron_catwalk', [
' A ',
'ABA',
' A '
], {
A: '#forge:plates/wrought_iron',
B: 'tfc:metal/bars/wrought_iron'
}).id('createdeco:iron_catwalk')
event.shaped('2x createdeco:iron_catwalk_stairs', [
' A',
'AB'
], {
A: 'createdeco:iron_catwalk',
B: 'tfc:metal/bars/wrought_iron'
}).id('createdeco:iron_catwalk_stairs')
// #region Bars + Doors
const metalThings = [
{ metal: 'andesite', material: 'tin_alloy', tier: 3 },
{ metal: 'brass', material: 'brass', tier: 2 },
{ metal: 'iron', material: 'wrought_iron', tier: 3 },
{ metal: 'copper', material: 'copper', tier: 1 },
{ metal: 'industrial_iron', material: 'steel', tier: 4 },
{ metal: 'zinc', material: 'zinc', tier: 1 }
];
metalThings.forEach(bar => {
event.remove({ id: `createdeco:${bar.metal}_trapdoor` })
event.remove({ id: `createdeco:${bar.metal}_door` })
if (bar.metal != 'iron') {
event.remove({ type: 'minecraft:stonecutting', output: `createdeco:${bar.metal}_bars` })
event.recipes.tfc.anvil(`4x createdeco:${bar.metal}_bars`, `#forge:ingots/${bar.material}`, ['shrink_last', 'punch_second_last', 'punch_third_last'])
.tier(bar.tier).id(`createdeco:anvil/${bar.metal}_bars`)
event.recipes.gtceu.assembler(`tfg:${bar.material}_create_deco_bars`)
.itemInputs(`2x #forge:rods/${bar.material}`)
.itemOutputs(`4x createdeco:${bar.metal}_bars`)
.duration(100)
.EUt(GTValues.VA[GTValues.LV])
.circuit(12)
event.recipes.tfc.anvil(`createdeco:${bar.metal}_door`, `#forge:double_plates/${bar.material}`, ['draw_last', 'draw_second_last', 'punch_third_last'])
.tier(bar.tier).id(`createdeco:anvil/${bar.metal}_door`)
event.recipes.gtceu.cutter(`tfg:${bar.material}_create_deco_door`)
.itemInputs(`#forge:double_plates/${bar.material}`)
.itemOutputs(`createdeco:${bar.metal}_door`)
.duration(100)
.EUt(GTValues.VA[GTValues.LV])
}
event.remove({ type: 'minecraft:stonecutting', output: `createdeco:${bar.metal}_bars_overlay` })
event.recipes.tfc.anvil(`2x createdeco:${bar.metal}_bars_overlay`, `#forge:ingots/${bar.material}`, ['draw_last', 'punch_second_last', 'punch_third_last'])
.tier(bar.tier).id(`createdeco:anvil/${bar.metal}_bars_overlay`)
event.recipes.gtceu.assembler(`tfg:${bar.material}_create_deco_bars_overlay`)
.itemInputs(`1x #forge:rods/${bar.material}`, `1x #forge:plates/${bar.material}`)
.itemOutputs(`4x createdeco:${bar.metal}_bars_overlay`)
.duration(100)
.EUt(GTValues.VA[GTValues.LV])
.circuit(13)
event.shaped(`4x createdeco:${bar.metal}_facade`, [
' A ',
'ABA',
' A '
], {
A: `#forge:rods/${bar.material}`,
B: `createdeco:${bar.metal}_mesh_fence`
}).id(`tfg:shaped/createdeco_${bar.metal}_facade`)
})
// #endregion
// #region Trapdoors
event.shapeless(`createdeco:copper_trapdoor`, `tfc:metal/trapdoor/copper`)
event.shapeless(`tfc:metal/trapdoor/copper`, `createdeco:copper_trapdoor`)
event.shapeless(`createdeco:industrial_iron_trapdoor`, `tfc:metal/trapdoor/steel`)
event.shapeless(`tfc:metal/trapdoor/steel`, `createdeco:industrial_iron_trapdoor`)
// TODO: move these two into the tag prefixes in tfg-core, then remove these recipes
event.recipes.tfc.anvil(`createdeco:brass_trapdoor`, `#forge:ingots/brass`, ['shrink_last', 'draw_second_last', 'draw_third_last'])
.tier(2).id(`createdeco:anvil/brass_trapdoor`)
event.recipes.gtceu.alloy_smelter(`tfg:cast_brass_trapdoor`)
.itemInputs('#forge:ingots/brass')
.notConsumable('tfg:trapdoor_casting_mold')
.itemOutputs('createdeco:brass_trapdoor')
.duration(GTMaterials.Brass.getMass())
.category(GTRecipeCategories.INGOT_MOLDING)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.gtceu.fluid_solidifier(`tfg:solidify_brass_trapdoor`)
.inputFluids(Fluid.of(GTMaterials.Brass.getFluid(), 144))
.notConsumable('tfg:trapdoor_casting_mold')
.itemOutputs('createdeco:brass_trapdoor')
.duration(GTMaterials.Brass.getMass())
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.tfc.anvil(`createdeco:zinc_trapdoor`, `#forge:ingots/zinc`, ['shrink_last', 'draw_second_last', 'draw_third_last'])
.tier(1).id(`createdeco:anvil/zinc_trapdoor`)
event.recipes.gtceu.alloy_smelter(`tfg:cast_zinc_trapdoor`)
.itemInputs('#forge:ingots/zinc')
.notConsumable('tfg:trapdoor_casting_mold')
.itemOutputs('createdeco:zinc_trapdoor')
.duration(GTMaterials.Zinc.getMass())
.category(GTRecipeCategories.INGOT_MOLDING)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.gtceu.fluid_solidifier(`tfg:solidify_zinc_trapdoor`)
.inputFluids(Fluid.of(GTMaterials.Zinc.getFluid(), 144))
.notConsumable('tfg:trapdoor_casting_mold')
.itemOutputs('createdeco:zinc_trapdoor')
.duration(GTMaterials.Zinc.getMass())
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.tfc.anvil(`createdeco:andesite_trapdoor`, `#forge:ingots/tin_alloy`, ['shrink_last', 'draw_second_last', 'draw_third_last'])
.tier(3).id(`createdeco:anvil/andesite_trapdoor`)
event.recipes.gtceu.alloy_smelter(`tfg:cast_tin_alloy_trapdoor`)
.itemInputs('#forge:ingots/tin_alloy')
.notConsumable('tfg:trapdoor_casting_mold')
.itemOutputs('createdeco:andesite_trapdoor')
.duration(GTMaterials.TinAlloy.getMass())
.category(GTRecipeCategories.INGOT_MOLDING)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.gtceu.fluid_solidifier(`tfg:solidify_tin_alloy_trapdoor`)
.inputFluids(Fluid.of(GTMaterials.TinAlloy.getFluid(), 144))
.notConsumable('tfg:trapdoor_casting_mold')
.itemOutputs('createdeco:andesite_trapdoor')
.duration(GTMaterials.TinAlloy.getMass())
.EUt(GTValues.VA[GTValues.ULV])
// #endregion
//#region Coins
event.recipes.gtceu.forming_press('createdeco:gold_coin')
.itemInputs('#forge:nuggets/gold')
.notConsumable('gtceu:credit_casting_mold')
.itemOutputs('4x createdeco:gold_coin')
.duration(50)
.EUt(16)
event.recipes.gtceu.forming_press('createdeco:netherite_coin')
.itemInputs('#forge:nuggets/blue_steel')
.notConsumable('gtceu:credit_casting_mold')
.itemOutputs('4x createdeco:netherite_coin')
.duration(50)
.EUt(16)
event.recipes.gtceu.forming_press('createdeco:brass_coin')
.itemInputs('#forge:nuggets/brass')
.notConsumable('gtceu:credit_casting_mold')
.itemOutputs('4x createdeco:brass_coin')
.duration(50)
.EUt(16)
event.recipes.gtceu.forming_press('createdeco:iron_coin')
.itemInputs('#forge:nuggets/wrought_iron')
.notConsumable('gtceu:credit_casting_mold')
.itemOutputs('4x createdeco:iron_coin')
.duration(50)
.EUt(16)
event.recipes.gtceu.forming_press('createdeco:copper_coin')
.itemInputs('#forge:nuggets/copper')
.notConsumable('gtceu:credit_casting_mold')
.itemOutputs('4x createdeco:copper_coin')
.duration(50)
.EUt(16)
event.recipes.gtceu.forming_press('createdeco:industrial_iron_coin')
.itemInputs('#forge:nuggets/steel')
.notConsumable('gtceu:credit_casting_mold')
.itemOutputs('createdeco:industrial_iron_coin')
.duration(50)
.EUt(16)
event.recipes.gtceu.forming_press('createdeco:zinc_coin')
.itemInputs('#forge:nuggets/zinc')
.notConsumable('gtceu:credit_casting_mold')
.itemOutputs('createdeco:zinc_coin')
.duration(50)
.EUt(16)
// #region
// #region Window panes
const CREATE_DECO_GLASS_WINDOWS =
[
['andesite', '#forge:rods/tin_alloy'],
['copper', '#forge:rods/copper'],
['iron', '#forge:rods/wrought_iron'],
['industrial_iron', '#forge:rods/steel'],
['brass', '#forge:rods/brass'],
['zinc', '#forge:rods/zinc']
]
CREATE_DECO_GLASS_WINDOWS.forEach(x => {
event.shaped(`2x createdeco:${x[0]}_window`,
[
' B ',
'BAB'
], {
A: '#forge:glass',
B: x[1]
}).id(`createdeco:${x[0]}_window`)
event.shapeless(`2x createdeco:${x[0]}_window_pane`,
[
`createdeco:${x[0]}_window`,
'#forge:tools/saws'
])
.id(`createdeco:${x[0]}_window_pane`)
event.recipes.gtceu.cutter(`tfg:createdeco/${x[0]}_window_pane`)
.itemInputs(`3x createdeco:${x[0]}_window`)
.itemOutputs(`8x createdeco:${x[0]}_window_pane`)
.duration(40)
.EUt(7)
})
// #endregion
// #region Ladders
event.shaped('6x createdeco:iron_ladder', [
'A A',
'AAA',
'A A'
], {
A: '#forge:rods/wrought_iron'
}).id('tfg:createdeco/shaped/iron_ladder')
event.stonecutting('2x createdeco:iron_ladder', '#forge:ingots/wrought_iron')
event.shaped('6x createdeco:zinc_ladder', [
'A A',
'AAA',
'A A'
], {
A: '#forge:rods/zinc'
}).id('tfg:createdeco/shaped/zinc_ladder')
event.shaped('6x createdeco:industrial_iron_ladder', [
'A A',
'AAA',
'A A'
], {
A: '#forge:rods/steel'
}).id('tfg:createdeco/shaped/industrial_iron_ladder')
// #endregion
};