recipes
This commit is contained in:
@@ -4,3 +4,29 @@
|
||||
|
||||
console.info('Hello, World! (Loaded server scripts)')
|
||||
|
||||
|
||||
ServerEvents.recipes(event => {
|
||||
console.log('Hello! The recipe event has fired!')
|
||||
|
||||
//SHAPED
|
||||
event.shaped('minecraft:totem_of_undying', [// arg 1: output
|
||||
'NNN',
|
||||
'EIE ', // arg 2: the shape (array of strings)
|
||||
'RNR'
|
||||
], {
|
||||
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'
|
||||
])
|
||||
// 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('3x minecraft:gravel', 'minecraft:stone')
|
||||
|
||||
})
|
||||
@@ -7,6 +7,12 @@ ServerEvents.recipes((event) => {
|
||||
Fluid.of("minecraft:water"),
|
||||
])
|
||||
.withCatalyst("minecraft:polished_andesite");
|
||||
event.recipes
|
||||
.createMechanicalExtruderExtruding(Item.of("minecraft:sandstone"), [
|
||||
Fluid.of("minecraft:lava"),
|
||||
Fluid.of("minecraft:water"),
|
||||
])
|
||||
.withCatalyst("minecraft:sandstone");
|
||||
|
||||
event.recipes
|
||||
.createMechanicalExtruderExtruding(Item.of("minecraft:netherrack"), [
|
||||
@@ -27,6 +33,13 @@ ServerEvents.recipes((event) => {
|
||||
])
|
||||
.withCatalyst("minecraft:deepslate");
|
||||
|
||||
event.recipes
|
||||
.createMechanicalExtruderExtruding(Item.of("minecraft:obsidian"), [
|
||||
Item.of("minecraft:blue_ice"),
|
||||
Fluid.of("minecraft:lava"),
|
||||
])
|
||||
.withCatalyst("minecraft:diamond_block");
|
||||
|
||||
event.recipes
|
||||
.createMechanicalExtruderExtruding(Item.of("minecraft:soul_sand"), [
|
||||
Fluid.of("minecraft:lava"),
|
||||
|
||||
Reference in New Issue
Block a user