mods & recipes
This commit is contained in:
34
web/pack/kubejs/server_scripts/recipes.js
Normal file
34
web/pack/kubejs/server_scripts/recipes.js
Normal file
@@ -0,0 +1,34 @@
|
||||
console.log("Starting server recipes");
|
||||
|
||||
ServerEvents.recipes(event => {
|
||||
//SHAPED
|
||||
event.shaped('minecraft:totem_of_undying', [// arg 1: output
|
||||
'NCN',
|
||||
'EIE', // arg 2: the shape (array of strings)
|
||||
'RNR'
|
||||
], {
|
||||
C: 'minecraft:chorus_fruit',
|
||||
R: 'minecraft:blaze_rod',
|
||||
N: 'create:brass_nugget',
|
||||
E: 'minecraft:emerald', //arg 3: the mapping object
|
||||
I: 'create:brass_ingot'
|
||||
}
|
||||
)
|
||||
//SHAPELESS
|
||||
event.shapeless('minecraft:blaze_rod', [ // arg 1: output
|
||||
'6x minecraft:blaze_powder'
|
||||
])
|
||||
|
||||
event.shapeless('minecraft:string', [ // arg 1: output
|
||||
'4x #minecraft:leaves'
|
||||
])
|
||||
// Cook 4 blaze_powder into 1 blaze_rod in a Furnace:
|
||||
//event.smelting('minecraft:blaze_rod', '4x minecraft:blaze_powder')
|
||||
// Cook 1 stone into 3 gravel in a Furnace:
|
||||
event.smelting('6x minecraft:blaze_powder', 'minecraft:blaze_rod')
|
||||
// Smoke glass into tinted glass in the Smoker:
|
||||
//event.smoking('minecraft:leather', 'minecraft:rotten_flesh')
|
||||
|
||||
// Burn sticks into torches on the Campfire:
|
||||
//event.campfireCooking('minecraft:leather', 'minecraft:rotten_flesh')
|
||||
})
|
||||
Reference in New Issue
Block a user