All checks were successful
continuous-integration/drone/push Build is passing
setup.exe
43 lines
1.0 KiB
JavaScript
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)
|
|
// })
|
|
// })
|