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

@ -26,13 +26,13 @@ const registerToolBeltRecipes = (event) => {
A: '#forge:string',
B: '#forge:leather',
C: '#forge:plates/wrought_iron'
}).id('tfg:toolbelt/shaped/belt_' + 2)
}).id(`tfg:toolbelt/shaped/belt_${ 2}`)
// ToolBelt с размером 3 - 9
for (let i = 3; i < 10; i++) {
event.shapeless(Item.of('toolbelt:belt', {Size:i}), [
Ingredient.of(Item.of('toolbelt:belt', {Size:i-1}).strongNBT()).or(Ingredient.of(Item.of('toolbelt:belt', {Size:i-1,Items:[]}).strongNBT())),
'toolbelt:pouch'
]).id('tfg:toolbelt/shaped/belt_' + i)
]).id(`tfg:toolbelt/shaped/belt_${ i}`)
}
}