skapa-season-3/kubejs/server_scripts/embellishcraft.js
Steve McMaster aa14e989ce
All checks were successful
continuous-integration/drone/push Build is passing
Prepare for season 3 reset. Update required! You MUST re-download
setup.exe
2024-07-17 05:42:11 +00:00

43 lines
1.0 KiB
JavaScript

const recipeShapes = {
true: [
" P",
" PS",
"PS "
],
false: [
" P",
" PS",
"PS "
]
}
ServerEvents.recipes((event) => {
// Suspended stairs
global.suspendedStairs.forEach((suspendedStair) => {
event
.shaped(
Item.of(suspendedStair['id'], 1),
[
' P',
' PS',
'PS '
],
{
'P': { 'item': suspendedStair['ingredient'] },
'S': { 'tag': 'forge:rods/wooden' }
}
)
.id(suspendedStair['id'])
})
})
// ServerEvents.tags('block', (event) => {
// [
// 'embellishcraft:steel_wall_ladder',
// 'embellishcraft:steel_rung',
// 'embellishcraft:sturdy_steel_door',
// 'embellishcraft:warning_steel_door'
// ].forEach((block) => {
// event.add('minecraft:mineable/pickaxe', block)
// })
// })