added loose stone, bricks, and recipes for all the different ad astra stone types

This commit is contained in:
Pyritie 2025-05-05 20:08:42 +01:00
parent 2c0d2cbd24
commit 0256ece0dd
45 changed files with 1272 additions and 76 deletions

View file

@ -29,8 +29,12 @@ const registerAdAstraItemTags = (event) => {
event.removeAllTagsFrom(item)
event.add('c:hidden_from_recipe_viewers', item)
})
event.add('forge:cobblestone', 'ad_astra:moon_cobblestone')
event.add('forge:cobblestone', 'ad_astra:mars_cobblestone')
event.add('forge:cobblestone', 'ad_astra:venus_cobblestone')
event.add('forge:cobblestone', 'ad_astra:mercury_cobblestone')
event.add('forge:cobblestone', 'ad_astra:glacio_cobblestone')
}
const registerAdAstraBlockTags = (event) => {
@ -93,11 +97,44 @@ const registerAdAstraBlockTags = (event) => {
event.add('ad_astra:moon_stone_replaceables', 'tfc:rock/hardened/diorite')
event.add('tfc:can_landslide', 'ad_astra:moon_sand')
event.add('tfc:can_landslide', 'ad_astra:mars_sand')
event.add('tfc:can_landslide', 'ad_astra:venus_sand')
event.add('tfc:can_landslide', 'ad_astra:moon_cobblestone')
event.add('tfc:can_landslide', 'ad_astra:moon_cobblestone_slab')
event.add('tfc:can_landslide', 'ad_astra:mars_cobblestone')
event.add('tfc:can_landslide', 'ad_astra:venus_cobblestone')
event.add('tfc:can_landslide', 'ad_astra:mercury_cobblestone')
event.add('tfc:can_landslide', 'ad_astra:glacio_cobblestone')
event.add('forge:cobblestone', 'ad_astra:moon_cobblestone')
event.add('tfc:can_start_collapse', 'ad_astra:moon_cobblestone_slab')
event.add('tfg:rock_slabs', 'ad_astra:moon_cobblestone_slab')
event.add('forge:cobblestone', 'ad_astra:mars_cobblestone')
event.add('forge:cobblestone', 'ad_astra:venus_cobblestone')
event.add('forge:cobblestone', 'ad_astra:mercury_cobblestone')
event.add('forge:cobblestone', 'ad_astra:glacio_cobblestone')
event.add('tfc:can_landslide', 'ad_astra:moon_cobblestone_slab')
event.add('tfc:can_landslide', 'ad_astra:mars_cobblestone_slab')
event.add('tfc:can_landslide', 'ad_astra:venus_cobblestone_slab')
event.add('tfc:can_landslide', 'ad_astra:mercury_cobblestone_slab')
event.add('tfc:can_landslide', 'ad_astra:glacio_cobblestone_slab')
event.add('tfc:can_landslide', 'ad_astra:moon_cobblestone_stairs')
event.add('tfc:can_landslide', 'ad_astra:mars_cobblestone_stairs')
event.add('tfc:can_landslide', 'ad_astra:venus_cobblestone_stairs')
event.add('tfc:can_landslide', 'ad_astra:mercury_cobblestone_stairs')
event.add('tfc:can_landslide', 'ad_astra:glacio_cobblestone_stairs')
event.add('tfg:rock_stairs', 'ad_astra:moon_stone_stairs')
event.add('tfg:rock_stairs', 'ad_astra:mars_stone_stairs')
event.add('tfg:rock_stairs', 'ad_astra:venus_stone_stairs')
event.add('tfg:rock_stairs', 'ad_astra:mercury_stone_stairs')
event.add('tfg:rock_stairs', 'ad_astra:glacio_stone_stairs')
event.add('tfg:rock_slabs', 'ad_astra:moon_stone_slab')
event.add('tfg:rock_slabs', 'ad_astra:mars_stone_slab')
event.add('tfg:rock_slabs', 'ad_astra:venus_stone_slab')
event.add('tfg:rock_slabs', 'ad_astra:mercury_stone_slab')
event.add('tfg:rock_slabs', 'ad_astra:glacio_stone_slab')
}
const registerAdAstraBiomeTags = (event) => {

View file

@ -43,7 +43,12 @@ const registerGTCEUItemTags = (event) => {
event.add('tfg:stone_dusts', 'gtceu:deepslate_dust')
event.add('tfg:stone_dusts', 'gtceu:blackstone_dust')
event.add('tfg:stone_dusts', 'tfg:dripstone_dust')
event.add('tfg:stone_dusts', 'tfg:moon_stone_dust')
event.add('tfg:stone_dusts', 'tfg:moon_deepslate_dust')
event.add('tfg:stone_dusts', 'tfg:mars_stone_dust')
event.add('tfg:stone_dusts', 'tfg:venus_stone_dust')
event.add('tfg:stone_dusts', 'tfg:mercury_stone_dust')
event.add('tfg:stone_dusts', 'tfg:glacio_stone_dust')
event.add('tfg:stone_dusts', 'gtceu:stone_dust')
//#endregion

View file

@ -22,16 +22,30 @@ function registerTFGCollapseRecipes(event) {
// #region Space
event.recipes.tfc.collapse('ad_astra:moon_cobblestone', 'ad_astra:moon_stone')
event.recipes.tfc.collapse('ad_astra:moon_cobblestone', 'tfg:rock/hardened_moon_stone')
event.recipes.tfc.collapse('ad_astra:moon_deepslate', 'ad_astra:moon_deepslate')
event.recipes.tfc.collapse('ad_astra:moon_deepslate', 'tfg:rock/hardened_moon_deepslate')
event.recipes.tfc.landslide('ad_astra:moon_cobblestone', 'ad_astra:moon_cobblestone')
event.recipes.tfc.landslide('ad_astra:moon_sand', 'ad_astra:moon_sand')
event.recipes.tfc.collapse('ad_astra:moon_deepslate', 'ad_astra:moon_deepslate')
event.recipes.tfc.collapse('ad_astra:moon_deepslate', 'tfg:rock/hardened_moon_deepslate')
event.recipes.tfc.collapse('ad_astra:mars_cobblestone', 'ad_astra:mars_stone')
event.recipes.tfc.collapse('ad_astra:mars_cobblestone', 'tfg:rock/hardened_mars_stone')
event.recipes.tfc.landslide('ad_astra:mars_cobblestone', 'ad_astra:mars_cobblestone')
event.recipes.tfc.landslide('ad_astra:mars_sand', 'ad_astra:mars_sand')
event.recipes.tfc.collapse('ad_astra:venus_cobblestone', 'ad_astra:venus_stone')
event.recipes.tfc.collapse('ad_astra:venus_cobblestone', 'tfg:rock/hardened_venus_stone')
event.recipes.tfc.landslide('ad_astra:venus_cobblestone', 'ad_astra:venus_cobblestone')
event.recipes.tfc.landslide('ad_astra:venus_sand', 'ad_astra:venus_sand')
event.recipes.tfc.collapse('ad_astra:mercury_cobblestone', 'ad_astra:mercury_stone')
event.recipes.tfc.collapse('ad_astra:mercury_cobblestone', 'tfg:rock/hardened_mercury_stone')
event.recipes.tfc.landslide('ad_astra:mercury_cobblestone', 'ad_astra:mercury_cobblestone')
event.recipes.tfc.landslide('ad_astra:mercury_sand', 'ad_astra:mercury_sand')
event.recipes.tfc.collapse('ad_astra:glacio_cobblestone', 'ad_astra:glacio_stone')
event.recipes.tfc.collapse('ad_astra:glacio_cobblestone', 'tfg:rock/hardened_glacio_stone')
event.recipes.tfc.landslide('ad_astra:glacio_cobblestone', 'ad_astra:glacio_cobblestone')
event.recipes.tfc.landslide('ad_astra:glacio_sand', 'ad_astra:glacio_sand')
// #endregion
}

View file

@ -12,7 +12,17 @@ function registerTFGRockRecipes(event) {
{ loose: 'tfg:brick/deepslate', block: '4x minecraft:deepslate_bricks' },
{ loose: 'tfg:loose/dripstone', block: 'minecraft:dripstone_block' },
{ loose: 'tfg:loose/moon_stone', block: 'ad_astra:moon_cobblestone' },
{ loose: 'tfg:loose/mars_stone', block: 'ad_astra:mars_cobblestone' }
{ loose: 'tfg:brick/moon_stone', block: 'ad_astra:moon_stone_bricks' },
{ loose: 'tfg:loose/moon_deepslate', block: 'ad_astra:moon_deepslate' },
{ loose: 'tfg:loose/mars_stone', block: 'ad_astra:mars_cobblestone' },
{ loose: 'tfg:brick/mars_stone', block: 'ad_astra:mars_stone_bricks' },
{ loose: 'tfg:loose/venus_stone', block: 'ad_astra:venus_cobblestone' },
{ loose: 'tfg:brick/venus_stone', block: 'ad_astra:venus_stone_bricks' },
{ loose: 'tfg:loose/mercury_stone', block: 'ad_astra:mercury_cobblestone' },
{ loose: 'tfg:brick/mercury_stone', block: 'ad_astra:mercury_stone_bricks' },
{ loose: 'tfg:loose/glacio_stone', block: 'ad_astra:glacio_cobblestone' },
{ loose: 'tfg:brick/glacio_stone', block: 'ad_astra:glacio_stone_bricks' },
{ loose: 'tfg:loose/permafrost', block: 'ad_astra:permafrost' }
]
GLUEING_TOGETHER.forEach(x => {
@ -39,7 +49,11 @@ function registerTFGRockRecipes(event) {
const LOOSE_TO_BRICKS = [
{ loose: 'tfg:loose/deepslate', brick: 'tfg:brick/deepslate' },
{ loose: 'tfg:loose/moon_stone', brick: 'tfg:brick/moon_stone' },
{ loose: 'tfg:loose/mars_stone', brick: 'tfg:brick/mars_stone' }
{ loose: 'tfg:loose/mars_stone', brick: 'tfg:brick/mars_stone' },
{ loose: 'tfg:loose/venus_stone', brick: 'tfg:brick/venus_stone' },
{ loose: 'tfg:loose/mercury_stone', brick: 'tfg:brick/mercury_stone' },
{ loose: 'tfg:loose/glacio_stone', brick: 'tfg:brick/glacio_stone' },
{ loose: 'tfg:loose/permafrost', brick: 'tfg:brick/permafrost' }
]
LOOSE_TO_BRICKS.forEach(x => {
@ -63,7 +77,22 @@ function registerTFGRockRecipes(event) {
{ raw: 'minecraft:deepslate_tiles', polished: 'minecraft:chiseled_deepslate' },
{ raw: 'minecraft:polished_blackstone_bricks', polished: 'minecraft:chiseled_polished_blackstone' },
{ raw: 'minecraft:basalt', polished: 'minecraft:smooth_basalt' },
{ raw: 'minecraft:smooth_basalt', polished: 'minecraft:polished_basalt' }
{ raw: 'minecraft:smooth_basalt', polished: 'minecraft:polished_basalt' },
{ raw: 'ad_astra:moon_stone', polished: 'ad_astra:polished_moon_stone' },
{ raw: 'ad_astra:moon_stone_bricks', polished: 'ad_astra:chiseled_moon_stone_bricks' },
{ raw: 'ad_astra:mars_stone', polished: 'ad_astra:polished_mars_stone' },
{ raw: 'ad_astra:mars_stone_bricks', polished: 'ad_astra:chiseled_mars_stone_bricks' },
{ raw: 'ad_astra:venus_stone', polished: 'ad_astra:polished_venus_stone' },
{ raw: 'ad_astra:venus_stone_bricks', polished: 'ad_astra:chiseled_venus_stone_bricks' },
{ raw: 'ad_astra:venus_sandstone', polished: 'ad_astra:venus_sandstone_bricks' },
{ raw: 'ad_astra:mercury_stone', polished: 'ad_astra:polished_mercury_stone' },
{ raw: 'ad_astra:mercury_stone_bricks', polished: 'ad_astra:chiseled_mercury_stone_bricks' },
{ raw: 'ad_astra:glacio_stone', polished: 'ad_astra:polished_glacio_stone' },
{ raw: 'ad_astra:glacio_stone_bricks', polished: 'ad_astra:chiseled_glacio_stone_bricks' },
{ raw: 'ad_astra:conglomerate', polished: 'ad_astra:polished_conglomerate' },
{ raw: 'ad_astra:permafrost', polished: 'ad_astra:polished_permafrost' },
{ raw: 'ad_astra:permafrost_bricks', polished: 'ad_astra:chiseled_permafrost_bricks' },
{ raw: 'ad_astra:chiseled_permafrost_bricks', polished: 'ad_astra:permafrost_tiles' }
]
RAW_TO_POLISHED.forEach(x => {
@ -91,7 +120,14 @@ function registerTFGRockRecipes(event) {
const CRACKING = [
{ raw: 'minecraft:deepslate_bricks', cracked: 'minecraft:cracked_deepslate_bricks' },
{ raw: 'minecraft:deepslate_tiles', cracked: 'minecraft:cracked_deepslate_tiles' }
{ raw: 'minecraft:deepslate_tiles', cracked: 'minecraft:cracked_deepslate_tiles' },
{ 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: 'ad_astra:venus_sandstone_bricks', cracked: 'ad_astra:cracked_venus_sandstone_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' }
]
CRACKING.forEach(x => {
@ -119,7 +155,21 @@ function registerTFGRockRecipes(event) {
{ raw: 'tfg:rock/hardened_moon_stone', hammered: 'ad_astra:moon_cobblestone' },
{ raw: 'ad_astra:moon_cobblestone', hammered: 'ad_astra:moon_sand' },
{ raw: 'ad_astra:moon_deepslate', hammered: 'ad_astra:moon_sand' },
{ raw: 'tfg:rock/hardened_moon_deepslate', hammered: 'ad_astra:moon_sand' }
{ raw: 'tfg:rock/hardened_moon_deepslate', hammered: 'ad_astra:moon_sand' },
{ raw: 'ad_astra:mars_stone', hammered: 'ad_astra:mars_cobblestone' },
{ raw: 'tfg:rock/hardened_mars_stone', hammered: 'ad_astra:mars_cobblestone' },
{ raw: 'ad_astra:mars_cobblestone', hammered: 'ad_astra:mars_sand' },
{ raw: 'ad_astra:venus_stone', hammered: 'ad_astra:venus_cobblestone' },
{ raw: 'tfg:rock/hardened_venus_stone', hammered: 'ad_astra:venus_cobblestone' },
{ raw: 'ad_astra:venus_cobblestone', hammered: 'ad_astra:venus_sand' },,
{ raw: 'ad_astra:mercury_stone', hammered: 'ad_astra:mercury_cobblestone' },
{ raw: 'tfg:rock/hardened_mercury_stone', hammered: 'ad_astra:mercury_cobblestone' },
{ raw: 'ad_astra:mercury_cobblestone', hammered: 'tfc:sand/red' },
{ raw: 'ad_astra:glacio_stone', hammered: 'ad_astra:glacio_cobblestone' },
{ raw: 'tfg:rock/hardened_glacio_stone', hammered: 'ad_astra:glacio_cobblestone' },
{ raw: 'ad_astra:glacio_cobblestone', hammered: 'tfc:sand/white' },
{ raw: 'ad_astra:conglomerate', hammered: 'tfc:rock/gravel/conglomerate' },
{ raw: 'ad_astra:permafrost', hammered: 'gtceu:ice_dust' }
]
HAMMERING.forEach(x => {
@ -133,34 +183,39 @@ function registerTFGRockRecipes(event) {
// slabs, stairs, walls
const CUTTER = [
// #region Nether
{
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'
loose: 'tfg:loose/deepslate',
stonecutting: false
},
{
raw: 'minecraft:polished_deepslate',
stair: 'minecraft:polished_deepslate_stairs',
slab: 'minecraft:polished_deepslate_slab',
wall: 'minecraft:polished_deepslate_wall',
dust: 'gtceu:deepslate_dust'
dust: 'gtceu:deepslate_dust',
stonecutting: false
},
{
raw: 'minecraft:deepslate_bricks',
stair: 'minecraft:deepslate_brick_stairs',
slab: 'minecraft:deepslate_brick_slab',
wall: 'minecraft:deepslate_brick_wall',
dust: 'gtceu:deepslate_dust'
dust: 'gtceu:deepslate_dust',
stonecutting: false
},
{
raw: 'minecraft:deepslate_tiles',
stair: 'minecraft:deepslate_tile_stairs',
slab: 'minecraft:deepslate_tile_slab',
wall: 'minecraft:deepslate_tile_wall',
dust: 'gtceu:deepslate_dust'
dust: 'gtceu:deepslate_dust',
stonecutting: false
},
{
raw: 'minecraft:blackstone',
@ -168,28 +223,253 @@ function registerTFGRockRecipes(event) {
slab: 'minecraft:blackstone_slab',
wall: 'minecraft:blackstone_wall',
dust: 'gtceu:blackstone_dust',
loose: 'beneath:blackstone_pebble'
loose: 'beneath:blackstone_pebble',
stonecutting: false
},
{
raw: 'minecraft:polished_blackstone',
stair: 'minecraft:polished_blackstone_stairs',
slab: 'minecraft:polished_blackstone_slab',
wall: 'minecraft:polished_blackstone_wall',
dust: 'gtceu:blackstone_dust'
dust: 'gtceu:blackstone_dust',
stonecutting: false
},
{
raw: 'minecraft:polished_blackstone_bricks',
stair: 'minecraft:polished_blackstone_brick_stairs',
slab: 'minecraft:polished_blackstone_brick_slab',
wall: 'minecraft:polished_blackstone_brick_wall',
dust: 'gtceu:blackstone_dust'
}
dust: 'gtceu:blackstone_dust',
stonecutting: false
},
// #endregion
// #region Space
{
raw: 'ad_astra:moon_cobblestone',
stair: 'ad_astra:moon_cobblestone_stairs',
slab: 'ad_astra:moon_cobblestone_slab',
dust: 'tfg:moon_stone_dust',
loose: 'tfg:loose/moon_stone',
stonecutting: true
},
{
raw: 'ad_astra:mars_cobblestone',
stair: 'ad_astra:mars_cobblestone_stairs',
slab: 'ad_astra:mars_cobblestone_slab',
dust: 'tfg:mars_stone_dust',
loose: 'tfg:loose/mars_stone',
stonecutting: true
},
{
raw: 'ad_astra:venus_cobblestone',
stair: 'ad_astra:venus_cobblestone_stairs',
slab: 'ad_astra:venus_cobblestone_slab',
dust: 'tfg:venus_stone_dust',
loose: 'tfg:loose/venus_stone',
stonecutting: true
},
{
raw: 'ad_astra:mercury_cobblestone',
stair: 'ad_astra:mercury_cobblestone_stairs',
slab: 'ad_astra:mercury_cobblestone_slab',
dust: 'tfg:mercury_stone_dust',
loose: 'tfg:loose/mercury_stone',
stonecutting: true
},
{
raw: 'ad_astra:glacio_cobblestone',
stair: 'ad_astra:glacio_cobblestone_stairs',
slab: 'ad_astra:glacio_cobblestone_slab',
dust: 'tfg:glacio_stone_dust',
loose: 'tfg:loose/glacio_stone',
stonecutting: true
},
{
raw: 'ad_astra:moon_stone',
stair: 'ad_astra:moon_stone_stairs',
slab: 'ad_astra:moon_stone_slab',
dust: 'tfg:moon_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:mars_stone',
stair: 'ad_astra:mars_stone_stairs',
slab: 'ad_astra:mars_stone_slab',
dust: 'tfg:mars_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:venus_stone',
stair: 'ad_astra:venus_stone_stairs',
slab: 'ad_astra:venus_stone_slab',
dust: 'tfg:venus_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:mercury_stone',
stair: 'ad_astra:mercury_stone_stairs',
slab: 'ad_astra:mercury_stone_slab',
dust: 'tfg:mercury_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:glacio_stone',
stair: 'ad_astra:glacio_stone_stairs',
slab: 'ad_astra:glacio_stone_slab',
dust: 'tfg:glacio_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:venus_sandstone_bricks',
stair: 'ad_astra:venus_sandstone_brick_stairs',
slab: 'ad_astra:venus_sandstone_brick_slab',
dust: '4x gtceu:venus_sand',
stonecutting: true
},
{
raw: 'ad_astra:moon_stone_bricks',
stair: 'ad_astra:moon_stone_brick_stairs',
slab: 'ad_astra:moon_stone_brick_slab',
wall: 'ad_astra:moon_stone_brick_wall',
dust: 'tfg:moon_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:mars_stone_bricks',
stair: 'ad_astra:mars_stone_brick_stairs',
slab: 'ad_astra:mars_stone_brick_slab',
wall: 'ad_astra:mars_stone_brick_wall',
dust: 'tfg:mars_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:venus_stone_bricks',
stair: 'ad_astra:venus_stone_brick_stairs',
slab: 'ad_astra:venus_stone_brick_slab',
wall: 'ad_astra:venus_stone_brick_wall',
dust: 'tfg:venus_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:mercury_stone_bricks',
stair: 'ad_astra:mercury_stone_brick_stairs',
slab: 'ad_astra:mercury_stone_brick_slab',
wall: 'ad_astra:mercury_stone_brick_wall',
dust: 'tfg:mercury_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:glacio_stone_bricks',
stair: 'ad_astra:glacio_stone_brick_stairs',
slab: 'ad_astra:glacio_stone_brick_slab',
wall: 'ad_astra:glacio_stone_brick_wall',
dust: 'tfg:glacio_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:permafrost_bricks',
stair: 'ad_astra:permafrost_brick_stairs',
slab: 'ad_astra:permafrost_brick_slab',
wall: 'ad_astra:permafrost_brick_wall',
dust: 'gtceu:ice_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_moon_stone_bricks',
stair: 'ad_astra:chiseled_moon_stone_stairs',
slab: 'ad_astra:chiseled_moon_stone_slab',
dust: 'tfg:moon_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_mars_stone_bricks',
stair: 'ad_astra:chiseled_mars_stone_stairs',
slab: 'ad_astra:chiseled_mars_stone_slab',
dust: 'tfg:mars_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_venus_stone_bricks',
stair: 'ad_astra:chiseled_venus_stone_stairs',
slab: 'ad_astra:chiseled_venus_stone_slab',
dust: 'tfg:venus_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_mercury_stone_bricks',
stair: 'ad_astra:chiseled_mercury_stone_stairs',
slab: 'ad_astra:chiseled_mercury_stone_slab',
dust: 'tfg:mercury_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_glacio_stone_bricks',
stair: 'ad_astra:chiseled_glacio_stone_stairs',
slab: 'ad_astra:chiseled_glacio_stone_slab',
dust: 'tfg:glacio_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:chiseled_permafrost_bricks',
stair: 'ad_astra:chiseled_permafrost_brick_stairs',
slab: 'ad_astra:chiseled_permafrost_brick_slab',
dust: 'gtceu:ice_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_moon_stone',
stair: 'ad_astra:polished_moon_stone_stairs',
slab: 'ad_astra:polished_moon_stone_slab',
dust: 'tfg:moon_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_mars_stone',
stair: 'ad_astra:polished_mars_stone_stairs',
slab: 'ad_astra:polished_mars_stone_slab',
dust: 'tfg:mars_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_venus_stone',
stair: 'ad_astra:polished_venus_stone_stairs',
slab: 'ad_astra:polished_venus_stone_slab',
dust: 'tfg:venus_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_mercury_stone',
stair: 'ad_astra:polished_mercury_stone_stairs',
slab: 'ad_astra:polished_mercury_stone_slab',
dust: 'tfg:mercury_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_glacio_stone',
stair: 'ad_astra:polished_glacio_stone_stairs',
slab: 'ad_astra:polished_glacio_stone_slab',
dust: 'tfg:glacio_stone_dust',
stonecutting: true
},
{
raw: 'ad_astra:polished_permafrost',
stair: 'ad_astra:polished_permafrost_stairs',
slab: 'ad_astra:polished_permafrost_slab',
dust: 'gtceu:ice_dust',
stonecutting: true
},
// #endregion
]
CUTTER.forEach(x => {
if ("stair" in x) {
console.log(`STAIRS: ${x.raw} -> ${x.stair}`)
event.recipes.tfc.chisel(x.stair, x.raw, 'stair')
//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, '_'))
}
event.recipes.gtceu.macerator(`macerate_${x.stair}`.replace(/:/g, '_'))
.itemInputs(x.stair)
@ -203,8 +483,13 @@ function registerTFGRockRecipes(event) {
}
}
if ("slab" in x) {
console.log(`SLAB: ${x.raw} -> ${x.stair}`)
event.recipes.tfc.chisel(x.slab, x.raw, 'slab')
//event.stonecutting(`2x ${x.slab}`, x.raw).id(`${x.raw}_to_${x.slab}`.replace(/:/g, '_'))
if (x.stonecutting) {
event.stonecutting(`2x ${x.slab}`, x.raw).id(`${x.raw}_to_${x.slab}`.replace(/:/g, '_'))
}
event.recipes.gtceu.macerator(`macerate_${x.slab}`.replace(/:/g, '_'))
.itemInputs(`2x ${x.slab}`)
@ -219,7 +504,10 @@ function registerTFGRockRecipes(event) {
}
if ("wall" in x) {
event.recipes.tfc.chisel(x.slab, x.raw, 'smooth')
//event.stonecutting(x.wall, x.raw).id(`${x.raw}_to_${x.wall}`.replace(/:/g, '_'))
if (x.stonecutting) {
event.stonecutting(x.wall, x.raw).id(`${x.raw}_to_${x.wall}`.replace(/:/g, '_'))
}
event.recipes.gtceu.macerator(`macerate_${x.wall}`.replace(/:/g, '_'))
.itemInputs(x.wall)
@ -234,9 +522,39 @@ function registerTFGRockRecipes(event) {
}
})
// pillars
const PILLARS = [
{ raw: 'ad_astra:moon_stone', pillar: 'ad_astra:moon_pillar' },
{ raw: 'ad_astra:mars_stone', pillar: 'ad_astra:mars_pillar' },
{ raw: 'ad_astra:venus_stone', pillar: 'ad_astra:venus_pillar' },
{ raw: 'ad_astra:mercury_stone', pillar: 'ad_astra:mercury_pillar' },
{ raw: 'ad_astra:glacio_stone', pillar: 'ad_astra:glacio_pillar' },
{ raw: 'ad_astra:permafrost', pillar: 'ad_astra:permafrost_pillar' }
]
PILLARS.forEach(x => {
event.shaped(`2x ${x.pillar}`, [
'A',
'A'
], {
A: x.raw
})
event.stonecutting(x.pillar, x.raw).id(`${x.raw}_to_${x.pillar}`.replace(/:/g, '_'))
})
// macerating
const MACERATOR = [
{ block: 'minecraft:deepslate', dust: 'gtceu:deepslate_dust' },
{ block: 'minecraft:dripstone_block', dust: 'tfg:dripstone_dust' }
{ block: 'minecraft:dripstone_block', dust: 'tfg:dripstone_dust' },
{ block: 'ad_astra:moon_stone', dust: 'tfg:moon_stone_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' },
]
MACERATOR.forEach(x => {
@ -279,12 +597,42 @@ function registerTFGRockRecipes(event) {
.EUt(7)
.dimension('ad_astra:moon')
event.recipes.gtceu.rock_breaker('tfg:glacio_stone')
.notConsumable('ad_astra:glacio_stone')
.itemOutputs('ad_astra:glacio_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:moon')
event.recipes.gtceu.rock_breaker('tfg:mars_stone')
.notConsumable('ad_astra:mars_stone')
.itemOutputs('ad_astra:mars_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:mars')
event.recipes.gtceu.rock_breaker('tfg:venus_stone')
.notConsumable('ad_astra:venus_stone')
.itemOutputs('ad_astra:venus_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:venus')
event.recipes.gtceu.rock_breaker('tfg:mercury_stone')
.notConsumable('ad_astra:mercury_stone')
.itemOutputs('ad_astra:mercury_stone')
.duration(16)
.EUt(7)
.dimension('ad_astra:mercury')
// #endregion
// #region sandstone
event.recipes.gtceu.compressor('tfg:venus_sandstone')
.itemInputs('4x ad_astra:venus_sand')
.itemOutputs('ad_astra:venus_sandstone')
.duration(40*20)
.EUt(2)
// #endregion
}