-
Notifications
You must be signed in to change notification settings - Fork 0
Thaumcraft Integration
TCreopargh edited this page Feb 13, 2021
·
3 revisions
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) |
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 | - | - |
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) |