From 9d1d8fc01f2ef1791bc4ef8f5775604345ab0092 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Sat, 16 Jan 2021 09:54:00 -0500 Subject: [PATCH] Added a quick and dirty section on anointments. Probably messed up the formatting for "extra_recipe_mappings" --- src/generated/resources/.cache/cache | 2 +- .../assets/bloodmagic/lang/en_us.json | 4 +- .../common/data/GeneratorLanguage.java | 4 +- .../en_us/entries/utility/anointments.json | 83 +++++++++++++++++++ 4 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 src/main/resources/data/bloodmagic/patchouli_books/guide/en_us/entries/utility/anointments.json diff --git a/src/generated/resources/.cache/cache b/src/generated/resources/.cache/cache index 1c9e8501..69cd9ffe 100644 --- a/src/generated/resources/.cache/cache +++ b/src/generated/resources/.cache/cache @@ -58,7 +58,7 @@ e6d9cf699667aaa47efff37b2b033895dee29c15 assets/bloodmagic/blockstates/waterritu 42f26f715bddd16c069f9b51e3767b36477c8908 assets/bloodmagic/blockstates/woodtilepath.json 3c6ce233dae6c1307d9016406c324bbe844b4e1e assets/bloodmagic/blockstates/wornstonebrickpath.json d59655f12d1724b73b77c373fb6864fcff69db12 assets/bloodmagic/blockstates/wornstonetilepath.json -38c84e82a23764bfcb25b706227e3c6715884009 assets/bloodmagic/lang/en_us.json +53c238d0ba2c0f02bc268f69e8040a0f0a4418ef assets/bloodmagic/lang/en_us.json 34445195b9f2459475cde53454bc8e37d32865d7 assets/bloodmagic/models/block/accelerationrune.json bcdbccc49d4509571be6988762ab87126275a4c8 assets/bloodmagic/models/block/airritualstone.json adf6c0b1e25451609486dc8c8cfbd9cf0f8c67f4 assets/bloodmagic/models/block/alchemicalreactionchamber.json diff --git a/src/generated/resources/assets/bloodmagic/lang/en_us.json b/src/generated/resources/assets/bloodmagic/lang/en_us.json index dd7c5fd7..5a7ae5ce 100644 --- a/src/generated/resources/assets/bloodmagic/lang/en_us.json +++ b/src/generated/resources/assets/bloodmagic/lang/en_us.json @@ -1,7 +1,7 @@ { "anointment.bloodmagic.bow_power": "Heavy Shot", "anointment.bloodmagic.fortune": "Fortunate", - "anointment.bloodmagic.hidden_knowledge": "Hidden Knowledge", + "anointment.bloodmagic.hidden_knowledge": "Miner's Secrets", "anointment.bloodmagic.holy_water": "Holy Light", "anointment.bloodmagic.looting": "Plundering", "anointment.bloodmagic.melee_damage": "Whetstone", @@ -118,7 +118,7 @@ "item.bloodmagic.goldsand": "Gold Sand", "item.bloodmagic.gravel_netherite_scrap": "Ancient Debris Gravel", "item.bloodmagic.growthsigil": "Sigil of the Green Grove", - "item.bloodmagic.hidden_knowledge_anointment": "Liquid Knowledge", + "item.bloodmagic.hidden_knowledge_anointment": "Miner's Secrets", "item.bloodmagic.holy_water_anointment": "Holy Water", "item.bloodmagic.icesigil": "Sigil of the Frozen Lake", "item.bloodmagic.infusedslate": "Imbued Slate", diff --git a/src/main/java/wayoftime/bloodmagic/common/data/GeneratorLanguage.java b/src/main/java/wayoftime/bloodmagic/common/data/GeneratorLanguage.java index 6d5ed346..37225133 100644 --- a/src/main/java/wayoftime/bloodmagic/common/data/GeneratorLanguage.java +++ b/src/main/java/wayoftime/bloodmagic/common/data/GeneratorLanguage.java @@ -351,7 +351,7 @@ public class GeneratorLanguage extends LanguageProvider add("anointment.bloodmagic.silk_touch", "Soft Touch"); add("anointment.bloodmagic.fortune", "Fortunate"); add("anointment.bloodmagic.holy_water", "Holy Light"); - add("anointment.bloodmagic.hidden_knowledge", "Hidden Knowledge"); + add("anointment.bloodmagic.hidden_knowledge", "Miner's Secrets"); add("anointment.bloodmagic.quick_draw", "Deft Hands"); add("anointment.bloodmagic.bow_power", "Heavy Shot"); add("anointment.bloodmagic.looting", "Plundering"); @@ -541,7 +541,7 @@ public class GeneratorLanguage extends LanguageProvider addItem(BloodMagicItems.SILK_TOUCH_ANOINTMENT, "Soft Coating"); addItem(BloodMagicItems.FORTUNE_ANOINTMENT, "Fortuna Extract"); addItem(BloodMagicItems.HOLY_WATER_ANOINTMENT, "Holy Water"); - addItem(BloodMagicItems.HIDDEN_KNOWLEDGE_ANOINTMENT, "Liquid Knowledge"); + addItem(BloodMagicItems.HIDDEN_KNOWLEDGE_ANOINTMENT, "Miner's Secrets"); addItem(BloodMagicItems.QUICK_DRAW_ANOINTMENT, "Dexterity Alkahest"); addItem(BloodMagicItems.BOW_POWER_ANOINTMENT, "Iron Tip"); addItem(BloodMagicItems.LOOTING_ANOINTMENT, "Plunderer's Glint"); diff --git a/src/main/resources/data/bloodmagic/patchouli_books/guide/en_us/entries/utility/anointments.json b/src/main/resources/data/bloodmagic/patchouli_books/guide/en_us/entries/utility/anointments.json new file mode 100644 index 00000000..5aeff697 --- /dev/null +++ b/src/main/resources/data/bloodmagic/patchouli_books/guide/en_us/entries/utility/anointments.json @@ -0,0 +1,83 @@ +{ + "name": "Anointments", + "icon": "bloodmagic:melee_anointment", + "category": "utility", + "extra_recipe_mappings":[ + ["bloodmagic:slate_vial", 2], + ["bloodmagic:melee_anointment", 3], + ["bloodmagic:fortune_anointment", 4], + ["bloodmagic:silk_touch_anointment", 5], + ["bloodmagic:holy_water_anointment", 6], + ["bloodmagic:hidden_knowledge_anointment", 7], + ["bloodmagic:bow_power_anointment", 8], + ["bloodmagic:quick_draw_anointment", 9], + ["bloodmagic:looting_anointment", 10], + ["bloodmagic:smelting_anointment", 11] + ], + "pages": [ + { + "type": "text", + "text": "Anointments are essentially Potion Effects for your tools and weapons. By right-clicking with the $(item)Anointment$() in one hand, it will be applied to the tool or weapon in your other hand. Not all Anointments work on all equipment!" + }, + { + "type": "crafting_alchemy_table", + "heading": "Slate-infused Vial", + "recipe": "bloodmagic:alchemytable/slate_vial", + "text": "A sturdy Vial that can contain otherwise uncontainable mixtures." + }, + { + "type": "crafting_alchemy_table", + "heading": "Honing Oil", + "recipe": "bloodmagic:alchemytable/melee_damage_anointment", + "text": "Temporarily increases the melee damage dealt by +3. $(br2)Valid items: Tools, Swords.$(br2)Applies: Whetstone I (256)" + }, + { + "type": "crafting_alchemy_table", + "heading": "Fortuna Extract", + "recipe": "bloodmagic:alchemytable/fortune_anointment", + "text": "Increases the yield of some harvested blocks. Also stacks with the Fortune enchantment.$(br2)Valid items: Tools, Swords.$(br2)Applies: Fortunate I (256)" + }, + { + "type": "crafting_alchemy_table", + "heading": "Soft Coating", + "recipe": "bloodmagic:alchemytable/silk_touch_anointment", + "text": "Applies Silk Touch to blocks harvested. Does not stack with the vanilla enchantment.$(br2)Valid items: Tools, Swords.$(br2)Applies: Soft Touch I (256)" + }, + { + "type": "crafting_alchemy_table", + "heading": "Holy Water", + "recipe": "bloodmagic:alchemytable/holy_water_anointment", + "text": "Temporarily increases the melee damage dealt to undead mobs by +5.$(br2)Valid items: Tools, Swords.$(br2)Applies: Holy Light I (256)" + }, + { + "type": "crafting_alchemy_table", + "heading": "Miner's Secrets", + "recipe": "bloodmagic:alchemytable/hidden_knowledge_anointment", + "text": "Blocks drop exp on successful harvest. Drops +2exp per block.$(br2)Valid items: Tools, Swords.$(br2)Applies: Miner's Secrets I (256)" + }, + { + "type": "crafting_alchemy_table", + "heading": "Iron Tip", + "recipe": "bloodmagic:alchemytable/bow_power_anointment", + "text": "Increases the damage of fired arrows by 25%. Also stacks with Vanilla enchantments.$(br2)Valid items: Bows, Crossbows.$(br2)Applies: Heavy Shot I (256)" + }, + { + "type": "crafting_alchemy_table", + "heading": "Dexterity Alkahest", + "recipe": "bloodmagic:alchemytable/quick_draw_anointment", + "text": "Lowers the draw time of bows and crossbows by 33%.$(br2)Valid items: Bows, Crossbows.$(br2)Applies: Deft Hands I (256)" + }, + { + "type": "crafting_alchemy_table", + "heading": "Plunderer's Glint", + "recipe": "bloodmagic:alchemytable/looting_anointment", + "text": "Increases the drops from killed mobs. Also stacks with the Looting enchantment.$(br2)Valid items: Tools, Swords.$(br2)Applies: Plundering I (256)" + }, + { + "type": "crafting_alchemy_table", + "heading": "Slow-burning Oil", + "recipe": "bloodmagic:alchemytable/smelting_anointment", + "text": "Uses heat to smelt harvested blocks.$(br2)Valid items: Tools, Swords.$(br2)Applies: Heated Tool I (256)" + } + ] +} \ No newline at end of file