[Molden] Stone TFGfication p3 - Aqueducts, Supports + Cutting and Grinding fixes (#1919)
* Aqueducts + move stone characs to constants * Supports Supports for all stones Remapped to the original textures rather than copies (all removed) * Support tooltips + recipe rocks regions added * Macerator Recipes - Add Macerator missing grinding recipes - Change the TFC stone Macerator recipes to the same ratios * aqueduct recipes + stonecutting fixes * Remove redundant tags --------- Signed-off-by: Adrien Vidal <vidal.adrien2@gmail.com>
This commit is contained in:
parent
1a8172e27a
commit
c856ec9398
42 changed files with 1366 additions and 975 deletions
|
|
@ -6,6 +6,30 @@
|
|||
*/
|
||||
function registerTFGRockRecipes(event) {
|
||||
|
||||
// #region REMOVES
|
||||
event.remove({ id: 'gtceu:shaped/stone_stair_saw' })
|
||||
event.remove({ id: 'gtceu:shaped/stone_slab_saw' })
|
||||
|
||||
event.remove({ id: 'gtceu:shaped/cobblestone_stair_saw' })
|
||||
event.remove({ id: 'gtceu:shaped/cobblestone_slab_saw' })
|
||||
event.remove({ id: 'gtceu:shaped/cobblestone_slab_wall' })
|
||||
|
||||
event.remove({ id: 'gtceu:shaped/mossy_cobblestone_stair_saw' })
|
||||
event.remove({ id: 'gtceu:shaped/mossy_cobblestone_slab_saw' })
|
||||
event.remove({ id: 'gtceu:shaped/mossy_cobblestone_slab_wall' })
|
||||
|
||||
event.remove({ id: 'gtceu:shaped/red_sandstone_stair_saw' })
|
||||
event.remove({ id: 'gtceu:shaped/red_sandstone_wall_saw' })
|
||||
event.remove({ id: 'gtceu:shaped/red_sandstone_polish_hammer' })
|
||||
|
||||
event.remove({ id: 'gtceu:shaped/smooth_red_sandstone_stair_saw' })
|
||||
event.remove({ id: 'gtceu:shaped/smooth_red_sandstone_slab_saw' })
|
||||
|
||||
event.remove({ id: 'gtceu:shaped/cut_red_sandstone_slab_saw' })
|
||||
|
||||
removeMaceratorRecipe(event, 'macerate_nether_bricks')
|
||||
removeMaceratorRecipe(event, 'macerate_chiseled_nether_bricks')
|
||||
|
||||
// #region GLUEING_TOGETHER
|
||||
// loose rocks to cobble, bricks to brick blocks
|
||||
const GLUEING_TOGETHER = [
|
||||
|
|
@ -132,6 +156,44 @@ function registerTFGRockRecipes(event) {
|
|||
})
|
||||
// #endregion LOOSE_TO_BRICKS
|
||||
|
||||
// #region AQUEDUCTS
|
||||
const AQUEDUCTS = [
|
||||
{ brick: 'tfg:brick/deepslate', aqueduct: 'tfg:rock/aqueduct_deepslate' },
|
||||
{ brick: 'tfg:brick/dripstone', aqueduct: 'tfg:rock/aqueduct_dripstone' },
|
||||
{ brick: 'minecraft:nether_brick', aqueduct: 'tfg:rock/aqueduct_nether' },
|
||||
{ brick: 'tfg:brick/moon_stone', aqueduct: 'tfg:rock/aqueduct_moon_stone' },
|
||||
{ brick: 'tfg:brick/moon_deepslate', aqueduct: 'tfg:rock/aqueduct_moon_deepslate' },
|
||||
{ brick: 'tfg:brick/mars_stone', aqueduct: 'tfg:rock/aqueduct_mars_stone' },
|
||||
{ brick: 'tfg:brick/venus_stone', aqueduct: 'tfg:rock/aqueduct_venus_stone' },
|
||||
{ brick: 'tfg:brick/mercury_stone', aqueduct: 'tfg:rock/aqueduct_mercury_stone' },
|
||||
{ brick: 'tfg:brick/glacio_stone', aqueduct: 'tfg:rock/aqueduct_glacio_stone' },
|
||||
{ brick: 'tfg:brick/permafrost', aqueduct: 'tfg:rock/aqueduct_permafrost' },
|
||||
{ brick: 'tfg:brick/red_granite', aqueduct: 'tfg:rock/aqueduct_red_granite' }
|
||||
]
|
||||
|
||||
AQUEDUCTS.forEach(x => {
|
||||
event.shaped(x.aqueduct, [
|
||||
'A A',
|
||||
'BAB'
|
||||
], {
|
||||
A: x.loose,
|
||||
B: 'tfc:mortar'
|
||||
})
|
||||
})
|
||||
|
||||
event.shaped('tfg:rock/aqueduct_stone', [
|
||||
'ABA',
|
||||
'ABA',
|
||||
'AAA'
|
||||
], {
|
||||
A: 'gtceu:stone_ingot',
|
||||
B: 'tfc:mortar'
|
||||
})
|
||||
|
||||
|
||||
// #endregion AQUEDUCT
|
||||
|
||||
|
||||
// #region RAW_TO_POLISHED
|
||||
const RAW_TO_POLISHED = [
|
||||
// Beneath
|
||||
|
|
@ -256,21 +318,21 @@ function registerTFGRockRecipes(event) {
|
|||
|
||||
// #endregion RAW_TO_POLISHED
|
||||
|
||||
// cracked bricks
|
||||
|
||||
// #region CRACKING
|
||||
const CRACKING = [
|
||||
{ raw: 'minecraft:deepslate_bricks', cracked: 'minecraft:cracked_deepslate_bricks' },
|
||||
{ raw: 'minecraft:deepslate_tiles', cracked: 'minecraft:cracked_deepslate_tiles' },
|
||||
{ raw: 'minecraft:nether_bricks', cracked: 'minecraft:cracked_nether_bricks' },
|
||||
{ raw: 'ad_astra:moon_stone_bricks', cracked: 'ad_astra:cracked_moon_stone_bricks' },
|
||||
{ raw: 'ad_astra:mars_stone_bricks', cracked: 'ad_astra:cracked_mars_stone_bricks' },
|
||||
{ raw: 'ad_astra:venus_stone_bricks', cracked: 'ad_astra:cracked_venus_stone_bricks' },
|
||||
{ raw: 'minecraft:deepslate_bricks', cracked: 'minecraft:cracked_deepslate_bricks' },
|
||||
{ raw: 'minecraft:deepslate_tiles', cracked: 'minecraft:cracked_deepslate_tiles' },
|
||||
{ raw: 'minecraft:nether_bricks', cracked: 'minecraft:cracked_nether_bricks' },
|
||||
{ raw: 'ad_astra:moon_stone_bricks', cracked: 'ad_astra:cracked_moon_stone_bricks' },
|
||||
{ raw: 'tfg:rock/bricks_moon_deepslate', cracked: 'tfg:rock/cracked_bricks_moon_deepslate' },
|
||||
{ raw: 'ad_astra:mars_stone_bricks', cracked: 'ad_astra:cracked_mars_stone_bricks' },
|
||||
{ raw: 'ad_astra:venus_stone_bricks', cracked: 'ad_astra:cracked_venus_stone_bricks' },
|
||||
{ raw: 'ad_astra:venus_sandstone_bricks', cracked: 'ad_astra:cracked_venus_sandstone_bricks' },
|
||||
{ raw: 'gtceu:red_granite_bricks', cracked: 'gtceu:cracked_red_granite_bricks' },
|
||||
{ raw: 'ad_astra:mercury_stone_bricks', cracked: 'ad_astra:cracked_mercury_stone_bricks' },
|
||||
{ raw: 'ad_astra:glacio_stone_bricks', cracked: 'ad_astra:cracked_glacio_stone_bricks' },
|
||||
{ raw: 'ad_astra:permafrost_bricks', cracked: 'ad_astra:cracked_permafrost_bricks' },
|
||||
{ raw: 'tfg:rock/bricks_moon_deepslate', cracked: 'tfg:rock/cracked_bricks_moon_deepslate' }
|
||||
{ raw: 'ad_astra:mercury_stone_bricks', cracked: 'ad_astra:cracked_mercury_stone_bricks' },
|
||||
{ raw: 'ad_astra:glacio_stone_bricks', cracked: 'ad_astra:cracked_glacio_stone_bricks' },
|
||||
{ raw: 'ad_astra:permafrost_bricks', cracked: 'ad_astra:cracked_permafrost_bricks' },
|
||||
{ raw: 'gtceu:red_granite_bricks', cracked: 'gtceu:cracked_red_granite_bricks' }
|
||||
|
||||
]
|
||||
|
||||
CRACKING.forEach(x => {
|
||||
|
|
@ -288,7 +350,9 @@ function registerTFGRockRecipes(event) {
|
|||
.recipeTier(1)
|
||||
.id(`greate:pressing/${x.raw}_to_${x.cracked}`.replace(/:/g, '_'))
|
||||
})
|
||||
// #endregion CRACKING
|
||||
|
||||
// #region HAMMERING
|
||||
// Defined in kubejs/startup_scripts/tfg/constants.js
|
||||
global.HAMMERING.forEach(x => {
|
||||
event.recipes.gtceu.forge_hammer(`${x.raw}_to_${x.hammered}`.replace(/[: ]/g, '_'))
|
||||
|
|
@ -301,24 +365,23 @@ function registerTFGRockRecipes(event) {
|
|||
.recipeTier(x.eu <= 8 ? 0 : 1)
|
||||
.id(`greate:pressing/${x.raw}_to_${x.hammered}`.replace(/[: ]/g, '_'))
|
||||
})
|
||||
// #endregion HAMMERING
|
||||
|
||||
// slabs, stairs, walls
|
||||
|
||||
// #region CUTTER
|
||||
// #region CUT_GRIND
|
||||
//
|
||||
// (spacing for region titles)
|
||||
//
|
||||
let CUTTER = [
|
||||
//
|
||||
let CUT_GRIND = [
|
||||
// #region Nether
|
||||
// Deepslate
|
||||
{ raw: 'minecraft:deepslate', stair: 'tfg:rock/deepslate_stairs', slab: 'tfg:rock/deepslate_slab', wall: 'tfg:rock/deepslate_wall',
|
||||
dust: null, loose: null, stonecutting: false }, // Raw
|
||||
dust: 'gtceu:deepslate_dust', loose: null, stonecutting: false }, // Raw
|
||||
|
||||
{ raw: 'minecraft:cobbled_deepslate', stair: 'minecraft:cobbled_deepslate_stairs', slab: 'minecraft:cobbled_deepslate_slab', wall: 'minecraft:cobbled_deepslate_wall',
|
||||
dust: 'gtceu:deepslate_dust', loose: 'tfg:loose/deepslate', stonecutting: false }, // Cobble
|
||||
|
||||
{ raw: 'tfg:rock/mossy_cobble_deepslate', stair: 'tfg:rock/mossy_cobble_deepslate_stairs', slab: 'tfg:rock/mossy_cobble_deepslate_slab', wall: 'tfg:rock/mossy_cobble_deepslate_wall',
|
||||
dust: null, loose: null, stonecutting: true }, // Cobble - Mossy
|
||||
dust: 'gtceu:deepslate_dust', loose: null, stonecutting: true }, // Cobble - Mossy
|
||||
|
||||
{ raw: 'minecraft:polished_deepslate', stair: 'minecraft:polished_deepslate_stairs', slab: 'minecraft:polished_deepslate_slab', wall: 'minecraft:polished_deepslate_wall',
|
||||
dust: 'gtceu:deepslate_dust', loose: null, stonecutting: false }, // Smooth
|
||||
|
|
@ -428,40 +491,40 @@ function registerTFGRockRecipes(event) {
|
|||
// #region Space
|
||||
const AA_REGULAR_STONES = ['moon', 'mars', 'venus', 'mercury', 'glacio']
|
||||
|
||||
CUTTER = CUTTER.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
CUT_GRIND = CUT_GRIND.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
{ raw: `ad_astra:${stone}_stone`, stair: `ad_astra:${stone}_stone_stairs`, slab: `ad_astra:${stone}_stone_slab`, wall: `tfg:rock/${stone}_stone_wall`,
|
||||
dust: `tfg:${stone}_stone_dust`, loose: null, stonecutting: true } // Raw
|
||||
)) )
|
||||
CUTTER = CUTTER.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
CUT_GRIND = CUT_GRIND.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
{ raw: `ad_astra:${stone}_cobblestone`, stair: `ad_astra:${stone}_cobblestone_stairs`, slab: `ad_astra:${stone}_cobblestone_slab`, wall: `tfg:rock/cobble_${stone}_wall`,
|
||||
dust: `tfg:${stone}_stone_dust`, loose: `tfg:loose/${stone}_stone`, stonecutting: true } // Cobble
|
||||
)) )
|
||||
CUTTER = CUTTER.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
CUT_GRIND = CUT_GRIND.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
{ raw: `tfg:rock/mossy_cobble_${stone}`, stair: `tfg:rock/mossy_cobble_${stone}_stairs`, slab: `tfg:rock/mossy_cobble_${stone}_slab`, wall: `tfg:rock/mossy_cobble_${stone}_wall`,
|
||||
dust: `tfg:${stone}_stone_dust`, loose: null, stonecutting: true } // Cobble - Mossy
|
||||
)) )
|
||||
CUTTER = CUTTER.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
CUT_GRIND = CUT_GRIND.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
{ raw: `ad_astra:polished_${stone}_stone`, stair: `ad_astra:polished_${stone}_stone_stairs`, slab: `ad_astra:polished_${stone}_stone_slab`, wall: `tfg:rock/polished_${stone}_wall`,
|
||||
dust: `tfg:${stone}_stone_dust`, loose: null, stonecutting: true } // Smooth
|
||||
)) )
|
||||
CUTTER = CUTTER.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
CUT_GRIND = CUT_GRIND.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
{ raw: `ad_astra:${stone}_stone_bricks`, stair: `ad_astra:${stone}_stone_brick_stairs`, slab: `ad_astra:${stone}_stone_brick_slab`, wall: `ad_astra:${stone}_stone_brick_wall`,
|
||||
dust: `tfg:${stone}_stone_dust`, loose: null, stonecutting: true } // Bricks
|
||||
)) )
|
||||
CUTTER = CUTTER.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
CUT_GRIND = CUT_GRIND.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
{ raw: `ad_astra:cracked_${stone}_stone_bricks`, stair: `tfg:rock/cracked_bricks_${stone}_stairs`, slab: `tfg:rock/cracked_bricks_${stone}_slab`, wall: `tfg:rock/cracked_bricks_${stone}_wall`,
|
||||
dust: `tfg:${stone}_stone_dust`, loose: null, stonecutting: true } // Bricks - Cracked
|
||||
)) )
|
||||
CUTTER = CUTTER.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
CUT_GRIND = CUT_GRIND.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
{ raw: `tfg:rock/mossy_bricks_${stone}`, stair: `tfg:rock/mossy_bricks_${stone}_stairs`, slab: `tfg:rock/mossy_bricks_${stone}_slab`, wall: `tfg:rock/mossy_bricks_${stone}_wall`,
|
||||
dust: `tfg:${stone}_stone_dust`, loose: null, stonecutting: true } // Bricks - Mossy
|
||||
)) )
|
||||
CUTTER = CUTTER.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
CUT_GRIND = CUT_GRIND.concat( (AA_REGULAR_STONES ? AA_REGULAR_STONES : []).map(stone => (
|
||||
{ raw: `ad_astra:chiseled_${stone}_stone_bricks`, stair: `ad_astra:chiseled_${stone}_stone_stairs`, slab: `ad_astra:chiseled_${stone}_stone_slab`, wall: `tfg:rock/chiseled_bricks_${stone}_wall`,
|
||||
dust: `tfg:${stone}_stone_dust`, loose: null, stonecutting: true } // Bricks - Extra
|
||||
)) )
|
||||
|
||||
CUTTER = CUTTER.concat([
|
||||
CUT_GRIND = CUT_GRIND.concat([
|
||||
// Moon Deepstone
|
||||
{ raw: 'ad_astra:moon_deepslate', stair: 'tfg:rock/moon_deepslate_stairs', slab: 'tfg:rock/moon_deepslate_slab', wall: 'tfg:rock/moon_deepslate_wall',
|
||||
dust: 'tfg:moon_deepslate_dust', loose: null, stonecutting: true }, // Raw
|
||||
|
|
@ -569,7 +632,6 @@ function registerTFGRockRecipes(event) {
|
|||
|
||||
{ raw: 'minecraft:purpur_block', stair: 'minecraft:purpur_stairs', slab: 'minecraft:purpur_slab', wall: null,
|
||||
dust: null, loose: null, stonecutting: true },
|
||||
|
||||
// #endregion Space
|
||||
|
||||
// #region Other
|
||||
|
|
@ -597,17 +659,29 @@ function registerTFGRockRecipes(event) {
|
|||
// #endregion Other
|
||||
])
|
||||
|
||||
CUTTER.forEach(x => {
|
||||
CUT_GRIND.forEach(x => {
|
||||
console.log(x.raw)
|
||||
if (x.raw != null && x.dust != null ) {
|
||||
try{
|
||||
event.recipes.gtceu.macerator(x.raw.replace(/.*:/g, 'macerate_'))
|
||||
.itemInputs(x.raw)
|
||||
.itemOutputs(x.dust)
|
||||
.duration(150)
|
||||
.EUt(2)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
} catch(e){ }
|
||||
}
|
||||
if (x.stair != null) {
|
||||
event.recipes.tfc.chisel(x.stair, x.raw, 'stair')
|
||||
if (x.raw != null) {
|
||||
event.recipes.tfc.chisel(x.stair, x.raw, 'stair')
|
||||
|
||||
if (x.stonecutting) {
|
||||
event.stonecutting(x.stair, x.raw).id(`${x.raw}_to_${x.stair}`.replace(/:/g, '_'))
|
||||
if (x.stonecutting) {
|
||||
event.stonecutting(x.stair, x.raw).id(`${x.raw}_to_${x.stair}`.replace(/:/g, '_'))
|
||||
}
|
||||
}
|
||||
|
||||
if (x.dust != null) {
|
||||
event.recipes.gtceu.macerator(`macerate_${x.stair}`.replace(/:/g, '_'))
|
||||
event.recipes.gtceu.macerator(x.stair.replace(/.*:/g, 'macerate_'))
|
||||
.itemInputs(x.stair)
|
||||
.itemOutputs(x.dust)
|
||||
.duration(150)
|
||||
|
|
@ -620,14 +694,16 @@ function registerTFGRockRecipes(event) {
|
|||
}
|
||||
}
|
||||
if (x.slab != null) {
|
||||
event.recipes.tfc.chisel(x.slab, x.raw, 'slab').extraDrop(x.slab)
|
||||
|
||||
if (x.stonecutting) {
|
||||
event.stonecutting(`2x ${x.slab}`, x.raw).id(`${x.raw}_to_${x.slab}`.replace(/:/g, '_'))
|
||||
if (x.raw != null) {
|
||||
event.recipes.tfc.chisel(x.slab, x.raw, 'slab').extraDrop(x.slab)
|
||||
|
||||
if (x.stonecutting) {
|
||||
event.stonecutting(`2x ${x.slab}`, x.raw).id(`${x.raw}_to_${x.slab}`.replace(/:/g, '_'))
|
||||
}
|
||||
}
|
||||
|
||||
if (x.dust != null) {
|
||||
event.recipes.gtceu.macerator(`macerate_${x.slab}`.replace(/:/g, '_'))
|
||||
event.recipes.gtceu.macerator(x.slab.replace(/.*:/g, 'macerate_'))
|
||||
.itemInputs(`2x ${x.slab}`)
|
||||
.itemOutputs(x.dust)
|
||||
.duration(150)
|
||||
|
|
@ -640,26 +716,28 @@ function registerTFGRockRecipes(event) {
|
|||
}
|
||||
}
|
||||
if (x.wall != null) {
|
||||
event.recipes.tfc.chisel(x.wall, x.raw, 'smooth')
|
||||
|
||||
if (x.stonecutting) {
|
||||
event.stonecutting(x.wall, x.raw).id(`${x.raw}_to_${x.wall}`.replace(/:/g, '_'))
|
||||
if (x.raw != null) {
|
||||
event.recipes.tfc.chisel(x.wall, x.raw, 'smooth')
|
||||
|
||||
if (x.stonecutting) {
|
||||
event.stonecutting(`2x ${x.wall}`, x.raw).id(`${x.raw}_to_${x.wall}`.replace(/:/g, '_'))
|
||||
}
|
||||
}
|
||||
if (x.slab != null) {
|
||||
event.recipes.tfc.chisel(x.wall, x.slab, 'smooth')
|
||||
}
|
||||
|
||||
if (x.dust != null) {
|
||||
event.recipes.gtceu.macerator(`macerate_${x.wall}`.replace(/:/g, '_'))
|
||||
.itemInputs(x.wall)
|
||||
event.recipes.gtceu.macerator(x.wall.replace(/.*:/g, 'macerate_'))
|
||||
.itemInputs(`2x ${x.wall}`)
|
||||
.itemOutputs(x.dust)
|
||||
.duration(150)
|
||||
.EUt(2)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
}
|
||||
}
|
||||
if (x.slab != null && x.wall != null) {
|
||||
event.recipes.tfc.chisel(x.wall, x.slab, 'smooth')
|
||||
}
|
||||
|
||||
if (x.loose != null) {
|
||||
if (x.loose != null && x.raw != null) {
|
||||
event.shapeless(`4x ${x.loose}`, [x.raw])
|
||||
}
|
||||
})
|
||||
|
|
@ -671,37 +749,95 @@ function registerTFGRockRecipes(event) {
|
|||
.duration(40)
|
||||
.EUt(2)
|
||||
|
||||
// #endregion CUTTER
|
||||
// #endregion CUT_GRIND
|
||||
|
||||
// Stone Cutter Sets
|
||||
const red_granite_cutter_set = Ingredient.of('#tfg:red_granite_cutter_set').itemIds.toArray().map(String);
|
||||
red_granite_cutter_set.forEach(block => {
|
||||
event.stonecutting(block,
|
||||
Ingredient.of('#tfg:red_granite_cutter_set').subtract(block)
|
||||
).id(`tfg:stonecutter/${block.replace(/:/g, "/")}`)
|
||||
|
||||
})
|
||||
// #region MACERATOR
|
||||
// For all the blocks not already handles bu the CUTTER loop.
|
||||
const MACERATOR = [
|
||||
{ block: 'tfg:rock/hardened_deepslate', dust: 'gtceu:deepslate_dust' },
|
||||
{ block: 'minecraft:chiseled_deepslate', dust: 'gtceu:deepslate_dust' },
|
||||
{ block: 'tfg:rock/hardened_blackstone', dust: 'gtceu:blackstone_dust' },
|
||||
{ block: 'minecraft:chiseled_blackstone', dust: 'gtceu:blackstone_dust' },
|
||||
{ block: 'tfg:rock/hardened_dripstone', dust: 'tfg:dripstone_dust' },
|
||||
{ block: 'minecraft:chiseled_nether_bricks', dust: 'gtceu:netherrack_dust' },
|
||||
{ block: 'tfg:rock/hardened_moon_stone', dust: 'tfg:moon_stone_dust' },
|
||||
{ block: 'ad_astra:moon_pillar', dust: 'tfg:moon_stone_dust' },
|
||||
{ block: 'tfg:rock/hardened_moon_deepslate', dust: 'tfg:moon_deepslate_dust' },
|
||||
{ block: 'tfg:rock/pillar_moon_deepslate', dust: 'tfg:moon_deepslate_dust' },
|
||||
{ block: 'tfg:rock/hardened_mars_stone', dust: 'tfg:mars_stone_dust' },
|
||||
{ block: 'ad_astra:mars_pillar', dust: 'tfg:mars_stone_dust' },
|
||||
{ block: 'tfg:rock/hardened_venus_stone', dust: 'tfg:venus_stone_dust' },
|
||||
{ block: 'ad_astra:venus_pillar', dust: 'tfg:venus_stone_dust' },
|
||||
{ block: 'tfg:rock/hardened_mercury_stone', dust: 'tfg:mercury_stone_dust' },
|
||||
{ block: 'ad_astra:mercury_pillar', dust: 'tfg:mercury_stone_dust' },
|
||||
{ block: 'tfg:rock/hardened_glacio_stone', dust: 'tfg:glacio_stone_dust' },
|
||||
{ block: 'ad_astra:glacio_pillar', dust: 'tfg:glacio_stone_dust' },
|
||||
{ block: 'tfg:rock/hardened_red_granite', dust: 'gtceu:granite_red_dust' },
|
||||
{ block: 'gtceu:red_granite_tile', dust: 'gtceu:granite_red_dust' },
|
||||
{ block: 'gtceu:square_red_granite_bricks', dust: 'gtceu:granite_red_dust' },
|
||||
{ block: 'gtceu:red_granite_windmill_a', dust: 'gtceu:granite_red_dust' },
|
||||
{ block: 'gtceu:red_granite_windmill_b', dust: 'gtceu:granite_red_dust' },
|
||||
{ block: 'gtceu:small_red_granite_bricks', dust: 'gtceu:granite_red_dust' },
|
||||
{ block: 'gtceu:red_granite_small_tile', dust: 'gtceu:granite_red_dust' },
|
||||
{ block: 'gtceu:chiseled_red_granite', dust: 'gtceu:granite_red_dust' }
|
||||
]
|
||||
|
||||
const moon_deepslate_cutter_set = Ingredient.of('#tfg:moon_deepslate_cutter_set').itemIds.toArray().map(String);
|
||||
moon_deepslate_cutter_set.forEach(block => {
|
||||
event.stonecutting(block,
|
||||
Ingredient.of('#tfg:moon_deepslate_cutter_set').subtract(block)
|
||||
).id(`tfg:stonecutter/${block.replace(/:/g, "/")}`)
|
||||
|
||||
MACERATOR.forEach(x => {
|
||||
event.recipes.gtceu.macerator(x.block.replace(/.*:/g, 'macerate_'))
|
||||
.itemInputs(x.block)
|
||||
.itemOutputs(x.dust)
|
||||
.duration(150)
|
||||
.EUt(2)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
})
|
||||
//#endregion
|
||||
|
||||
// #endregion MACERATOR
|
||||
|
||||
// #region STONECUTTER
|
||||
const STONECUTTER = [
|
||||
[ 'minecraft:deepslate_bricks', 'minecraft:deepslate_tiles', 'minecraft:chiseled_deepslate' ],
|
||||
[ 'minecraft:polished_blackstone_bricks', 'minecraft:chiseled_polished_blackstone' ],
|
||||
[ 'minecraft:nether_bricks', 'minecraft:nether_bricks' ],
|
||||
[ 'ad_astra:moon_stone_bricks', 'ad_astra:chiseled_moon_stone_bricks', ],
|
||||
[ 'tfg:rock/bricks_moon_deepslate', 'tfg:rock/chiseled_bricks_moon_deepslate', ],
|
||||
[ 'ad_astra:mars_stone_bricks', 'ad_astra:chiseled_mars_stone_bricks', ],
|
||||
[ 'ad_astra:venus_stone_bricks', 'ad_astra:chiseled_venus_stone_bricks', ],
|
||||
[ 'ad_astra:mercury_stone_bricks', 'ad_astra:chiseled_mercury_stone_bricks', ],
|
||||
[ 'ad_astra:glacio_stone_bricks', 'ad_astra:chiseled_glacio_stone_bricks', ],
|
||||
[ 'ad_astra:permafrost_bricks', 'ad_astra:chiseled_permafrost_bricks', ],
|
||||
[ 'gtceu:red_granite_bricks', 'gtceu:red_granite_tile', 'gtceu:square_red_granite_bricks',
|
||||
'gtceu:red_granite_windmill_a', 'gtceu:red_granite_windmill_b', 'gtceu:small_red_granite_bricks',
|
||||
'gtceu:red_granite_small_tile', 'gtceu:chiseled_red_granite' ],
|
||||
[ 'minecraft:stone_bricks', 'minecraft:chiseled_stone_bricks' ]
|
||||
]
|
||||
|
||||
STONECUTTER.forEach(set => {
|
||||
set.forEach(block1 => {
|
||||
set.forEach(block2 => {
|
||||
if( block1 != block2 ){ event.stonecutting(block1, block2) }
|
||||
})
|
||||
})
|
||||
})
|
||||
// #endregion STONECUTTER
|
||||
|
||||
// #region PILLARS
|
||||
const PILLARS = [
|
||||
{ raw: 'ad_astra:moon_stone_bricks', pillar: 'ad_astra:moon_pillar' },
|
||||
{ raw: 'ad_astra:mars_stone_bricks', pillar: 'ad_astra:mars_pillar' },
|
||||
{ raw: 'ad_astra:venus_stone_bricks', pillar: 'ad_astra:venus_pillar' },
|
||||
{ raw: 'ad_astra:mercury_stone_bricks', pillar: 'ad_astra:mercury_pillar' },
|
||||
{ raw: 'ad_astra:glacio_stone_bricks', pillar: 'ad_astra:glacio_pillar' },
|
||||
{ raw: 'ad_astra:permafrost_bricks', pillar: 'ad_astra:permafrost_pillar' },
|
||||
{ raw: 'minecraft:purpur_block', pillar: 'minecraft:purpur_pillar' }
|
||||
{ raw: 'minecraft:polished_deepslate', pillar: 'create:deepslate_pillar' },
|
||||
{ raw: 'create:polished_cut_dripstone', pillar: 'create:dripstone_pillar' },
|
||||
{ raw: 'create:cut_dripstone', pillar: 'create:dripstone_pillar' },
|
||||
{ raw: 'ad_astra:moon_stone_bricks', pillar: 'ad_astra:moon_pillar' },
|
||||
{ raw: 'tfg:rock/pillar_moon_deepslate', pillar: 'tfg:rock/bricks_moon_deepslate' },
|
||||
{ raw: 'ad_astra:mars_stone_bricks', pillar: 'ad_astra:mars_pillar' },
|
||||
{ raw: 'ad_astra:venus_stone_bricks', pillar: 'ad_astra:venus_pillar' },
|
||||
{ raw: 'ad_astra:mercury_stone_bricks', pillar: 'ad_astra:mercury_pillar' },
|
||||
{ raw: 'ad_astra:glacio_stone_bricks', pillar: 'ad_astra:glacio_pillar' },
|
||||
{ raw: 'ad_astra:permafrost_bricks', pillar: 'ad_astra:permafrost_pillar' },
|
||||
{ raw: 'minecraft:purpur_block', pillar: 'minecraft:purpur_pillar' }
|
||||
]
|
||||
|
||||
PILLARS.forEach(x => {
|
||||
console.log(x.pillar)
|
||||
event.shaped(`2x ${x.pillar}`, [
|
||||
'A',
|
||||
'A'
|
||||
|
|
@ -712,74 +848,19 @@ function registerTFGRockRecipes(event) {
|
|||
event.stonecutting(x.pillar, x.raw).id(`${x.raw}_to_${x.pillar}`.replace(/:/g, '_'))
|
||||
})
|
||||
|
||||
// pillar shaped recipes
|
||||
event.shaped(
|
||||
Item.of('create:deepslate_pillar', 2), [ ' A ', ' A ' ], { A: 'minecraft:polished_deepslate' }
|
||||
)
|
||||
// horizontal shaped recipes
|
||||
event.shaped(
|
||||
Item.of('create:layered_deepslate', 2), [ 'AA ' ], { A: 'minecraft:polished_deepslate' }
|
||||
)
|
||||
|
||||
event.shaped(
|
||||
Item.of('create:dripstone_pillar', 2), [ ' A ', ' A ' ], { A: 'create:polished_cut_dripstone' }
|
||||
)
|
||||
event.shaped(
|
||||
Item.of('create:layered_dripstone', 2), [ 'AA ' ], { A: 'create:polished_cut_dripstone' }
|
||||
)
|
||||
|
||||
event.shaped(
|
||||
Item.of('create:dripstone_pillar', 2), [ ' A ', ' A ' ], { A: 'create:polished_cut_dripstone' }
|
||||
)
|
||||
event.shaped(
|
||||
Item.of('create:layered_dripstone', 2), [ 'AA ' ], { A: 'create:polished_cut_dripstone' }
|
||||
)
|
||||
|
||||
event.shaped(
|
||||
Item.of('tfg:rock/pillar_moon_deepslate', 2), [ ' A ', ' A ' ], { A: 'tfg:rock/bricks_moon_deepslate' }
|
||||
Item.of('create:layered_dripstone', 2), [ 'AA ' ], { A: 'create:cut_dripstone' }
|
||||
)
|
||||
// #endregion PILLARS
|
||||
|
||||
// #region MACERATOR
|
||||
const MACERATOR = [
|
||||
{ block: 'minecraft:deepslate', dust: 'gtceu:deepslate_dust' },
|
||||
{ block: 'minecraft:dripstone_block', dust: 'tfg:dripstone_dust' },
|
||||
{ block: 'ad_astra:moon_stone', dust: 'tfg:moon_stone_dust' },
|
||||
{ block: 'ad_astra:moon_deepslate', dust: 'tfg:moon_deepslate_dust' },
|
||||
{ block: 'ad_astra:mars_stone', dust: 'tfg:mars_stone_dust' },
|
||||
{ block: 'ad_astra:venus_stone', dust: 'tfg:venus_stone_dust' },
|
||||
{ block: 'ad_astra:mercury_stone', dust: 'tfg:mercury_stone_dust' },
|
||||
{ block: 'ad_astra:glacio_stone', dust: 'tfg:glacio_stone_dust' },
|
||||
{ block: 'ad_astra:permafrost', dust: 'gtceu:ice_dust' },
|
||||
{ block: 'ae2:sky_stone', dust: 'ae2:sky_dust' }
|
||||
]
|
||||
|
||||
MACERATOR.forEach(x => {
|
||||
event.recipes.gtceu.macerator(`macerate_${x.block}`.replace(/:/g, '_'))
|
||||
.itemInputs(x.block)
|
||||
.itemOutputs(x.dust)
|
||||
.duration(150)
|
||||
.EUt(2)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
})
|
||||
|
||||
//#region Crackrack/netherrack dust compat
|
||||
event.recipes.gtceu.macerator(`raw_crackrack_to_dust`)
|
||||
.itemInputs('beneath:crackrack')
|
||||
.itemOutputs('gtceu:netherrack_dust')
|
||||
.duration(150)
|
||||
.EUt(2)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
|
||||
event.recipes.gtceu.macerator('crackrack_cobble_to_dust')
|
||||
.itemInputs('tfg:rock/cobble_crackrack')
|
||||
.itemOutputs('gtceu:netherrack_dust')
|
||||
.duration(150)
|
||||
.EUt(2)
|
||||
.category(GTRecipeCategories.MACERATOR_RECYCLING)
|
||||
//#endregion
|
||||
|
||||
// #endregion MACERATOR
|
||||
|
||||
// #region ROCK_DUPING (Breaker)
|
||||
const ROCK_DUPING = [
|
||||
{ block: 'minecraft:deepslate', dimension: null },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue