Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions kubejs/server_scripts/recipes/netherite_paxel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// kubejs/server_scripts/example.js
// This is just an example script to show off multiple types of recipes and removal methods
// Supports /reload

// Listen to server recipe event
onEvent('recipes', event => {
// Add a smithing recipe that combines 2 items into one (in this case apple and gold ingot into golden apple)
event.shapeless('kubejs:netherite_triple_ingot', ['3x minecraft:netherite_ingot'])
event.smithing('easypaxellite:netherite_paxel', 'easypaxellite:diamond_paxel', 'kubejs:netherite_triple_ingot')
})
14 changes: 14 additions & 0 deletions kubejs/startup_scripts/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// priority: 0

console.info('Hello, World! (You will only see this line once in console, during startup)')

onEvent('item.registry', event => {
// Register new items here
// event.create('example_item').displayName('Example Item')
event.create('netherite_triple_ingot').displayName('Netherite Triple Ingot').group('misc').maxStackSize(64)
})

onEvent('block.registry', event => {
// Register new blocks here
// event.create('example_block').material('wood').hardness(1.0).displayName('Example Block')
})