More Hardwood work
This commit is contained in:
parent
2731ac8de4
commit
9f9a9f229a
7 changed files with 84 additions and 1 deletions
|
|
@ -1,4 +1,16 @@
|
|||
{
|
||||
"item.gtceu.tiny_wood_dust": "Tiny Pile of Softwood Pulp",
|
||||
"item.gtceu.small_wood_dust": "Small Pile of Softwood Pulp",
|
||||
"item.gtceu.wood_dust": "Softwood Pulp",
|
||||
|
||||
"item.gtceu.tiny_hardwood_dust": "Tiny Pile of Hardwood Pulp",
|
||||
"item.gtceu.small_hardwood_dust": "Small Pile of Hardwood Pulp",
|
||||
"item.gtceu.hardwood_dust": "Hardwood Pulp",
|
||||
|
||||
"item.gtceu.tiny_thermochemically_treated_hardwood_dust": "Tiny Pile of Thermochemicall Treated Hardwood Pulp",
|
||||
"item.gtceu.small_thermochemically_treated_hardwood_dust": "Small Pile of Thermochemicall Treated Hardwood Pulp",
|
||||
"item.gtceu.thermochemically_treated_hardwood_dust": "Thermochemically Treated Hardwood Pulp",
|
||||
|
||||
"gtceu.jei.bedrock_fluid.tfc_salt_water_deposit": "Sea Water Deposit",
|
||||
|
||||
"block.gtceu.greenhouse": "Electric Greenhouse",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"material.tfg.latex": "Latex",
|
||||
"material.tfg.fluix": "Fluix",
|
||||
|
||||
"material.gtceu.thermochemically_treated_hardwood": "Thermochemically Treated Hardwood",
|
||||
"material.gtceu.hardwood": "Hardwood",
|
||||
"item.tfg.hardwood_strip": "Hardwood Strip",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,33 @@
|
|||
// priority: 0
|
||||
|
||||
const registerGTCEURecipes = (event) => {
|
||||
//#region Выход: Удобрение
|
||||
|
||||
//#region Hardwood Dust from Hardwood
|
||||
//Lathe - Replace regular logs tag with softwood tag
|
||||
event.replaceInput({id: 'gtceu:lathe/lathe_logs'}, '#minecraft:logs', '#tfg:softwood')
|
||||
//Create identical lathe recipe for hardwood
|
||||
event.recipes.gtceu.lathe('lathe_hardwood')
|
||||
.itemInputs('#tfg:hardwood')
|
||||
.itemOutputs('4x gtceu:long_wood_rod', '2x gtceu:hardwood_dust')
|
||||
.duration(160)
|
||||
.EUt(7)
|
||||
|
||||
//Replace any recipe that outputs wood dust to use hardwood dust if it's ID string contains the name of one of the hardwood types.
|
||||
//This absolutely fuckin sucks but it works
|
||||
event.forEachRecipe({output: 'gtceu:wood_dust'}, r =>{
|
||||
global.TFC_HARDWOOD_TYPES.forEach(hardwoodType =>
|
||||
{
|
||||
if(r.id.toString().includes(hardwoodType))
|
||||
{
|
||||
r.replaceOutput('gtceu:wood_dust', 'gtceu:hardwood_dust')
|
||||
r.replaceOutput('gtceu:small_wood_dust', 'gtceu:small_hardwood_dust')
|
||||
r.replaceOutput('gtceu:tiny_wood_dust', 'gtceu_tiny_hardwood_dust')
|
||||
return;
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
//#region Выход: Удобрение
|
||||
// В обычном миксере
|
||||
event.recipes.gtceu.mixer('fertilizer')
|
||||
.itemInputs(
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ ServerEvents.recipes(event => {
|
|||
registerSophisticatedBackpacksRecipes(event)
|
||||
registerTfceaRecipes(event)
|
||||
registerTFCRecipes(event)
|
||||
registerTFGRecipes(event)
|
||||
registerTFCGroomingStationRecipes(event)
|
||||
registerToolBeltRecipes(event)
|
||||
registerTreeTapRecipes(event)
|
||||
|
|
|
|||
|
|
@ -86,6 +86,20 @@ const registerTFCItemTags = (event) => {
|
|||
event.add('tfg:bladed_axles', `tfc:wood/bladed_axle/${woodType}`)
|
||||
})
|
||||
|
||||
//Hardwood Tags
|
||||
global.TFC_HARDWOOD_TYPES.forEach(woodType => {
|
||||
event.add('tfg:hardwood', `#tfc:${woodType}_logs`)
|
||||
event.add('tfg:stripped_hardwood', `tfc:wood/stripped_log/${woodType}`)
|
||||
event.add('tfg:stripped_hardwood', `tfc:wood/stripped_wood/${woodType}`)
|
||||
});
|
||||
|
||||
//Softwood Tags
|
||||
global.TFC_SOFTWOOD_TYPES.forEach(woodType =>{
|
||||
event.add('tfg:softwood', `#tfc:${woodType}_logs`)
|
||||
event.add('tfg:stripped_softwood', `tfc:wood/stripped_log/${woodType}`)
|
||||
event.add('tfg:stripped_softwood', `tfc:wood/stripped_wood/${woodType}`)
|
||||
})
|
||||
|
||||
// Теги для сосудов по цветам
|
||||
global.MINECRAFT_DYE_NAMES.forEach(dye => {
|
||||
event.add('tfg:colorized_unfired_vessels', `tfc:ceramic/${dye}_unfired_vessel`)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
const registerTFGRecipes = (event) =>
|
||||
{
|
||||
event.recipes.tfc.damage_inputs_shapeless_crafting(event.shapeless('4x tfg:hardwood_strip', ['#minecraft:axes', '#tfg:stripped_hardwood']))
|
||||
}
|
||||
|
|
@ -707,6 +707,32 @@ global.TFC_WOOD_TYPES = [
|
|||
"willow"
|
||||
];
|
||||
|
||||
global.TFC_HARDWOOD_TYPES = [
|
||||
"acacia",
|
||||
"ash",
|
||||
"aspen",
|
||||
"birch",
|
||||
"blackwood",
|
||||
"chestnut",
|
||||
"hickory",
|
||||
"maple",
|
||||
"oak",
|
||||
"rosewood",
|
||||
"sycamore"
|
||||
];
|
||||
|
||||
global.TFC_SOFTWOOD_TYPES = [
|
||||
"douglas_fir",
|
||||
"kapok",
|
||||
"mangrove",
|
||||
"palm",
|
||||
"pine",
|
||||
"sequoia",
|
||||
"spruce",
|
||||
"white_cedar",
|
||||
"willow"
|
||||
];
|
||||
|
||||
global.TFC_MUD_TYPES = [
|
||||
'silt',
|
||||
'loam',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue