Skip to content

Peripheral Documentation Beta

Katrina Swales edited this page Mar 5, 2014 · 1 revision

Thaumic Tinkerer makes some of it's blocks, along with some base Thaumcraft blocks be usable as ComputerCraft peripherals.

Documentation Index

Thaumic Tinkerer:

Thaumcraft

Dynamism Tablet Commands

getRedstone()
Returns: boolean
Gets if the tablet is in Redstone Control mode.

setRedstone(boolean)
Returns: nil
Sets the tablet's Redstone Control mode to the one specified.

getLeftClick()
Returns: boolean
Gets if the tablet is in Left Click mode.

setLeftClick(boolean)
Returns: nil
Sets the tablet's click mode to the one specified, false is Left Click, true is Right Click.

getRotation()
Returns: int
Gets the rotation of the tablet.

setRotation(int)
Returns: nil
Sets the tablet's rotation the the one passed in. Valid values are between 0 and 3, inclusive.

hasItem()
Returns: boolean
Gets if the tablet has an item in it.

trigger()
Returns: boolean
Triggers the tablet to do it's action. Even if it normally wouldn't. Returns false if the tablet is already working, true if it triggered.

Kinetic Attractor Commands

isPulling()
Returns: boolean
Gets if the attractor is pulling in (blue mode).

setPulling(boolean)
Returns: nil
Sets the attractor's mode to the one passed in, true is blue, false is red.

getSignal()
Returns: int
Gets the redstone signal currently being applied to the attractor.

Corporeal Attractor Commands

Commands Inherited from Kinetic Attractor, see above

getAdultSearch()
Returns: boolean Gets if the attractor is looking for adult animals.

setAdultSearch(boolean)
Returns: nil
Sets the attractor's search mode for animals, true for adults, false for children.

Aspectalyzer Commands

hasItem()
Returns: boolean
Checks if there's a item in the inventory.

itemHasAspects()
Returns: boolean
Checks if the item in the inventory has aspects.

getAspects()
Returns: string array
Gets an array representing the list of all aspects in the item in the inventory.

getAspectCount(string) Returns: int
Gets the amount of aspects in the item of the type passed in.

Transvector Interface Commands

Commands Inherited from Aspect Container, see below

isBound()
Returns: boolean
Gets if the Transvector Interface is bound to something.

isInventory()
Returns: boolean
Gets if the Transvector Interface is bound to an inventory.

isSidedInventory()
Returns: boolean
Gets if the Transvector Interface is bound to a sided inventory.

isFluidContainer()
Returns: boolean
Gets if the Transvector Interface is bound to a fluid container.

isMJHandler()
Returns: boolean
Gets if the Transvector Interface is bound to a block that accepts MJ power (from BuildCraft).

isEUHandler()
Returns: boolean
Gets if the Transvector Interface is bound to a block that accepts EU power (from IC2).

isRFHandler()
Returns: boolean
Gets if the Transvector Interface is bound to a block that accepts RF power (from Thermal Expansion).

isAspectContainer()
Returns: boolean
Gets if the Transvector Interface is bound to a block that contains aspects (see Aspect Container Commands below, if this is true, these commands can be used).

isAspectTransport()
Returns: boolean
Gets if the Transvector Interface is bound to an aspect transport block (a block that can be hooked to essentia tubes).

Golem Connector Commands

getDecorations()
Returns: string array
Gets an array representing the decorations the golem is wearing

getPosition()
Returns: X Y Z
Returns 3 integers representing the position of the golem

getType()
Returns: String
Returns the type of the golem

getHealth()
Returns: Integer
Returns the current health of the golem

getCore()
Returns: String
Returns the current core in the golem

getHome()
Returns: X Y Z Facing
Returns the position and the facing of the block the golem is attached to

setHome(X,Y,Z,Facing)
Returns: X Y Z Facing
Sets the block the golem is attached to and the facing, returns the new position

Marker Table
Table containing a marker

  • posX - X Position of the marker
  • posY - Y Position of the marker
  • posZ - Z Position of the marker
  • side - Side of the block the marker is on
  • color - color of the marker
  • dim - dimension the marker is in

getMarkers()
Returns: Marker Table Array
Returns an array of Marker tables.

setMarkers(Marker table Array)
Returns: Marker Table Array
Sets the markers on a golem, returns the new list

newMarker()
Returns: Blank Marker table
Returns a blank marker for a golem It does not save it

addMarker(Marker table)
Returns: Marker table
Adds the marker to the end of the marker list

saveMarker(Integer,Marker table)
Returns: Marker table
Saves the Marker table at the position given

deleteMarker(Integer)
Returns: Nothing
Deletes the Marker at the position given

getMarker(Integer)
Returns: Marker table
Returns given Marker Table

getMarkerCount()
Returns: Integer
Returns amount of markers on the golem

Aspect Container Commands

Or everything that has Aspects you can see with Goggles of Revealing
getAspects()
Returns: string array
Gets an array representing the list of all aspects in the block.

getAspectCount(string)
Returns: int
Gets the amount of aspects in the block of the type passed in.

Deconstruction Table Commands

hasAspect()
Returns: boolean
Gets if the table has an aspect in it.

hasItem()
Returns: boolean
Gets if the table has an item in it.

getAspect() Returns: string
Gets the aspect in the table, returns nil if there's none.

Brain in a Jar Commands

getXP()
Returns: int
Gets the amount of XP in the jar.

Arcane Ear Commands

getNote()
Returns: int
Gets the note the ear is set to.

setNote(int)
Returns: nil
Sets the ear's note to the one passed.

Arcane Bore Commands

hasPickaxe()
Returns: boolean
Gets if the bore has a pickaxe.

hasFocus()
Returns: boolean
Gets if the bore has a focus.

isPickaxeBroken()
Returns: boolean
Gets if the pickaxe in the bore (if any) only has 1 durability point left.

isWorking()
Returns: boolean
Gets if the bore is working.

getRadius()
Returns: int
Gets the radius of the bore's mining power.

getSpeed()
Returns: int
Gets the speed of the bore's mining power.

hasNativeClusters()
Returns: boolean
Gets if the bore can get native clusters.

hasSilkTouch()
Returns: boolean
Gets if the bore has silk touch.

getFortune()
Returns: int
Returns the level of fortune the bore has.