remove stick properly

This commit is contained in:
endigma 2022-05-01 19:20:37 -03:00
parent 3cb153af98
commit 00e029e9d6
Signed by: endigma
GPG Key ID: 915867AD1D297D9F
5 changed files with 25 additions and 5 deletions

1
.packwizignore Normal file
View File

@ -0,0 +1 @@
kubejs/README.txt

View File

@ -128,6 +128,10 @@ hash = "0328551a975daba1d595c7657f70eb003c1a444e071e0fdb3a0754cc5a7d7815"
file = "config/yosbr/options.txt"
hash = "8e981e0a3fe5ec96b79be185991a401b54ed6c4352f52475b85c172668992c35"
[[files]]
file = "kubejs/server_scripts/script.js"
hash = "798e234f669f96a2f8c0220f295e81fea487b9fcb0aef441eca88f2d1b721756"
[[files]]
file = "mods/addadd.toml"
hash = "5aaa96444fe4ef2d6e723493d1d5f8727929f588f55fcbaea966dd33545f8082"
@ -1116,7 +1120,3 @@ metafile = true
[[files]]
file = "resourcepacks/Better-Leaves-6.2-1.13+.zip"
hash = "583ba4e4328a27b7c81353edf9aa1943143d12780f41316038aa7071a744865f"
[[files]]
file = "scripts/remove-unbalanced.js"
hash = "0fcb62e8c988ab0ca6e661a1e84260d9141df5bc19728e2593952d37ff05d6ac"

15
kubejs/README.txt Normal file
View File

@ -0,0 +1,15 @@
Find more info on the website: https://kubejs.com/
Directory information:
assets - Acts as a resource pack, you can put any client resources in here, like textures, models, etc. Example: assets/kubejs/textures/item/test_item.png
data - Acts as a datapack, you can put any server resources in here, like loot tables, functions, etc. Example: data/kubejs/loot_tables/blocks/test_block.json
startup_scripts - Scripts that get loaded once during game startup - Used for adding items and other things that can only happen while the game is loading (Can be reloaded with /kubejs reload_startup_scripts, but it may not work!)
server_scripts - Scripts that get loaded every time server resources reload - Used for modifying recipes, tags, loot tables, and handling server events (Can be reloaded with /reload)
client_scripts - Scripts that get loaded every time client resources reload - Used for JEI events, tooltips and other client side things (Can be reloaded with F3+T)
config - KubeJS config storage. This is also the only directory that scripts can access other than world directory
exported - Data dumps like texture atlases end up here
You can find type-specific logs in logs/kubejs/ directory

View File

@ -1,3 +1,7 @@
// priority: 0
console.info('fuck stick')
onEvent('recipes', event => {
event.remove({output: 'minecraft:stick'})
})

View File

@ -6,7 +6,7 @@ pack-format = "packwiz:1.0.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "00c0a43762f6e9d297a4f5e7e900a50e97e19ea6ab4b975aa7efd1af338617c9"
hash = "e9183c85da77f3b109b4ddc3e8aa321d9eee76ac19dc5fa98306414d80d6bc65"
[versions]
fabric = "0.13.3"