* 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
270 lines
No EOL
5.4 KiB
JavaScript
270 lines
No EOL
5.4 KiB
JavaScript
"use strict";
|
|
|
|
const registerDomumOrnamentumRecipes = (event) => {
|
|
|
|
event.remove({ mod: 'domum_ornamentum', type: 'minecraft:crafting_shaped' })
|
|
event.remove({ mod: 'domum_ornamentum', type: 'minecraft:crafting_shapeless' })
|
|
|
|
//#region Extra Blocks
|
|
event.shaped(Item.of('domum_ornamentum:brick_extra', 5),
|
|
[
|
|
'B B',
|
|
' B ',
|
|
'B B'
|
|
],
|
|
{
|
|
B: 'minecraft:bricks'
|
|
}).id('domum_ornamentum:brick_extra');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:cobblestone_extra', 5),
|
|
[
|
|
'B B',
|
|
' B ',
|
|
'B B'
|
|
],
|
|
{
|
|
B: 'minecraft:cobblestone'
|
|
}).id('domum_ornamentum:cobblestone_extra');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:blue_cobblestone_extra', 8),
|
|
[
|
|
'BBB',
|
|
'BAB',
|
|
'BBB'
|
|
],
|
|
{
|
|
B: 'domum_ornamentum:cobblestone_extra',
|
|
A: '#forge:dyes/blue',
|
|
}).id('domum_ornamentum:blue_cobblestone_extra');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:green_cobblestone_extra', 8),
|
|
[
|
|
'BBB',
|
|
'BAB',
|
|
'BBB'
|
|
],
|
|
{
|
|
B: 'domum_ornamentum:cobblestone_extra',
|
|
A: '#forge:dyes/green',
|
|
}).id('domum_ornamentum:green_cobblestone_extra');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:purple_cobblestone_extra', 8),
|
|
[
|
|
'BBB',
|
|
'BAB',
|
|
'BBB'
|
|
],
|
|
{
|
|
B: 'domum_ornamentum:cobblestone_extra',
|
|
A: '#forge:dyes/purple',
|
|
}).id('domum_ornamentum:purple_cobblestone_extra');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:mossy_cobblestone_extra', 8),
|
|
[
|
|
'BBB',
|
|
'BAB',
|
|
'BBB'
|
|
],
|
|
{
|
|
B: 'domum_ornamentum:cobblestone_extra',
|
|
A: '#tfc:moss',
|
|
}).id('domum_ornamentum:mossy_cobblestone_extra');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:wheat_extra', 5),
|
|
[
|
|
'B B',
|
|
' B ',
|
|
'B B'
|
|
],
|
|
{
|
|
B: 'minecraft:hay_block'
|
|
}).id('domum_ornamentum:wheat_extra');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:architectscutter', 1),
|
|
[
|
|
' E ',
|
|
'ACA',
|
|
'BDB'
|
|
],
|
|
{
|
|
A: '#forge:plates/wrought_iron',
|
|
B: '#tfc:lumber',
|
|
C: '#forge:plates/brass',
|
|
D: '#forge:small_gears/brass',
|
|
E: '#forge:buzz_saw_heads'
|
|
}).id('domum_ornamentum:architectscutter');
|
|
|
|
event.recipes.tfc.damage_inputs_shapeless_crafting(event.recipes.minecraft.crafting_shapeless(
|
|
'4x domum_ornamentum:cactus_extra',
|
|
['tfc:plant/barrel_cactus', '#tfc:saws']))
|
|
.id('domum_ornamentum:cactus_extra');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:green_cactus_extra', 8),
|
|
[
|
|
'AAA',
|
|
'ABA',
|
|
'AAA'
|
|
],
|
|
{
|
|
A: 'domum_ornamentum:cactus_extra',
|
|
B: '#forge:dyes/green'
|
|
}).id('domum_ornamentum:green_cactus_extra');
|
|
|
|
event.shaped('4x domum_ornamentum:paper_extra', [
|
|
'AA',
|
|
'AA'
|
|
], {
|
|
A: '4x #forge:paper'
|
|
}).id('domum_ornamentum:paper_extra');
|
|
|
|
event.shapeless('4x domum_ornamentum:paper_extra', [
|
|
'4x domum_ornamentum:white_paper_extra'
|
|
]).id('domum_ornamentum:paper_extra_decompress');
|
|
|
|
event.shapeless('4x domum_ornamentum:white_paper_extra', [
|
|
'4x domum_ornamentum:paper_extra'
|
|
]).id('domum_ornamentum:white_paper_extra');
|
|
//#endregion
|
|
|
|
//#region Colored Bricks
|
|
global.MINECRAFT_DYE_NAMES.forEach(color => {
|
|
event.shaped(Item.of(`domum_ornamentum:${color}_brick_extra`, 8),
|
|
[
|
|
'AAA',
|
|
'ABA',
|
|
'AAA'
|
|
],
|
|
{
|
|
A: 'domum_ornamentum:brick_extra',
|
|
B: `#forge:dyes/${color}`
|
|
}).id(`domum_ornamentum:${color}_brick_extra`);
|
|
})
|
|
//#endregion
|
|
|
|
//#region Bricks
|
|
//Brown Bricks
|
|
event.shaped(Item.of('domum_ornamentum:brown_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `minecraft:brick`,
|
|
D: '#forge:dyes/brown',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:brown_bricks');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:brown_stone_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `#tfg:stone_brick`,
|
|
D: '#forge:dyes/brown',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:brown_stone_bricks');
|
|
|
|
//Beige Bricks
|
|
event.shaped(Item.of('domum_ornamentum:beige_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `minecraft:brick`,
|
|
D: '#forge:dyes/light_gray',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:beige_bricks');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:beige_stone_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `#tfg:stone_brick`,
|
|
D: '#forge:dyes/light_gray',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:beige_stone_bricks');
|
|
|
|
//Cream Bricks
|
|
event.shaped(Item.of('domum_ornamentum:cream_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `minecraft:brick`,
|
|
D: '#forge:dyes/orange',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:cream_bricks');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:cream_stone_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `#tfg:stone_brick`,
|
|
D: '#forge:dyes/orange',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:cream_stone_bricks');
|
|
|
|
//Roan Bricks
|
|
event.shaped(Item.of('domum_ornamentum:roan_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `minecraft:brick`,
|
|
D: '#forge:dyes/red',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:roan_bricks');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:roan_stone_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `#tfg:stone_brick`,
|
|
D: '#forge:dyes/red',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:roan_stone_bricks');
|
|
|
|
//Sand Bricks
|
|
event.shaped(Item.of('domum_ornamentum:sand_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `minecraft:brick`,
|
|
D: '#forge:dyes/yellow',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:sand_bricks');
|
|
|
|
event.shaped(Item.of('domum_ornamentum:sand_stone_bricks', 4),
|
|
[
|
|
'BMB',
|
|
'MBM',
|
|
'BDB'
|
|
],
|
|
{
|
|
B: `#tfg:stone_brick`,
|
|
D: '#forge:dyes/yellow',
|
|
M: `tfc:mortar`
|
|
}).id('domum_ornamentum:sand_stone_bricks');
|
|
//#endregion
|
|
}; |