first commit
This commit is contained in:
15
kubejs/README.txt
Normal file
15
kubejs/README.txt
Normal file
@ -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
|
BIN
kubejs/assets/items/textures/item/hafossil.png
Normal file
BIN
kubejs/assets/items/textures/item/hafossil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 268 B |
BIN
kubejs/assets/items/textures/item/maxivfossil.png
Normal file
BIN
kubejs/assets/items/textures/item/maxivfossil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 268 B |
BIN
kubejs/assets/items/textures/item/shinyfossil.png
Normal file
BIN
kubejs/assets/items/textures/item/shinyfossil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 428 B |
BIN
kubejs/assets/items/textures/item/shinyincense.png
Normal file
BIN
kubejs/assets/items/textures/item/shinyincense.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 284 B |
BIN
kubejs/assets/items/textures/item/strongshinyincense.png
Normal file
BIN
kubejs/assets/items/textures/item/strongshinyincense.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 358 B |
BIN
kubejs/assets/items/textures/item/ubershinyincense.png
Normal file
BIN
kubejs/assets/items/textures/item/ubershinyincense.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 326 B |
16
kubejs/config/client.properties
Normal file
16
kubejs/config/client.properties
Normal file
@ -0,0 +1,16 @@
|
||||
#KubeJS Client Properties
|
||||
#Mon Dec 23 20:39:49 PST 2024
|
||||
backgroundColor=2E3440
|
||||
barBorderColor=ECEFF4
|
||||
exportAtlases=false
|
||||
menuBackgroundBrightness=64
|
||||
disableRecipeBook=false
|
||||
title=
|
||||
barColor=ECEFF4
|
||||
overrideColors=false
|
||||
fmlLogColor=ECEFF4
|
||||
showTagNames=false
|
||||
fmlMemoryColor=ECEFF4
|
||||
menuBackgroundScale=32.0
|
||||
blurScaledPackIcon=true
|
||||
menuInnerBackgroundBrightness=32
|
13
kubejs/config/common.properties
Normal file
13
kubejs/config/common.properties
Normal file
@ -0,0 +1,13 @@
|
||||
#KubeJS Common Properties
|
||||
#Sat Jul 06 23:45:02 PDT 2024
|
||||
allowAsyncStreams=true
|
||||
announceReload=true
|
||||
creativeModeTabIcon=minecraft\:purple_dye
|
||||
hideServerScriptErrors=false
|
||||
ignoreCustomUniqueRecipeIds=false
|
||||
matchJsonRecipes=true
|
||||
packmode=
|
||||
saveDevPropertiesInConfig=false
|
||||
serverOnly=false
|
||||
startupErrorGUI=true
|
||||
startupErrorReportUrl=
|
4
kubejs/startup_scripts/hafossil.js
Normal file
4
kubejs/startup_scripts/hafossil.js
Normal file
@ -0,0 +1,4 @@
|
||||
StartupEvents.registry('item', e => {
|
||||
e.create('hafossil').displayName('HA fossil').texture('items:item/hafossil').unstackable()
|
||||
})
|
||||
|
206
kubejs/startup_scripts/itemrarity.js
Normal file
206
kubejs/startup_scripts/itemrarity.js
Normal file
@ -0,0 +1,206 @@
|
||||
ItemEvents.modification(event => {
|
||||
event.modify('academy:star_badge', item => {
|
||||
item.rarity = 'UNCOMMON'
|
||||
item.fireResistant = true
|
||||
})
|
||||
|
||||
event.modify('minecraft:dragon_egg', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:command_block', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:conduit', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:elytra', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:golden_apple', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:enchanted_golden_apple', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:experience_bottle', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:skeleton_skull', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:wither_skeleton_skull', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:player_head', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:zombie_head', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:creeper_head', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:dragon_head', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:piglin_head', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:nether_star', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:enchanted_book', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:end_crystal', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:totem_of_undying', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:dragon_breath', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:beacon', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:music_disk', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:heart_of_the_sea', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:creeper_banner_pattern', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:skull_banner_pattern', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:mojang_banner_pattern', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('bbb:bbb', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('minecraft:', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('bountiful:decree', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('bountiful:bounty', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:silver_razz_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:silver_nanab_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:silver_pinap_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:golden_razz_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:golden_nanab_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:golden_pinap_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:silver_platter', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:golden_delicacy', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:roasted_silver_razz_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:roasted_silver_nanab_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:roasted_silver_pinap_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:roasted_golden_razz_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:roasted_golden_nanab_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('cobblefoods:roasted_golden_pinap_berry', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('lootbags:loot_bag', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('numismatic-overhaul:bronze_coin', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('numismatic-overhaul:silver_coin', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('numismatic-overhaul:gold_coin', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('scout:upgraded_satchel', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('scout:upgraded_pouch', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
|
||||
event.modify('heartstone:heartstone', item => {
|
||||
item.rarity = 'COMMON'
|
||||
})
|
||||
})
|
4
kubejs/startup_scripts/ivfossil.js
Normal file
4
kubejs/startup_scripts/ivfossil.js
Normal file
@ -0,0 +1,4 @@
|
||||
StartupEvents.registry('item', e => {
|
||||
e.create('maxivfossil').displayName('Max IV fossil').texture('items:item/maxivfossil').unstackable()
|
||||
})
|
||||
|
1
kubejs/startup_scripts/moddisguise.js
Normal file
1
kubejs/startup_scripts/moddisguise.js
Normal file
@ -0,0 +1 @@
|
||||
Platform.mods.kubejs.name = 'Star Academy'
|
3
kubejs/startup_scripts/shinyfossil.js
Normal file
3
kubejs/startup_scripts/shinyfossil.js
Normal file
@ -0,0 +1,3 @@
|
||||
StartupEvents.registry('item', event => {
|
||||
event.create('shinyfossil').displayName('Shiny Fossil').texture('items:item/shinyfossil').unstackable()
|
||||
})
|
4
kubejs/startup_scripts/shinyincense.js
Normal file
4
kubejs/startup_scripts/shinyincense.js
Normal file
@ -0,0 +1,4 @@
|
||||
StartupEvents.registry('item', e => {
|
||||
e.create('shinyincense').displayName('Shiny Incense').texture('items:item/shinyincense').unstackable()
|
||||
})
|
||||
|
4
kubejs/startup_scripts/strongshinyincense.js
Normal file
4
kubejs/startup_scripts/strongshinyincense.js
Normal file
@ -0,0 +1,4 @@
|
||||
StartupEvents.registry('item', e => {
|
||||
e.create('strongshinyincense').displayName('Strong Shiny Incense').texture('items:item/strongshinyincense').unstackable()
|
||||
})
|
||||
|
4
kubejs/startup_scripts/ubershinyincense.js
Normal file
4
kubejs/startup_scripts/ubershinyincense.js
Normal file
@ -0,0 +1,4 @@
|
||||
StartupEvents.registry('item', e => {
|
||||
e.create('ubershinyincense').displayName('Uber Shiny Incense').texture('items:item/ubershinyincense').unstackable()
|
||||
})
|
||||
|
Reference in New Issue
Block a user