diff options
| author | 2024-01-05 22:18:56 +0100 | |
|---|---|---|
| committer | 2024-01-05 22:18:56 +0100 | |
| commit | 9445749ede3c61d3db9324184971b319b4a8bd1d (patch) | |
| tree | 22b1b6b2c337756fe6d0b97effbca60fb8a8c961 /src/main/resources | |
| download | mc-eris-alchemy-9445749ede3c61d3db9324184971b319b4a8bd1d.tar.gz mc-eris-alchemy-9445749ede3c61d3db9324184971b319b4a8bd1d.tar.xz mc-eris-alchemy-9445749ede3c61d3db9324184971b319b4a8bd1d.zip | |
Initial Commit
Diffstat (limited to 'src/main/resources')
24 files changed, 295 insertions, 0 deletions
diff --git a/src/main/resources/assets/eris_alchemy/icon.png b/src/main/resources/assets/eris_alchemy/icon.png new file mode 100644 index 0000000..09015e4 --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/icon.png | |||
| Binary files differ | |||
diff --git a/src/main/resources/assets/eris_alchemy/lang/en_us.json b/src/main/resources/assets/eris_alchemy/lang/en_us.json new file mode 100644 index 0000000..c001018 --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/lang/en_us.json | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | { | ||
| 2 | "book.eris_alchemy.title": "Eris Alchemy", | ||
| 3 | "book.eris_alchemy.subtitle": "the Official Guide", | ||
| 4 | "book.eris_alchemy.landing_text": "Welcome to Alchemy!", | ||
| 5 | |||
| 6 | "item.eris_alchemy.low_covalence_dust": "Low Covalence Dust", | ||
| 7 | "item.eris_alchemy.medium_covalence_dust": "Medium Covalence Dust", | ||
| 8 | "item.eris_alchemy.high_covalence_dust": "High Covalence Dust", | ||
| 9 | |||
| 10 | "itemGroup.eris_alchemy.item_group": "Eris Alchemy" | ||
| 11 | } \ No newline at end of file | ||
diff --git a/src/main/resources/assets/eris_alchemy/models/item/high_covalence_dust.json b/src/main/resources/assets/eris_alchemy/models/item/high_covalence_dust.json new file mode 100644 index 0000000..9eaa71b --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/models/item/high_covalence_dust.json | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | { | ||
| 2 | "parent": "item/generated", | ||
| 3 | "textures": { | ||
| 4 | "layer0": "eris_alchemy:item/high_covalence_dust" | ||
| 5 | } | ||
| 6 | } \ No newline at end of file | ||
diff --git a/src/main/resources/assets/eris_alchemy/models/item/low_covalence_dust.json b/src/main/resources/assets/eris_alchemy/models/item/low_covalence_dust.json new file mode 100644 index 0000000..2fc6a71 --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/models/item/low_covalence_dust.json | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | { | ||
| 2 | "parent": "item/generated", | ||
| 3 | "textures": { | ||
| 4 | "layer0": "eris_alchemy:item/low_covalence_dust" | ||
| 5 | } | ||
| 6 | } \ No newline at end of file | ||
diff --git a/src/main/resources/assets/eris_alchemy/models/item/medium_covalence_dust.json b/src/main/resources/assets/eris_alchemy/models/item/medium_covalence_dust.json new file mode 100644 index 0000000..aa4823c --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/models/item/medium_covalence_dust.json | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | { | ||
| 2 | "parent": "item/generated", | ||
| 3 | "textures": { | ||
| 4 | "layer0": "eris_alchemy:item/medium_covalence_dust" | ||
| 5 | } | ||
| 6 | } \ No newline at end of file | ||
diff --git a/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/categories/root.json b/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/categories/root.json new file mode 100644 index 0000000..0320cae --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/categories/root.json | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | { | ||
| 2 | "name": "book.eris_alchemy.title", | ||
| 3 | "description": "book.eris_alchemy.title", | ||
| 4 | "icon": "minecraft:writable_book" | ||
| 5 | } \ No newline at end of file | ||
diff --git a/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/entries/root/covalence_dusts.json b/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/entries/root/covalence_dusts.json new file mode 100644 index 0000000..09c10ca --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/entries/root/covalence_dusts.json | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | { | ||
| 2 | "name": "Covalence Dusts", | ||
| 3 | "icon": "eris_alchemy:medium_covalence_dust", | ||
| 4 | "category": "eris_alchemy:root", | ||
| 5 | "pages": [{ | ||
| 6 | "type": "patchouli:spotlight", | ||
| 7 | "title": "Covalence Dusts", | ||
| 8 | "item": "eris_alchemy:low_covalence_dust,eris_alchemy:medium_covalence_dust,eris_alchemy:high_covalence_dust", | ||
| 9 | "link_recipe": true, | ||
| 10 | "text": "$(thing)Covalence dusts$() are the most basic items you create in Eris Alchemy." | ||
| 11 | }, { | ||
| 12 | "type": "patchouli:crafting", | ||
| 13 | "recipe": "eris_alchemy:low_covalence_dust", | ||
| 14 | "recipe2": "eris_alchemy:medium_covalence_dust" | ||
| 15 | }, { | ||
| 16 | "type": "patchouli:crafting", | ||
| 17 | "recipe": "eris_alchemy:high_covalence_dust" | ||
| 18 | }, { | ||
| 19 | "type": "patchouli:text", | ||
| 20 | "title": "Repairing items", | ||
| 21 | "text": "Aside from being inputs to various other recipes, $(thing)Covalence dusts$() can also be used for repairing tools. Just add your damaged item and at least one corresponding $(thing)covalence dust$() in a crafting grid and it should Just Work(TM)." | ||
| 22 | }, { | ||
| 23 | "type": "patchouli:text", | ||
| 24 | "text": "$(item)Low Covalence Dust$() can be used to repair$(li)$(thing)Wooden tools$(),$(li)$(thing)Stone tools$(),$(li)$(thing)Leather armour$(),$(li)$(thing)Turtle shell armour$(),$(li)$(item)Fishing rods$(), and$(li)$(item)Bows$()." | ||
| 25 | }, { | ||
| 26 | "type": "patchouli:text", | ||
| 27 | "text": "$(item)Medium Covalence Dust$() can be used to repair$(li)$(thing)Iron tools and armour$(),$(li)$(thing)Gold tools and armour$(),$(li)$(thing)Bronze tools and armour$() (if you have any),$(li)$(thing)Ruby tools and armour$() (if you have any),$(li)$(thing)Sapphire tools and armour$() (if you have any),$(li)$(thing)Green sapphire tools and armour$() (if you have any),$(li)$(item)Elytras$(),$(li)$(item)Flint and Steel$(), and$(li)$(item)Shears$()." | ||
| 28 | }, { | ||
| 29 | "type": "patchouli:text", | ||
| 30 | "text": "$(item)High Covalence Dust$() can be used to repair$(li)$(thing)Diamond tools and armour$() and$(li)$(thing)Netherite tools and armour$()." | ||
| 31 | }] | ||
| 32 | } \ No newline at end of file | ||
diff --git a/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/entries/root/guide_book.json b/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/entries/root/guide_book.json new file mode 100644 index 0000000..b501b0b --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/patchouli_books/guide_book/en_us/entries/root/guide_book.json | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | { | ||
| 2 | "name": "Guide Book", | ||
| 3 | "icon": "patchouli:guide_book{'patchouli:book':'eris_alchemy:guide_book'}", | ||
| 4 | "category": "eris_alchemy:root", | ||
| 5 | "pages": [{ | ||
| 6 | "type": "patchouli:spotlight", | ||
| 7 | "title": "Guide Book", | ||
| 8 | "item": "patchouli:guide_book{'patchouli:book':'eris_alchemy:guide_book'}", | ||
| 9 | "link_recipe": true, | ||
| 10 | "text": "The Eris Alchemy $(item)Guide Book$() should be already in your inventory for obvious reasons, but if you ever lose it you can recreate it with this crafting recipe." | ||
| 11 | }, { | ||
| 12 | "type": "patchouli:crafting", | ||
| 13 | "recipe": "eris_alchemy:guide_book" | ||
| 14 | }] | ||
| 15 | } \ No newline at end of file | ||
diff --git a/src/main/resources/assets/eris_alchemy/textures/item/high_covalence_dust.png b/src/main/resources/assets/eris_alchemy/textures/item/high_covalence_dust.png new file mode 100644 index 0000000..4949eb8 --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/textures/item/high_covalence_dust.png | |||
| Binary files differ | |||
diff --git a/src/main/resources/assets/eris_alchemy/textures/item/low_covalence_dust.png b/src/main/resources/assets/eris_alchemy/textures/item/low_covalence_dust.png new file mode 100644 index 0000000..6a2f670 --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/textures/item/low_covalence_dust.png | |||
| Binary files differ | |||
diff --git a/src/main/resources/assets/eris_alchemy/textures/item/medium_covalence_dust.png b/src/main/resources/assets/eris_alchemy/textures/item/medium_covalence_dust.png new file mode 100644 index 0000000..e38d160 --- /dev/null +++ b/src/main/resources/assets/eris_alchemy/textures/item/medium_covalence_dust.png | |||
| Binary files differ | |||
diff --git a/src/main/resources/data/c/tags/items/leathers.json b/src/main/resources/data/c/tags/items/leathers.json new file mode 100644 index 0000000..3bae083 --- /dev/null +++ b/src/main/resources/data/c/tags/items/leathers.json | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | { | ||
| 2 | "replace": false, | ||
| 3 | "values": [ | ||
| 4 | { | ||
| 5 | "id": "#c:leather", | ||
| 6 | "required": false | ||
| 7 | }, | ||
| 8 | "minecraft:leather", | ||
| 9 | "minecraft:rabbit_hide" | ||
| 10 | ] | ||
| 11 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/advancements/grant_guide_on_first_join.json b/src/main/resources/data/eris_alchemy/advancements/grant_guide_on_first_join.json new file mode 100644 index 0000000..0b43b60 --- /dev/null +++ b/src/main/resources/data/eris_alchemy/advancements/grant_guide_on_first_join.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "criteria": { | ||
| 3 | "tick": { | ||
| 4 | "trigger": "minecraft:tick" | ||
| 5 | } | ||
| 6 | }, | ||
| 7 | "rewards": { | ||
| 8 | "loot": [ | ||
| 9 | "eris_alchemy:grant_guide_on_first_join" | ||
| 10 | ] | ||
| 11 | } | ||
| 12 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/loot_tables/grant_guide_on_first_join.json b/src/main/resources/data/eris_alchemy/loot_tables/grant_guide_on_first_join.json new file mode 100644 index 0000000..3566ef1 --- /dev/null +++ b/src/main/resources/data/eris_alchemy/loot_tables/grant_guide_on_first_join.json | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | { | ||
| 2 | "type": "advancement_reward", | ||
| 3 | "pools": [{ | ||
| 4 | "rolls": 1, | ||
| 5 | "entries": [{ | ||
| 6 | "type": "item", | ||
| 7 | "name": "patchouli:guide_book", | ||
| 8 | "functions": [{ | ||
| 9 | "function": "set_nbt", | ||
| 10 | "tag": "{\"patchouli:book\": \"eris_alchemy:guide_book\"}" | ||
| 11 | }] | ||
| 12 | }] | ||
| 13 | }] | ||
| 14 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/patchouli_books/guide_book/book.json b/src/main/resources/data/eris_alchemy/patchouli_books/guide_book/book.json new file mode 100644 index 0000000..da4be0b --- /dev/null +++ b/src/main/resources/data/eris_alchemy/patchouli_books/guide_book/book.json | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | { | ||
| 2 | "name": "book.eris_alchemy.title", | ||
| 3 | "subtitle": "book.eris_alchemy.subtitle", | ||
| 4 | "landing_text": "book.eris_alchemy.landing_text", | ||
| 5 | "use_resource_pack": true, | ||
| 6 | "pamphlet": true, | ||
| 7 | "creative_tab": "eris_alchemy:item_group", | ||
| 8 | "book_texture": "patchouli:textures/gui/book_cyan.png", | ||
| 9 | "model": "patchouli:book_cyan", | ||
| 10 | "show_progress": false | ||
| 11 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/recipes/guide_book.json b/src/main/resources/data/eris_alchemy/recipes/guide_book.json new file mode 100644 index 0000000..bbc4448 --- /dev/null +++ b/src/main/resources/data/eris_alchemy/recipes/guide_book.json | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | { | ||
| 2 | "type": "patchouli:shapeless_book_recipe", | ||
| 3 | "ingredients": [{ | ||
| 4 | "item": "eris_alchemy:low_covalence_dust" | ||
| 5 | }, { | ||
| 6 | "item": "minecraft:book" | ||
| 7 | }], | ||
| 8 | "book": "eris_alchemy:guide_book" | ||
| 9 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/recipes/high_covalence_dust.json b/src/main/resources/data/eris_alchemy/recipes/high_covalence_dust.json new file mode 100644 index 0000000..e4e142d --- /dev/null +++ b/src/main/resources/data/eris_alchemy/recipes/high_covalence_dust.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "type": "minecraft:crafting_shapeless", | ||
| 3 | "ingredients": [{ | ||
| 4 | "item": "minecraft:diamond" | ||
| 5 | }, { | ||
| 6 | "item": "minecraft:coal" | ||
| 7 | }], | ||
| 8 | "result": { | ||
| 9 | "item": "eris_alchemy:high_covalence_dust", | ||
| 10 | "count": 40 | ||
| 11 | } | ||
| 12 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/recipes/high_covalence_repair.json b/src/main/resources/data/eris_alchemy/recipes/high_covalence_repair.json new file mode 100644 index 0000000..7b87b44 --- /dev/null +++ b/src/main/resources/data/eris_alchemy/recipes/high_covalence_repair.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "type": "eris_alchemy:covalence_repair", | ||
| 3 | "dust": { | ||
| 4 | "item": "eris_alchemy:high_covalence_dust" | ||
| 5 | }, | ||
| 6 | "materials": [{ | ||
| 7 | "tag": "c:diamonds" | ||
| 8 | }, { | ||
| 9 | "tag": "c:netherite_ingots" | ||
| 10 | }], | ||
| 11 | "tools": [] | ||
| 12 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/recipes/low_covalence_dust.json b/src/main/resources/data/eris_alchemy/recipes/low_covalence_dust.json new file mode 100644 index 0000000..572e506 --- /dev/null +++ b/src/main/resources/data/eris_alchemy/recipes/low_covalence_dust.json | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | { | ||
| 2 | "type": "minecraft:crafting_shapeless", | ||
| 3 | "ingredients": [{ | ||
| 4 | "item": "minecraft:coal" | ||
| 5 | }, { | ||
| 6 | "item": "minecraft:cobblestone" | ||
| 7 | }, { | ||
| 8 | "item": "minecraft:cobblestone" | ||
| 9 | }, { | ||
| 10 | "item": "minecraft:cobblestone" | ||
| 11 | }, { | ||
| 12 | "item": "minecraft:cobblestone" | ||
| 13 | }, { | ||
| 14 | "item": "minecraft:cobblestone" | ||
| 15 | }, { | ||
| 16 | "item": "minecraft:cobblestone" | ||
| 17 | }, { | ||
| 18 | "item": "minecraft:cobblestone" | ||
| 19 | }, { | ||
| 20 | "item": "minecraft:cobblestone" | ||
| 21 | }], | ||
| 22 | "result": { | ||
| 23 | "item": "eris_alchemy:low_covalence_dust", | ||
| 24 | "count": 40 | ||
| 25 | } | ||
| 26 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/recipes/low_covalence_repair.json b/src/main/resources/data/eris_alchemy/recipes/low_covalence_repair.json new file mode 100644 index 0000000..343cd4f --- /dev/null +++ b/src/main/resources/data/eris_alchemy/recipes/low_covalence_repair.json | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | { | ||
| 2 | "type": "eris_alchemy:covalence_repair", | ||
| 3 | "dust": { | ||
| 4 | "item": "eris_alchemy:low_covalence_dust" | ||
| 5 | }, | ||
| 6 | "materials": [{ | ||
| 7 | "tag": "minecraft:planks" | ||
| 8 | }, { | ||
| 9 | "tag": "minecraft:stone_tool_materials" | ||
| 10 | }, { | ||
| 11 | "tag": "c:leathers" | ||
| 12 | }, { | ||
| 13 | "item": "minecraft:scute" | ||
| 14 | }], | ||
| 15 | "tools": [{ | ||
| 16 | "item": "minecraft:fishing_rod" | ||
| 17 | }, { | ||
| 18 | "item": "minecraft:bow" | ||
| 19 | }] | ||
| 20 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/recipes/medium_covalence_dust.json b/src/main/resources/data/eris_alchemy/recipes/medium_covalence_dust.json new file mode 100644 index 0000000..cf9cbce --- /dev/null +++ b/src/main/resources/data/eris_alchemy/recipes/medium_covalence_dust.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "type": "minecraft:crafting_shapeless", | ||
| 3 | "ingredients": [{ | ||
| 4 | "item": "minecraft:iron_ingot" | ||
| 5 | }, { | ||
| 6 | "item": "minecraft:redstone" | ||
| 7 | }], | ||
| 8 | "result": { | ||
| 9 | "item": "eris_alchemy:medium_covalence_dust", | ||
| 10 | "count": 40 | ||
| 11 | } | ||
| 12 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/recipes/medium_covalence_repair.json b/src/main/resources/data/eris_alchemy/recipes/medium_covalence_repair.json new file mode 100644 index 0000000..a75bf89 --- /dev/null +++ b/src/main/resources/data/eris_alchemy/recipes/medium_covalence_repair.json | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | { | ||
| 2 | "type": "eris_alchemy:covalence_repair", | ||
| 3 | "dust": { | ||
| 4 | "item": "eris_alchemy:medium_covalence_dust" | ||
| 5 | }, | ||
| 6 | "materials": [{ | ||
| 7 | "tag": "c:iron_ingots" | ||
| 8 | }, { | ||
| 9 | "tag": "c:gold_ingots" | ||
| 10 | }, { | ||
| 11 | "tag": "c:bronze_ingots" | ||
| 12 | }, { | ||
| 13 | "tag": "c:rubies" | ||
| 14 | }, { | ||
| 15 | "tag": "c:sapphires" | ||
| 16 | }, { | ||
| 17 | "tag": "c:green_sapphires" | ||
| 18 | }, { | ||
| 19 | "item": "minecraft:phantom_membrane" | ||
| 20 | }], | ||
| 21 | "tools": [{ | ||
| 22 | "item": "minecraft:flint_and_steel" | ||
| 23 | }, { | ||
| 24 | "item": "minecraft:shears" | ||
| 25 | }] | ||
| 26 | } \ No newline at end of file | ||
diff --git a/src/main/resources/eris_alchemy.mixins.json b/src/main/resources/eris_alchemy.mixins.json new file mode 100644 index 0000000..88e1a8c --- /dev/null +++ b/src/main/resources/eris_alchemy.mixins.json | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | { | ||
| 2 | "required": true, | ||
| 3 | "minVersion": "0.8", | ||
| 4 | "package": "lv.enes.mc.eris_alchemy.mixin", | ||
| 5 | "compatibilityLevel": "JAVA_17", | ||
| 6 | "mixins": [], | ||
| 7 | "client": [ | ||
| 8 | "ItemMixin" | ||
| 9 | ], | ||
| 10 | "injectors": { | ||
| 11 | "defaultRequire": 1 | ||
| 12 | } | ||
| 13 | } \ No newline at end of file | ||
diff --git a/src/main/resources/quilt.mod.json b/src/main/resources/quilt.mod.json new file mode 100644 index 0000000..c20037c --- /dev/null +++ b/src/main/resources/quilt.mod.json | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | { | ||
| 2 | "schema_version": 1, | ||
| 3 | "quilt_loader": { | ||
| 4 | "group": "lv.enes.mc", | ||
| 5 | "id": "eris_alchemy", | ||
| 6 | "version": "${version}", | ||
| 7 | "metadata": { | ||
| 8 | "name": "Eris Alchemy", | ||
| 9 | "description": "Adds the condensing chest from EE2.", | ||
| 10 | "contributors": { | ||
| 11 | "Eris": "Owner" | ||
| 12 | }, | ||
| 13 | "contact": { | ||
| 14 | "homepage": "https://TODO", | ||
| 15 | "issues": "https://TODO", | ||
| 16 | "sources": "https://TODO" | ||
| 17 | }, | ||
| 18 | "icon": "assets/eris_alchemy/icon.png" | ||
| 19 | }, | ||
| 20 | "intermediate_mappings": "net.fabricmc:intermediary", | ||
| 21 | "entrypoints": { | ||
| 22 | "init": "lv.enes.mc.eris_alchemy.ErisAlchemy" | ||
| 23 | }, | ||
| 24 | "depends": [{ | ||
| 25 | "id": "quilt_loader", | ||
| 26 | "versions": ">=0.23.0" | ||
| 27 | }, { | ||
| 28 | "id": "quilted_fabric_api", | ||
| 29 | "versions": ">=7.4.0" | ||
| 30 | }, { | ||
| 31 | "id": "minecraft", | ||
| 32 | "versions": "1.20.1" | ||
| 33 | }] | ||
| 34 | }, | ||
| 35 | "mixin": "eris_alchemy.mixins.json" | ||
| 36 | } \ No newline at end of file | ||