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
|
|
@ -1,6 +1,9 @@
|
|||
// priority: 0
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* @param {Internal.RecipesEventJS} event
|
||||
*/
|
||||
const registerFirmaLifeRecipes = (event) => {
|
||||
|
||||
global.FIRMALIFE_DISABLED_ITEMS.forEach(item => {
|
||||
|
|
@ -465,12 +468,12 @@ const registerFirmaLifeRecipes = (event) => {
|
|||
|
||||
// Семена фруктов
|
||||
global.FIRMALIFE_GREENHOUSE_FRUIT_RECIPE_COMPONENTS.forEach(element => {
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, 'minecraft:overworld', 1)
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, 'minecraft:overworld', 8, null, GTValues.VA[GTValues.LV])
|
||||
})
|
||||
|
||||
// Семена ягод
|
||||
global.FIRMALIFE_GREENHOUSE_BERRY_RECIPE_COMPONENTS.forEach(element => {
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, null, 1)
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, null, 8, null, GTValues.VA[GTValues.LV])
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
|
|
|||
|
|
@ -59,8 +59,8 @@ const registerFirmaLifeBlockTags = (event) => {
|
|||
]
|
||||
|
||||
greenhouse_tiers.forEach(tier => {
|
||||
event.add('firmalife:always_valid_greenhouse_wall', 'firmalife:' + tier + '_greenhouse_door')
|
||||
event.add('firmalife:always_valid_greenhouse_wall', 'firmalife:' + tier + '_greenhouse_trapdoor')
|
||||
event.add('firmalife:always_valid_greenhouse_wall', `firmalife:${ tier }_greenhouse_door`)
|
||||
event.add('firmalife:always_valid_greenhouse_wall', `firmalife:${ tier }_greenhouse_trapdoor`)
|
||||
})
|
||||
|
||||
//Allows any block with the word "brick" in its id to be used as oven insulation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue