-
Notifications
You must be signed in to change notification settings - Fork 3
API Functions
John O'Connell edited this page May 20, 2018
·
4 revisions
Placing an adapter next to a Thaumcraft block that can contain aspects will add a component to the computer's component list named for the block.
Component methods:
-
getAspects()
Returns a map of aspects in the block{}
for none -
getAspectNames()
Return an array of names of aspects in a block{}
-
getAspectCount(aspect)
Returns the number of a specified aspect in the block, 0 for none of that aspect
OpenComputers Inventory Controller Upgrades allow adapters to read the contents of adjacent inventories.
Thaumic Computers extends the information returned about an item by adding its list of aspects to calls that return ItemStack data.
-
getOwner()
Returns the login name of the owner of the seal -
getType()
Returns the localized name of the seal -
getArea()
Returns x,y,z radius values for effect area centered on seal -
getColor()
Returns the color name the seal is set to -
getIsRedstoneSensitive()
Returns boolean if seal responds to redstone -
getIsLocked()
Returns boolean if seal is set to locked -
getRequiredTags()
Returns array of tags that golems must have to fulfill the seal orders -
getForbiddenTags()
Returns array of tags that golems must not have to fulfill the seal orders -
getFilterSize()
Returns integer value of number of slots in the seal's filter. 0 if the seal has no filter getFilter()
getProperties()
getPriority()