1
0
mirror of https://git.fellies.tech/minecraft/fellies.git synced 2021-02-13 10:18:48 +00:00
Fellies/kubejs[copied]/server_scripts/fellies/kubejs/base/recipes/shaped.js
2021-01-28 21:11:47 +01:00

143 lines
5.5 KiB
JavaScript

events.listen('recipes', function (event) {
var recipes = [
shapedRecipe('tetra:core_extractor', ['LXL', 'LCL', 'LXL'], {
L: '#forge:ingots/steel',
X: '#forge:circuits/basic',
C: 'industrialforegoing:fluid_extractor'
}),
shapedRecipe(item.of('minecraft:stick', 16), ['A', 'A'], {
A: '#minecraft:logs'
}),
shapedRecipe('minecraft:hopper', ['ABA', 'ABA', ' A '], {
A: '#forge:ingots/iron',
B: '#minecraft:logs'
}),
shapedRecipe('refinedstorageaddons:wireless_crafting_grid', ['ABA', 'ACA', 'ADA'], {
A: 'refinedstorage:quartz_enriched_iron',
B: 'refinedstorage:range_upgrade',
C: 'refinedstorage:wireless_grid',
D: 'minecraft:crafting_table'
}),
shapedRecipe('quantumstorage:tank', ['CBC', 'BLB', 'CCC'], {
L: 'mekanism:ultimate_fluid_tank',
C: '#forge:ingots/compressed_iron',
B: '#forge:glass_panes'
}),
shapedRecipe('quantumstorage:qsu', ['BBB', 'BLB', 'CCC'], {
L: 'mekanism:ultimate_bin',
C: '#forge:ingots/compressed_iron',
B: '#forge:glass'
}),
shapedRecipe('minecraft:furnace', ['LLL', 'L L', 'LLL'], {
L: '#forge:stone'
}),
shapedRecipe('minecraft:tube_coral_block', ['AA', 'AA'], {
A: 'minecraft:tube_coral_fan'
}),
shapedRecipe('minecraft:brain_coral_block', ['AA', 'AA'], {
A: 'minecraft:brain_coral_fan'
}),
shapedRecipe('minecraft:bubble_coral_block', ['AA', 'AA'], {
A: 'minecraft:bubble_coral_fan'
}),
shapedRecipe('minecraft:fire_coral_block', ['AA', 'AA'], {
A: 'minecraft:fire_coral_fan'
}),
shapedRecipe('minecraft:horn_coral_block', ['AA', 'AA'], {
A: 'minecraft:horn_coral_fan'
}),
shapedRecipe('minecraft:tube_coral_block', ['AA', 'AA'], {
A: 'minecraft:tube_coral'
}),
shapedRecipe('minecraft:brain_coral_block', ['AA', 'AA'], {
A: 'minecraft:brain_coral'
}),
shapedRecipe('minecraft:bubble_coral_block', ['AA', 'AA'], {
A: 'minecraft:bubble_coral'
}),
shapedRecipe('minecraft:fire_coral_block', ['AA', 'AA'], {
A: 'minecraft:fire_coral'
}),
shapedRecipe('minecraft:horn_coral_block', ['AA', 'AA'], {
A: 'minecraft:horn_coral'
}),
shapedRecipe('decorative_blocks:lattice', ['A A', ' ', 'A A'], {
A: '#forge:rods/wooden'
}),
shapedRecipe(item.of('minecraft:ladder', 4), ['A A', 'ABA', 'A A'], {
A: '#forge:rods/wooden',
B: '#minecraft:planks'
}),
shapedRecipe(item.of('engineersdecor:slag_brick_block', 8), ['AAA', 'ABA', 'AAA'], {
A: '#engineersdecor:brick_ingots',
B: '#forge:slag'
}),
shapedRecipe(item.of('bloodmagic:demonwillgauge', 1), [' B ', 'ACA', ' B '], {
A: '#forge:ingots/tin',
B: '#forge:nuggets/tin',
C: '#bloodmagic:crystals/demon'
}),
shapedRecipe(item.of('emendatusenigmatica:steel_ingot', 2), ['AA'], {
A: 'immersiveengineering:ingot_steel'
}),
shapedRecipe(item.of('immersiveengineering:ingot_steel', 2), ['AA'], {
A: 'mekanism:ingot_steel'
}),
shapedRecipe(item.of('mekanism:ingot_steel', 2), ['AA'], {
A: 'emendatusenigmatica:steel_ingot'
}),
shapedRecipe('tetra:combustion_chamber', ['CBC', 'BAB', 'CBC'], {
A: 'mekanism:superheating_element',
B: 'pneumaticcraft:heat_sink',
C: 'mekanism:ultimate_thermodynamic_conductor'
}),
// Remove in 0.4.0
shapedRecipe(item.of('minecraft:lapis_lazuli', 4), ['AAA', 'ABA', 'AAA'], {
A: '#forge:gems/certus_quartz',
B: '#forge:dyes/blue'
}),
shapedRecipe(item.of('minecraft:diamond', 1), ['AAA', 'ABA', 'AAA'], {
A: '#forge:gems/certus_quartz',
B: '#forge:dyes/light_blue'
}),
shapedRecipe(item.of('minecraft:emerald', 2), ['AAA', 'ABA', 'AAA'], {
A: '#forge:gems/certus_quartz',
B: '#forge:dyes/green'
}),
shapedRecipe(item.of('minecraft:lapis_lazuli', 4), ['AAA', 'ABA', 'AAA'], {
A: '#forge:gems/charged_certus_quartz',
B: '#forge:dyes/blue'
}),
shapedRecipe(item.of('minecraft:diamond', 1), ['AAA', 'ABA', 'AAA'], {
A: '#forge:gems/charged_certus_quartz',
B: '#forge:dyes/light_blue'
}),
shapedRecipe(item.of('minecraft:emerald', 2), ['AAA', 'ABA', 'AAA'], {
A: '#forge:gems/charged_certus_quartz',
B: '#forge:dyes/green'
}),
shapedRecipe(item.of('quark:white_candle', 2), ['B', 'A', 'A'], {
A: '#forge:wax',
B: '#forge:string'
})
];
recipes.forEach(function (recipe) {
event.shaped(recipe.result, recipe.pattern, recipe.key);
});
buildWoodVariants.forEach((wood) => {
if (wood.modId == 'minecraft') {
return;
}
event.shaped(Item.of('minecraft:oak_sign', 3), ['AAA', 'AAA', ' B '], {
A: wood.plankBlock,
B: '#forge:rods/wooden'
});
event.shaped(Item.of('minecraft:chest'), ['AAA', 'A A', 'AAA'], {
A: wood.plankBlock
});
});
});