Thaumcraft Integration - TCreopargh/CraftTweakerIntegration GitHub Wiki
IPlayerKnowledge
You can get an instance of IPlayerKnowledge by calling thaumcraftKnowledge getter on an IPlayer.
| Method | Description |
|---|---|
| void clear() | |
| String getResearchStatus(String research) | |
| boolean isResearchComplete(String research) | |
| boolean isResearchKnown(String research) | |
| int getResearchStage(String research) | |
| boolean addResearch(String research) | |
| boolean setResearchStage(String research, int stage) | |
| boolean removeResearch(String research) | |
| String[] getResearchList() | |
| boolean setResearchFlag(String research, String researchFlag) | |
| boolean clearResearchFlag(String research, String researchFlag) | |
| boolean hasResearchFlag(String research, String researchFlag) | |
| void sync(IPlayer player) |
IPlayer Expansion
You can call these on an IPlayer instance.
| ZenGetter | return type | ZenSetter | parameter | Description |
|---|---|---|---|---|
| warpNormal | int | warpNormal | int | |
| warpTemporary | int | warpTemporary | int | |
| warpPermanent | int | warpPermanent | int | |
| thaumcraftKnowledge | IPlayerKnowledge | - | - |
IWorld Expansion
You can call these on an IWorld instance.
| Method | Description |
|---|---|
| public static void addVis(IWorld world, IBlockPos pos, float amount) | |
| public static void addFlux(IWorld world, IBlockPos pos, float amount) | |
| public static void drainVis(IWorld world, IBlockPos pos, float amount, @Optional boolean simulate) | |
| public static void drainFlux(IWorld world, IBlockPos pos, float amount, @Optional boolean simulate) | |
| public static float getVis(IWorld world, IBlockPos pos) | |
| public static float getFlux(IWorld world, IBlockPos pos) | |
| public static float getAuraBase(IWorld world, IBlockPos pos) | |
| public static float getTotalAura(IWorld world, IBlockPos pos) |