recipes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
ServerEvents.customCommand('patata', event => {
|
||||
event.player.give(Item.of('kubejs:golden_potato', 64))
|
||||
event.player.give(Item.of('kubejs:golden_potato', 1))
|
||||
})
|
||||
// ServerEvents.customCommand('paint', event => {
|
||||
// event.player.give(Item.of('kubejs:golden_potato', 64))
|
||||
|
||||
@@ -1,6 +1,20 @@
|
||||
console.log("Starting server recipes");
|
||||
|
||||
ServerEvents.recipes(event => {
|
||||
event.shaped("kubejs:golden_potato", [// arg 1: output
|
||||
'RIR',
|
||||
'IPI', // arg 2: the shape (array of strings)
|
||||
'RIR'
|
||||
], {
|
||||
I: 'minecraft:gold_ingot',
|
||||
R: 'minecraft:blaze_rod',
|
||||
P: 'minecraft:potato', //arg 3: the mapping object
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
//SHAPED
|
||||
event.shaped('minecraft:totem_of_undying', [// arg 1: output
|
||||
'NCN',
|
||||
@@ -26,6 +40,26 @@ ServerEvents.recipes(event => {
|
||||
D: 'minecraft:diamond', //arg 3: the mapping object
|
||||
}
|
||||
)
|
||||
|
||||
event.shaped('kubejs:andesite_shears', [// arg 1: output
|
||||
' A ',
|
||||
'S A', // arg 2: the shape (array of strings)
|
||||
' S '
|
||||
], {
|
||||
S: 'minecraft:stick',
|
||||
A: 'create:andesite_alloy', //arg 3: the mapping object
|
||||
}
|
||||
)
|
||||
event.shaped('kubejs:brass_shears', [// arg 1: output
|
||||
' B ',
|
||||
'S B', // arg 2: the shape (array of strings)
|
||||
' S '
|
||||
], {
|
||||
S: 'create:brass_ingot',
|
||||
A: 'create:andesite_alloy', //arg 3: the mapping object
|
||||
}
|
||||
)
|
||||
|
||||
//SHAPELESS
|
||||
event.shapeless('minecraft:blaze_rod', [ // arg 1: output
|
||||
'6x minecraft:blaze_powder'
|
||||
|
||||
Reference in New Issue
Block a user