Trying to figure out formatting, its... going

This commit is contained in:
LazyFleshWasTaken committed 2026-02-08 15:00:22 -08:00
1 parent 6e25ac5343
commit a524b5feaa
3 files changed
+13 -2

No files matched your search

@@ -1,5 +1,8 @@
package fox.spiteful.forbidden;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.IReloadableResourceManager;
import net.minecraft.client.resources.IResourceManager;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
@@ -88,5 +91,12 @@ public class Forbidden {
wandLord = new WandOverlord();
WandTriggerRegistry.registerWandBlockTrigger(wandLord, 1, Blocks.obsidian, 0);
WandTriggerRegistry.registerWandBlockTrigger(wandLord, 1, Blocks.netherrack, 0);
if (Minecraft.getMinecraft().getResourceManager() instanceof IReloadableResourceManager manager) {
manager.registerReloadListener(
(IResourceManager manager2) -> {
ForbiddenResearch.addResearch();
});
}
}
}
@@ -10,6 +10,7 @@ import net.minecraft.util.ResourceLocation;
import fox.spiteful.forbidden.blocks.ForbiddenBlocks;
import fox.spiteful.forbidden.compat.Compat;
import fox.spiteful.forbidden.items.ForbiddenItems;
import net.minecraft.util.StatCollector;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
@@ -478,7 +479,7 @@ public class ForbiddenResearch {
3,
new ItemStack(ForbiddenItems.wandCore, 1, 0)))
.setPages(
new ResearchPage[] { new ResearchPage("forbidden.research_page.ROD_tainted.1"),
new ResearchPage[] { new ResearchPage(StatCollector.translateToLocalFormatted("forbidden.research_page.ROD_tainted.1", Config.taintedCoreCap)),
new ResearchPage((InfusionRecipe) recipes.get("WandRodTainted")) })
.setParents(new String[] { "ROD_silverwood", "TAINTSHOVEL", "INFUSION" }).setConcealed()
.registerResearchItem();
@@ -199,7 +199,7 @@ forbidden.research_page.TAINTPICK.1=By infusing a thaumium pickaxe with taint, y
#
forbidden.research_name.ROD_tainted=Tainted Wand Core
forbidden.research_text.ROD_tainted=Squiggly vis storage
forbidden.research_page.ROD_tainted.1=Tainted Lands are places of great and terrible power for those Thaumaturges who know how to tap into them.<BR><BR>The Tainted Wand Core can store up to 150 vis of each type and slowly replenishes itself up to 10% in every aspect as long as it is being held inside of a Tainted Land. While the wand is held in your hand, it can also feed off of taint coursing through your veins, randomly restoring vis every time you take damage from flux taint.
forbidden.research_page.ROD_tainted.1=Tainted Lands are places of great and terrible power for those Thaumaturges who know how to tap into them.<BR><BR>The Tainted Wand Core can store up to %d vis of each type and slowly replenishes itself up to 10% in every aspect as long as it is being held inside of a Tainted Land. While the wand is held in your hand, it can also feed off of taint coursing through your veins, randomly restoring vis every time you take damage from flux taint.
#
forbidden.research_name.TAINTTREE=Tainted Tree
forbidden.research_text.TAINTTREE=The root of flux bears gross fruit