recipes
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
ServerEvents.customCommand('patata', event => {
|
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 => {
|
// ServerEvents.customCommand('paint', event => {
|
||||||
// event.player.give(Item.of('kubejs:golden_potato', 64))
|
// event.player.give(Item.of('kubejs:golden_potato', 64))
|
||||||
|
|||||||
@@ -1,6 +1,20 @@
|
|||||||
console.log("Starting server recipes");
|
console.log("Starting server recipes");
|
||||||
|
|
||||||
ServerEvents.recipes(event => {
|
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
|
//SHAPED
|
||||||
event.shaped('minecraft:totem_of_undying', [// arg 1: output
|
event.shaped('minecraft:totem_of_undying', [// arg 1: output
|
||||||
'NCN',
|
'NCN',
|
||||||
@@ -26,6 +40,26 @@ ServerEvents.recipes(event => {
|
|||||||
D: 'minecraft:diamond', //arg 3: the mapping object
|
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
|
//SHAPELESS
|
||||||
event.shapeless('minecraft:blaze_rod', [ // arg 1: output
|
event.shapeless('minecraft:blaze_rod', [ // arg 1: output
|
||||||
'6x minecraft:blaze_powder'
|
'6x minecraft:blaze_powder'
|
||||||
|
|||||||
Reference in New Issue
Block a user