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:
parent
d0af2cd96f
commit
f3dfa471ec
249 changed files with 2359 additions and 792 deletions
|
|
@ -116,7 +116,7 @@ const registerRailWaysRecipes = (event) => {
|
|||
.duration(200)
|
||||
.EUt(4)
|
||||
.category(GTRecipeCategories.CHEM_DYES)
|
||||
if (dye != "white") {
|
||||
if (dye !== "white") {
|
||||
event.recipes.tfc.barrel_sealed(1000)
|
||||
.inputs(`railways:white_conductor_cap`, Fluid.of(`tfc:${dye}_dye`, 288))
|
||||
.outputItem(`railways:${dye}_conductor_cap`)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const locometalBase = {
|
|||
}
|
||||
|
||||
const registerRailwaysLocometalRecipes = (event) => {
|
||||
for (var locometal in locometalBase) {
|
||||
for (let locometal in locometalBase) {
|
||||
event.recipes.create.cutting(`8x railways:${locometal}`, '#forge:storage_blocks/iron').processingTime(200);
|
||||
event.recipes.create.cutting(`16x railways:${locometal}`, '#forge:storage_blocks/wrought_iron').processingTime(200);
|
||||
event.recipes.create.cutting(`24x railways:${locometal}`, '#forge:storage_blocks/steel').processingTime(200);
|
||||
|
|
@ -90,7 +90,7 @@ const registerRailwaysLocometalRecipes = (event) => {
|
|||
.category(GTRecipeCategories.CHEM_DYES)
|
||||
|
||||
global.MINECRAFT_DYE_NAMES.forEach(dye => {
|
||||
for (var locometal in locometalBase) {
|
||||
for (let locometal in locometalBase) {
|
||||
event.recipes.gtceu.chemical_bath(`tfg:chemical_dying_locometal/${locometal}/${dye}`)
|
||||
.itemInputs(Item.of(locometalDyeGroups[`${locometal}`], 1))
|
||||
.inputFluids(Fluid.of(`tfc:${dye}_dye`, 18))
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const registerRailWaysItemTags = (event) => {
|
|||
})
|
||||
// Adding Conductor tags
|
||||
global.MINECRAFT_DYE_NAMES.forEach(dye => {
|
||||
if (dye != 'white') event.add('tfg:colored_caps', `railways:${dye}_conductor_cap`)
|
||||
if (dye !== 'white') event.add('tfg:colored_caps', `railways:${dye}_conductor_cap`)
|
||||
event.remove('c:hidden_from_recipe_viewers',`railways:${dye}_conductor_cap`)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue