37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
// priority: 0
|
|
|
|
// Visit the wiki for more info - https://kubejs.com/
|
|
|
|
ServerEvents.recipes(event => { //listen for the "recipes" server event.
|
|
event.shaped(Item.of('tacz:modern_kinetic_gun', '{GunCurrentAmmoCount:1,GunFireMode:"SEMI",GunId:"hamster:gras1874",HasBulletInBarrel:1b}'), [
|
|
'FSS',
|
|
'III',
|
|
'LLL'
|
|
], {
|
|
F: 'minecraft:flint_and_steel',
|
|
S: '#forge:string',
|
|
I: '#forge:ingots/iron',
|
|
L: '#minecraft:logs'
|
|
}
|
|
);
|
|
|
|
event.shaped(Item.of('tacz:modern_kinetic_gun', '{GunCurrentAmmoCount:1,GunFireMode:"SEMI",GunId:"hamster:one_barrel",HasBulletInBarrel:1b}'), [
|
|
'FII',
|
|
'LIL',
|
|
' '
|
|
], {
|
|
F: 'minecraft:flint_and_steel',
|
|
I: '#forge:ingots/iron',
|
|
L: '#minecraft:logs'
|
|
}
|
|
);
|
|
|
|
event.shapeless(Item.of('tacz:ammo', 8, '{AmmoId:"hamster:medium_ammo"}'), [
|
|
'#minecraft:coals',
|
|
'#forge:ingots/copper'
|
|
]);
|
|
});
|
|
|
|
console.info('Loaded Poor Man\'s recipes')
|
|
|