mirror of
https://git.fellies.tech/minecraft/fellies.git
synced 2021-02-13 10:18:48 +00:00
Create default configs
This commit is contained in:
13
kubejs/README.txt
Normal file
13
kubejs/README.txt
Normal file
@ -0,0 +1,13 @@
|
||||
Find more info on the website: https://kubejs.latvian.dev/
|
||||
|
||||
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
|
||||
server_scripts - Scripts that get loaded every time server resources reload - Used for modifying recipes, tags, and handling server events
|
||||
client_scripts - Scripts that get loaded every time client resources reload - Used for JEI events, tooltips and other client side things
|
||||
|
||||
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
|
BIN
kubejs/assets/kubejs/textures/block/example_block.png
Normal file
BIN
kubejs/assets/kubejs/textures/block/example_block.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 247 B |
BIN
kubejs/assets/kubejs/textures/item/example_item.png
Normal file
BIN
kubejs/assets/kubejs/textures/item/example_item.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 372 B |
8
kubejs/client_scripts/script.js
Normal file
8
kubejs/client_scripts/script.js
Normal file
@ -0,0 +1,8 @@
|
||||
// priority: 0
|
||||
|
||||
console.info('Hello, World! (You will see this line every time client resources reload)')
|
||||
|
||||
onEvent('jei.hide.items', event => {
|
||||
// Hide items in JEI here
|
||||
// event.hide('minecraft:cobblestone')
|
||||
})
|
12
kubejs/config/client.properties
Normal file
12
kubejs/config/client.properties
Normal file
@ -0,0 +1,12 @@
|
||||
#KubeJS Client Properties
|
||||
#Sun Jan 17 13:32:17 CET 2021
|
||||
fmlLogColor=ECEFF4
|
||||
barBorderColor=ECEFF4
|
||||
overrideColors=false
|
||||
fmlMemoryColor=ECEFF4
|
||||
barColor=ECEFF4
|
||||
showTagNames=true
|
||||
disableRecipeBook=false
|
||||
title=
|
||||
exportAtlases=false
|
||||
backgroundColor=2E3440
|
13
kubejs/startup_scripts/script.js
Normal file
13
kubejs/startup_scripts/script.js
Normal file
@ -0,0 +1,13 @@
|
||||
// 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')
|
||||
})
|
||||
|
||||
onEvent('block.registry', event => {
|
||||
// Register new blocks here
|
||||
// event.create('example_block').material('wood').hardness(1.0).displayName('Example Block')
|
||||
})
|
Reference in New Issue
Block a user