* geology * starting some loot table stuff * more stuff * swap some rocks * refactor * phew * drive-by fix * all done I think * remove sylvite * oh yeah baby it's all coming together * cleaned up some lines that didn't do anything, added more comments, removed log spam * blah blah * fix drying mat * fix ladders * tfc, beneath, and moon stuff done...? this is gonna take 5ever * a * some sand stuff, more stone types * wrong way around * unifying various brick block recipes * remove shaped create deco brick recipes * some progress on block creation * we got into the create world screen! * getting somewhere * Reloaded with no KubeJS errors! * new assets * I thiiiink that's about everything * fix some stonecutting * recipe declared but never used
72 lines
No EOL
3.2 KiB
JavaScript
72 lines
No EOL
3.2 KiB
JavaScript
// priority: 0
|
|
"use strict";
|
|
|
|
/**
|
|
* @param {Internal.RecipesEventJS} event
|
|
*/
|
|
function registerTFGCollapseRecipes(event) {
|
|
|
|
// Rocks
|
|
for (let [rockId, rock] of Object.entries(global.BIG_ROCK_TABLE)) {
|
|
|
|
if (rock.cobble != null) {
|
|
if (rock.raw != null) {
|
|
event.recipes.tfc.collapse(rock.cobble.block, rock.raw.block);
|
|
}
|
|
if (rock.hardened != null) {
|
|
event.recipes.tfc.collapse(rock.cobble.block, rock.hardened);
|
|
}
|
|
|
|
event.recipes.tfc.collapse(rock.cobble.block, `#forge:ores_in_ground/${rockId}`)
|
|
|
|
event.recipes.tfc.landslide(rock.cobble.block, rock.cobble.block);
|
|
|
|
if (rock.cobble.mossy != null) {
|
|
event.recipes.tfc.landslide(rock.cobble.mossy.block, rock.cobble.mossy.block);
|
|
}
|
|
}
|
|
|
|
if (rock.gravel != null) {
|
|
event.recipes.tfc.landslide(rock.gravel, rock.gravel);
|
|
}
|
|
}
|
|
|
|
event.recipes.tfc.collapse('#tfg:rock_slabs').id('tfg:collapse/rock_slabs')
|
|
event.recipes.tfc.collapse('#tfg:rock_stairs').id('tfg:collapse/rock_stairs')
|
|
event.recipes.tfc.collapse('#tfg:rock_walls').id('tfg:collapse/rock_walls')
|
|
|
|
// Nether
|
|
event.recipes.tfc.collapse('tfc:rock/cobble/basalt', 'minecraft:basalt')
|
|
event.recipes.tfc.landslide('tfg:ash_pile', 'tfg:ash_pile')
|
|
|
|
// Space
|
|
event.recipes.tfc.landslide('ad_astra:moon_sand', 'ad_astra:moon_sand')
|
|
event.recipes.tfc.landslide('ad_astra:mars_sand', 'ad_astra:mars_sand')
|
|
event.recipes.tfc.landslide('ad_astra:venus_sand', 'ad_astra:venus_sand')
|
|
event.recipes.tfc.landslide('minecraft:red_sand', 'minecraft:red_sand')
|
|
|
|
event.recipes.tfc.landslide('tfg:grass/mars_dirt', 'tfg:grass/mars_dirt')
|
|
event.recipes.tfc.landslide('tfg:grass/mars_dirt', 'tfg:grass/amber_mycelium')
|
|
event.recipes.tfc.landslide('tfg:grass/mars_dirt', 'tfg:grass/rusticus_mycelium')
|
|
event.recipes.tfc.landslide('tfg:grass/mars_dirt', 'tfg:grass/sangnum_mycelium')
|
|
event.recipes.tfc.landslide('tfg:grass/mars_dirt', 'tfg:grass/mars_farmland')
|
|
event.recipes.tfc.landslide('tfg:grass/mars_dirt', 'tfg:grass/mars_path')
|
|
|
|
event.recipes.tfc.landslide('tfg:grass/mars_clay_dirt', 'tfg:grass/mars_clay_dirt')
|
|
event.recipes.tfc.landslide('tfg:grass/mars_clay_dirt', 'tfg:grass/amber_clay_mycelium')
|
|
event.recipes.tfc.landslide('tfg:grass/mars_clay_dirt', 'tfg:grass/rusticus_clay_mycelium')
|
|
event.recipes.tfc.landslide('tfg:grass/mars_clay_dirt', 'tfg:grass/sangnum_clay_mycelium')
|
|
event.recipes.tfc.landslide('tfc:red_kaolin_clay', 'tfg:grass/amber_kaolin_mycelium')
|
|
event.recipes.tfc.landslide('tfc:red_kaolin_clay', 'tfg:grass/rusticus_kaolin_mycelium')
|
|
event.recipes.tfc.landslide('tfc:red_kaolin_clay', 'tfg:grass/sangnum_kaolin_mycelium')
|
|
|
|
event.recipes.tfc.landslide('tfg:sand/fluorapatite/blue', 'tfg:sand/fluorapatite/blue')
|
|
event.recipes.tfc.landslide('tfg:sand/fluorapatite/green', 'tfg:sand/fluorapatite/green')
|
|
event.recipes.tfc.landslide('tfg:sand/fluorapatite/brown', 'tfg:sand/fluorapatite/brown')
|
|
event.recipes.tfc.landslide('tfg:sand/fluorapatite/orange', 'tfg:sand/fluorapatite/orange')
|
|
event.recipes.tfc.landslide('tfg:sand/fluorapatite/white', 'tfg:sand/fluorapatite/white')
|
|
event.recipes.tfc.landslide('tfg:sand/fluorapatite/yellow', 'tfg:sand/fluorapatite/yellow')
|
|
|
|
// Other
|
|
event.recipes.tfc.collapse("#forge:raw_ore_blocks");
|
|
} |