Initial Commit, no changes from existing version
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Find out 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
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 247 B |
Binary file not shown.
|
After Width: | Height: | Size: 372 B |
@@ -0,0 +1,3 @@
|
||||
// Visit the wiki for more info - https://kubejs.com/
|
||||
console.info('Hello, World! (Loaded client example script)')
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"window_title": "",
|
||||
"show_tag_names": true,
|
||||
"show_components": true,
|
||||
"show_fuel_value": true,
|
||||
"disable_recipe_book": false,
|
||||
"disable_component_count_tooltip": true,
|
||||
"disable_tab_name_tooltip": false,
|
||||
"export_atlases": false,
|
||||
"blur_scaled_pack_icon": true,
|
||||
"custom_stack_size_text": true,
|
||||
"shrink_stack_size_text": true
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"hide_server_script_errors": false,
|
||||
"server_only": false,
|
||||
"announce_reload": true,
|
||||
"packmode": "",
|
||||
"save_dev_properties_in_config": false,
|
||||
"allow_async_streams": true,
|
||||
"match_json_recipes": true,
|
||||
"ignore_custom_unique_recipe_ids": false,
|
||||
"startup_error_gui": true,
|
||||
"startup_error_report_url": "",
|
||||
"remove_slot_limit": false,
|
||||
"default_max_stack_size": 0,
|
||||
"creative_mode_tab_icon": {},
|
||||
"creative_mode_tab_name": null
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"port": 61423,
|
||||
"public_address": "",
|
||||
"auth": "Izyoq4_K3j0c1x7rhMM-TeGlSVUMNBdEQcRKcXxS-afA"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
ServerEvents.recipes(event => {
|
||||
console.log('Recipe event fired.')
|
||||
event.remove({ output: 'envelope:letter_and_quill' })
|
||||
event.shapeless(
|
||||
Item.of('envelope:letter_and_quill', 1),
|
||||
[
|
||||
'minecraft:paper',
|
||||
'#minecraft:coals'
|
||||
]
|
||||
)
|
||||
})
|
||||
@@ -0,0 +1,3 @@
|
||||
// Visit the wiki for more info - https://kubejs.com/
|
||||
console.info('Hello, World! (Loaded startup example script)')
|
||||
|
||||
Reference in New Issue
Block a user