Difference between revisions of "ModTweaker:Thaumcraft 4 Support:Research"

From MineTweaker 3
Jump to: navigation, search
(Created page with "== The Basics == Each research is identified by a unique string called its Key. The general naming scheme is for the Key to be in all caps. Exceptions to this are wand part...")
 
Line 11: Line 11:
 
  mods.thaumcraft.Research.orphanResearch("ROD_greatwood");
 
  mods.thaumcraft.Research.orphanResearch("ROD_greatwood");
 
  mods.thaumcraft.Research.removeResearch("ROD_greatwood");
 
  mods.thaumcraft.Research.removeResearch("ROD_greatwood");
 +
 +
== Research Tabs ==
 +
 +
Each research tab is also identified with its own unique string.  These are important to know if you want to remove a tab or place a new research in one.
 +
 +
Known Tab Keys:
 +
* BASICS
 +
* THAUMATURGY
 +
* ALCHEMY
 +
* ARTIFICE
 +
* GOLEMANCY
 +
* FORBIDDEN (Apocrypha)
 +
* TT_CATEGORY (Thaumic Tinkering)
 +
* RAILCRAFT (Traheremagy)
 +
 +
{{ModTweakerNavigation}}

Revision as of 11:12, 17 July 2014

The Basics

Each research is identified by a unique string called its Key. The general naming scheme is for the Key to be in all caps. Exceptions to this are wand parts, which tend to come in the ROD_blah or CAP_blahblah format. If you want to alter an existing research, you'll need to know its key.

Removing Research

Research can be removed with the removeResearch() method. However, if the research was used as prerequisite for anything, the Thaumonomicon will cause the game to crash when opened to that research's tab. You can use orphanResearch() to cut all ties to a research to make it safe to remove, or use clearPrereqs() to clear the prerequisites off of specific researches.

Example:

//ResearchKey
mods.thaumcraft.Research.orphanResearch("ROD_greatwood");
mods.thaumcraft.Research.removeResearch("ROD_greatwood");

Research Tabs

Each research tab is also identified with its own unique string. These are important to know if you want to remove a tab or place a new research in one.

Known Tab Keys:

* BASICS
* THAUMATURGY
* ALCHEMY
* ARTIFICE
* GOLEMANCY
* FORBIDDEN (Apocrypha)
* TT_CATEGORY (Thaumic Tinkering)
* RAILCRAFT (Traheremagy)



ModTweaker Supported Mods

Applied Energistics 2 | Aura Cascade | Botania | Chisel 2 | Ex Nihilo | Extra Utilities | Factorization | Flaxbeard's Steam Power Support | Forestry | Mariculture | Mekanism | Metallurgy 4 | PneumaticCraft | Railcraft | Thaumcraft 4 | Thermal Expansion | Tinker's Construct