recipes
This commit is contained in:
BIN
web/kubejs/assets/kubejs/textures/block/crushed_end_stone.png
Executable file
BIN
web/kubejs/assets/kubejs/textures/block/crushed_end_stone.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 872 B |
BIN
web/kubejs/assets/kubejs/textures/block/crushed_netherrack.png
Executable file
BIN
web/kubejs/assets/kubejs/textures/block/crushed_netherrack.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 880 B |
BIN
web/kubejs/assets/kubejs/textures/block/dust.png
Executable file
BIN
web/kubejs/assets/kubejs/textures/block/dust.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 605 B |
BIN
web/kubejs/assets/kubejs/textures/item/desh_mesh.png
Executable file
BIN
web/kubejs/assets/kubejs/textures/item/desh_mesh.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -1,12 +0,0 @@
|
||||
// Listen to player login event
|
||||
PlayerEvents.loggedIn('player.logged_in', event => {
|
||||
// Check if player doesn't have "starting_items" stage yet
|
||||
if (!event.player.stages.has('starting_items')) {
|
||||
// Add the stage
|
||||
event.player.stages.add('starting_items')
|
||||
// Give some items to player
|
||||
event.player.give(Item.of('patchouli:guide_book', '{"patchouli:book": "patchouli:patatapack_guide"}'))
|
||||
event.player.give('10x create:bar_of_chocolate')
|
||||
event.player.give('2x create:builders_tea')
|
||||
}
|
||||
})
|
||||
29
web/kubejs/server_scripts/mechanical-extruder.js
Normal file
29
web/kubejs/server_scripts/mechanical-extruder.js
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
|
||||
|
||||
ServerEvents.recipes(event => { //listen for the "recipes" server event.
|
||||
console.log('Extruding recipes')
|
||||
event.recipes.createMechanicalExtruderExtruding(
|
||||
Item.of('minecraft:andesite'),
|
||||
[Fluid.of('minecraft:lava'),Fluid.of('minecraft:water')])
|
||||
.withCatalyst('minecraft:polished_andesite')
|
||||
|
||||
event.recipes.createMechanicalExtruderExtruding(
|
||||
Item.of('minecraft:netherrack'),
|
||||
[Fluid.of('minecraft:lava'),Fluid.of('minecraft:water')])
|
||||
.withCatalyst('minecraft:netherrack')
|
||||
event.recipes.createMechanicalExtruderExtruding(
|
||||
Item.of('minecraft:end_stone'),
|
||||
[Fluid.of('minecraft:lava'),Fluid.of('minecraft:water')])
|
||||
.withCatalyst('minecraft:end_stone')
|
||||
|
||||
event.recipes.createMechanicalExtruderExtruding(
|
||||
Item.of('minecraft:soul_sand'),[Fluid.of('minecraft:lava'),Fluid.of('minecraft:water')]).withCatalyst('minecraft:soul_soil')
|
||||
|
||||
event.recipes.createMechanicalExtruderExtruding(
|
||||
Item.of('ad_astra:moon_sand'),[Fluid.of('minecraft:lava'),Fluid.of('minecraft:water')]).withCatalyst('ad_astra:moon_sand')
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
24
web/kubejs/server_scripts/sifter.js
Normal file
24
web/kubejs/server_scripts/sifter.js
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
|
||||
|
||||
ServerEvents.recipes(event => { //listen for the "recipes" server event.
|
||||
console.log('Sifting recipes')
|
||||
// event.recipes.create.item_application(['kubejs:crushed'], [['#forge:stripped_wood', '#forge:stripped_logs'], 'create:shadow_steel'])
|
||||
|
||||
event.smithing(
|
||||
'kubejs:desh_mesh', // arg 1: output
|
||||
'createsifter:brass_mesh', // arg 2: the item to be upgraded
|
||||
'ad_astra:desh_ingot' // arg 3: the upgrade item
|
||||
)
|
||||
event.recipes.createsifterSifting([Item.of('minecraft:quartz').withChance(0.2),Item.of('minecraft:blaze_powder').withChance(0.1),Item.of('minecraft:ghast_tear').withChance(0.05),Item.of('minecraft:blaze_rod').withChance(0.05)], ['minecraft:soul_sand','createsifter:zinc_mesh'])
|
||||
event.recipes.createsifterSifting([Item.of('minecraft:quartz').withChance(0.4),Item.of('minecraft:blaze_powder').withChance(0.2),Item.of('minecraft:ghast_tear').withChance(0.05),Item.of('minecraft:blaze_rod').withChance(0.05)], ['minecraft:soul_sand','createsifter:brass_mesh'])
|
||||
|
||||
event.recipes.createsifterSifting([Item.of('minecraft:chrous_fruit').withChance(0.1),Item.of('minecraft:ender_pearl').withChance(0.05)], ['minecraft:end_stone','createsifter:zinc_mesh'])
|
||||
event.recipes.createsifterSifting([Item.of('minecraft:chrous_fruit').withChance(0.2),Item.of('minecraft:ender_pearl').withChance(0.1)], ['minecraft:end_stone','createsifter:brass_mesh'])
|
||||
|
||||
event.recipes.createsifterSifting([Item.of('ad_astra:desh_nugget').withChance(0.2),Item.of('minecraft:ostrum_nugget').withChance(0.1),Item.of('minecraft:calorite_nugget').withChance(0.05)], ['minecraft:deepslate','kubejs:desh_mesh'])
|
||||
event.recipes.createsifterSifting([Item.of('ad_astra:desh_nugget').withChance(0.4),Item.of('minecraft:ostrum_nugget').withChance(0.3),Item.of('minecraft:calorite_nugget').withChance(0.1)], ['ad_astra:moon_sand','kubejs:desh_mesh'])
|
||||
|
||||
|
||||
|
||||
})
|
||||
@@ -1,6 +0,0 @@
|
||||
// priority: 0
|
||||
|
||||
// Visit the wiki for more info - https://kubejs.com/
|
||||
|
||||
console.info('Hello, World! (Loaded startup scripts)')
|
||||
|
||||
12
web/kubejs/startup_scripts/sifter.js
Normal file
12
web/kubejs/startup_scripts/sifter.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// priority: 0
|
||||
|
||||
// Visit the wiki for more info - https://kubejs.com/
|
||||
|
||||
StartupEvents.registry('item', event => {
|
||||
event.create('crushed_netherrack').material('clay').hardness(0.5).displayName('Crushed Netherrack');
|
||||
event.create('crushed_end_stone').material('clay').hardness(0.5).displayName('Crushed End Stone');
|
||||
event.create('dust').material('sand').hardness(0.5).displayName('Dust');
|
||||
|
||||
|
||||
event.create('desh_mesh','createsifter:mesh').displayName('Desh Mesh').parentModel("createsifter:block/meshes/mesh").texture("mesh","kubejs:item/desh_mesh");
|
||||
})
|
||||
Reference in New Issue
Block a user