diff --git a/kubejs/README.txt b/kubejs/README.txt new file mode 100644 index 000000000..5cf0fdf1d --- /dev/null +++ b/kubejs/README.txt @@ -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 \ No newline at end of file diff --git a/kubejs/startup_scripts/constants.js b/kubejs/startup_scripts/constants.js index 467c9373a..f5971c26d 100644 --- a/kubejs/startup_scripts/constants.js +++ b/kubejs/startup_scripts/constants.js @@ -50,31 +50,6 @@ global.allTFCStoneTypeNamesOnlyDups = [ ]; global.veins = [ - { - random_name: "tfc:cluster_vein", - veinType: "", - rarity: 0, - maxY: 0, - minY: 0, - size: 0, - density: 0.0, - stoneTypes: [""], - ores: [ - { - weight: 0, - material: "" - } - ], - - indicator: { - rarity: 0, - blocks: [ - { - block: "" - } - ] - } - }, { random_name: "basaltic_sands", veinType: "tfc:disc_vein", @@ -1252,7 +1227,7 @@ global.veins = [ minY: 60, size: 20, density: 0.5, - stoneTypes: ["quartzite", "slate", "phyllite", "schist", "gneiss", "marble", ""], + stoneTypes: ["quartzite", "slate", "phyllite", "schist", "gneiss", "marble"], ores: [ { weight: 60,