Refactor & update to gt7

* gt7 removed credits/coins

* port gregtech additions to java

* add eslint locally

* add style linting

* switch target ECMA standard

* run linter

* clean up a bunch of linter errors

* remove outdated greate API calls

* forgot about the TFC multi compat issue

* reverted greate recipe removals

* some more linting stuff

* fix some issues with greenhouse recipes

* fix up some material stuff

* fix recipe types

* - Fixed single block machine rendering (#1465)

* minor fixes and changes

---------

Signed-off-by: Pyritie <pyritie@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>
Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com>
This commit is contained in:
Gustavo 2025-07-28 12:27:06 +10:00 committed by GitHub
parent d0af2cd96f
commit f3dfa471ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
249 changed files with 2359 additions and 792 deletions

View file

@ -72,11 +72,11 @@ const registerCreatedecoRecipes = (event) => {
function lampRecipe(output, lampType, lampColor) {
const replacementLampType = lampType;
if (lampType == 'industrial_iron') {
let replacementLampType = lampType;
if (lampType === 'industrial_iron') {
replacementLampType = 'steel';
}
if (lampType == 'andesite') {
if (lampType === 'andesite') {
replacementLampType = 'wrought_iron';
}
@ -233,7 +233,7 @@ const registerCreatedecoRecipes = (event) => {
event.remove({ id: `createdeco:${bar.metal}_trapdoor` })
event.remove({ id: `createdeco:${bar.metal}_door` })
if (bar.metal != 'iron') {
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'])
@ -350,49 +350,49 @@ const registerCreatedecoRecipes = (event) => {
event.recipes.gtceu.forming_press('createdeco:gold_coin')
.itemInputs('#forge:nuggets/gold')
.notConsumable('gtceu:credit_casting_mold')
.notConsumable('gtceu:cylinder_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')
.notConsumable('gtceu:cylinder_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')
.notConsumable('gtceu:cylinder_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')
.notConsumable('gtceu:cylinder_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')
.notConsumable('gtceu:cylinder_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')
.notConsumable('gtceu:cylinder_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')
.notConsumable('gtceu:cylinder_casting_mold')
.itemOutputs('createdeco:zinc_coin')
.duration(50)
.EUt(16)