Push 1.18.2 Archive
This commit is contained in:
parent
eb5cb460a7
commit
3a6b398dc6
215 changed files with 3085 additions and 2182 deletions
20
.minecraft/kubejs/server_scripts/script.js
Normal file
20
.minecraft/kubejs/server_scripts/script.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
// priority: 0
|
||||
|
||||
settings.logAddedRecipes = true
|
||||
settings.logRemovedRecipes = true
|
||||
settings.logSkippedRecipes = false
|
||||
settings.logErroringRecipes = true
|
||||
|
||||
console.info('Hello, World! (You will see this line every time server resources reload)')
|
||||
|
||||
onEvent('recipes', event => {
|
||||
// Change recipes here
|
||||
})
|
||||
|
||||
onEvent('item.tags', event => {
|
||||
// Get the #forge:cobblestone tag collection and add Diamond Ore to it
|
||||
// event.get('forge:cobblestone').add('minecraft:diamond_ore')
|
||||
|
||||
// Get the #forge:cobblestone tag collection and remove Mossy Cobblestone from it
|
||||
// event.get('forge:cobblestone').remove('minecraft:mossy_cobblestone')
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue