Skip to content
tiffit edited this page Jun 28, 2016 · 7 revisions

Click here for the official TaleCraft wiki!

This wiki here is for scripting and can be used to easily find all methods and fields for classes.

If the script is ran from a block then you will be able to use the block's position (MutableBlockPos), and world (WorldObjectWrapper).

If the script is ran from an NPC every tick then you will be able to use the NPC's position (MutableBlockPos), world (WorldObjectWrapper), and the npc itself (NPCObjectWrapper).

If the script is ran from an NPC upon interaction you will be able to use everything from above as well as being able to use the player than interacted (PlayerObjectWrapper), and the itemstack that was used to interact (ItemStackObjectWrapper).

No matter what, you will always have access to system (GlobalScriptObject) and out (ConsoleOutput).

Talecraft Scripting Wiki

Clone this wiki locally