From 7c009bda1ebbd58213bdbdd1ad4a7ab8e29b953d Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Thu, 26 May 2022 12:45:27 -0500 Subject: [PATCH] Add Chunk Loaders, Ender Chests, Presence Footsteps --- config/enderchests-client.toml | 46 +++++++++++++ config/enderchests.toml | 67 +++++++++++++++++++ config/presencefootsteps/userconfig.json | 6 ++ config/shetiphiancore-client.toml | 13 ++++ config/shetiphiancore.toml | 13 ++++ .../recipes/chunk_loaders.js | 61 +++++++++++++++++ .../recipes/enderchests.js | 20 ++++++ 7 files changed, 226 insertions(+) create mode 100644 config/enderchests-client.toml create mode 100644 config/enderchests.toml create mode 100644 config/presencefootsteps/userconfig.json create mode 100644 config/shetiphiancore-client.toml create mode 100644 config/shetiphiancore.toml create mode 100644 kubejs/server_scripts/HarmoniousEngineering/recipes/chunk_loaders.js create mode 100644 kubejs/server_scripts/HarmoniousEngineering/recipes/enderchests.js diff --git a/config/enderchests-client.toml b/config/enderchests-client.toml new file mode 100644 index 0000000..3be0186 --- /dev/null +++ b/config/enderchests-client.toml @@ -0,0 +1,46 @@ + +#Select A GUI Style +[gui_style] + #Allowed Values: DEFAULT, VANILLA + EnderChest = "VANILLA" + +#Color Values for Bands, +#Format: Decimal Values (0 to 16,777,215) +#You can use this website to get the decimal value of any color: +#http://www.colorhexa.com +#Or by using the Color Mixer from this website: +#http://www.mathsisfun.com/hexadecimal-decimal-colors.html +[color_values] + #Range: 0 ~ 16777215 + white = 16777215 + #Range: 0 ~ 16777215 + orange = 14517579 + #Range: 0 ~ 16777215 + magenta = 12411333 + #Range: 0 ~ 16777215 + light_blue = 8296912 + #Range: 0 ~ 16777215 + yellow = 12892206 + #Range: 0 ~ 16777215 + lime = 4832573 + #Range: 0 ~ 16777215 + pink = 14195370 + #Range: 0 ~ 16777215 + gray = 4605510 + #Range: 0 ~ 16777215 + light_gray = 11120559 + #Range: 0 ~ 16777215 + cyan = 3373205 + #Range: 0 ~ 16777215 + purple = 8996546 + #Range: 0 ~ 16777215 + blue = 3292826 + #Range: 0 ~ 16777215 + brown = 5650466 + #Range: 0 ~ 16777215 + green = 3821086 + #Range: 0 ~ 16777215 + red = 10828341 + #Range: 0 ~ 16777215 + black = 2500134 + diff --git a/config/enderchests.toml b/config/enderchests.toml new file mode 100644 index 0000000..7ae02c5 --- /dev/null +++ b/config/enderchests.toml @@ -0,0 +1,67 @@ +#With this disabled chests are essentially locked to the crafted color as dyes will no longer work +enable_in_world_coloring = true + +#Item used to upgrade the EnderChests +[upgrade_item_tags] + #Items used to make the chests personal + personal = ["tag|forge:gems.diamond"] + #Items used to make the chests team chests + team = ["tag|forge:gems.emerald"] + #Items that upgrade storage capacity by 3 + small_capacity = ["minecraft:ender_pearl"] + #Items that upgrade storage capacity by 9 + large_capacity = ["minecraft:ender_eye"] + #Items that upgrade storage capacity by 3 + #Each item can only be use once per chest + small_capacity_singleuse = [] + #Items that upgrade storage capacity by 9 + #Each item can only be use once per chest + large_capacity_singleuse = [] + +#Adjust how many inventory slots are available +[capacity_settings] + #Minimum capacity an EnderChest holds + #Range: 9 ~ 27 + chest_size_min = 9 + #Maximum capacity an EnderChest holds + #Range: 9 ~ 54 + chest_size_max = 27 + +[access_settings] + #When enabled these bags access a players vanilla EnderChest, if disabled they will only be a crafting ingredient + ender_pouch = true + #Enables the usage of public chests, if disabled chests must be upgraded before use + public_chests = true + #Enables the creation of personal chests, if disabled chests can not set personal. + #Does not effect chests that are already set as personal + personal_chests = true + #Enables the creation of team chests, if disabled chests can not be set team. + #Does not effect chests that are already set as team + team_chests = false + #Enables the usage of public bags, if disabled bags must be linked to an upgraded chest before use + public_bags = true + #Enables the linking of bags to personal chests. + #Does not effect bags that are already linked to personal chests + personal_bags = true + #Enables the linking of bags to team chests. + #Does not effect bags that are already linked to team chests + team_bags = false + #Public chests can be used with automation. + public_automation = true + #Personal chests can be used with automation. + personal_automation = true + #Team chests can be used with automation. + team_automation = false + #While true a Personal chest can only be edited (upgrade, move, etc) by the owner + personal_edit_lock = true + #While true a Team chest can only be edited (upgrade, move, etc) by a team member + team_edit_lock = false + #While true only the owner can link a bag to their chests + personal_link_lock = true + #While true only a team member can link a bag to team chests + team_link_lock = false + #While true only the owner can use the chest + personal_use_lock = false + #While true only a team member can use the chest + team_use_lock = false + diff --git a/config/presencefootsteps/userconfig.json b/config/presencefootsteps/userconfig.json new file mode 100644 index 0000000..1f13aff --- /dev/null +++ b/config/presencefootsteps/userconfig.json @@ -0,0 +1,6 @@ +{ + "volume": 70, + "stance": "UNKNOWN", + "multiplayer": true, + "global": true +} \ No newline at end of file diff --git a/config/shetiphiancore-client.toml b/config/shetiphiancore-client.toml new file mode 100644 index 0000000..f7b2f85 --- /dev/null +++ b/config/shetiphiancore-client.toml @@ -0,0 +1,13 @@ +#Adjust the default way RGB16 handles dyes +#True = RYB blending is used to mix the colors +# > Like mixing paint, the dye will be added to the existing color +# > Sneak-Click to set to dye color +# +#False = Direct RGB value manipulation +# > Click to increase, Sneak-Click to decrease +# +#RYB is easier to use but RGB is more precise +use_color_blend_mode = true +#In addition to Sneak+Scroll, Tool Modes can be changed with Sneak+PageUp/Down +keys_change_tool_mode = true + diff --git a/config/shetiphiancore.toml b/config/shetiphiancore.toml new file mode 100644 index 0000000..6b6cd74 --- /dev/null +++ b/config/shetiphiancore.toml @@ -0,0 +1,13 @@ + +#Core Edits +[core_edits] + #Modifies entity collision checks to work with thinner blocks + #Unmodified ignores blocks bellow 1/5 (slightly thicker then a lower trap door) + #Modified processes blocks down to 3/32 (slightly thicker then carpets) + # + #If you need to disable this to solve a compatibility issue, please report it to me + #Non-living entities and thinner blocks are already exempt to avoid compatibility issues + enable_thin_block_handler = true + #When enabled carpets on top of scaffolding can be passed through just like snow + enable_carpet_passthrough = true + diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/chunk_loaders.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/chunk_loaders.js new file mode 100644 index 0000000..219c19a --- /dev/null +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/chunk_loaders.js @@ -0,0 +1,61 @@ +onEvent('recipes', event => { + const loaders = { + single: 'chunkloaders:single_chunk_loader', + basic: 'chunkloaders:basic_chunk_loader', + advanced: 'chunkloaders:advanced_chunk_loader', + ultimate: 'chunkloaders:ultimate_chunk_loader', + }; + + event.remove({mod: 'chunkloaders'}); + + // One-off recipes that don't use upgrades + event.shaped(loaders.single, ['IFI', 'EAE', 'IFI'], { + A: 'create:andesite_casing', + E: 'minecraft:ender_pearl', + F: 'fluxnetworks:flux_dust', + I: '#forge:ingots/cast_iron', + }); + + event.shaped(loaders.basic, ['IFI', 'EDE', 'IFI'], { + D: '#forge:gems/diamond', + E: 'minecraft:ender_pearl', + F: 'fluxnetworks:flux_dust', + I: '#forge:ingots/steel', + }); + + event.shaped(loaders.advanced, ['IFI', 'CPC', 'IFI'], { + C: 'moreminecarts:chunkrodite', + F: 'fluxnetworks:flux_dust', + I: '#forge:ingots/gold', + P: 'powah:dielectric_casing', + }); + + event.shaped(loaders.ultimate, ['DCD', 'IEI', 'DCD'], { + C: 'moreminecarts:chunkrodite', + D: '#forge:gems/diamond', + E: 'kubejs:ender_singularity', + I: 'create:chromatic_compound', + }); + + // Upgrading Recipes + global.genSmithingRecipe( + event, + Ingredient.of(loaders.single), + Ingredient.of('#forge:gems/diamond'), + Item.of(loaders.basic) + ); + + global.genSmithingRecipe( + event, + Ingredient.of(loaders.basic), + Ingredient.of('moreminecarts:chunkrodite'), + Item.of(loaders.advanced) + ); + + global.genSmithingRecipe( + event, + Ingredient.of(loaders.advanced), + Ingredient.of('kubejs:ender_singularity'), + Item.of(loaders.ultimate) + ); +}); diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/enderchests.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/enderchests.js new file mode 100644 index 0000000..90d5794 --- /dev/null +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/enderchests.js @@ -0,0 +1,20 @@ +onEvent('recipes', event => { + event.remove({mod: 'enderchests'}); + + event.custom({ + type: 'improvedbackpacks:sewing', + first: {item: 'improvedbackpacks:tanned_leather'}, + first_count: 4, + second: {item: 'moreminecarts:chunkrodite'}, + second_count: 2, + spools_count: 1, + result: 'enderchests:ender_bag', + }); + + global.genSmithingRecipe( + event, + Ingredient.of('minecraft:ender_chest'), + Ingredient.of('moreminecarts:chunkrodite'), + Item.of('enderchests:ender_chest') + ); +});