FANDOM


2013-11-07 20.07.29

Commands make this mod very powerful. Upon opening a Tank Controller the player will immediately notice a black command line interface on the monitor. This is where various commands can be inserted allow the user to gain extensive knowledge about their mult-tank. In addition the user can set various variables.

Get CommandsEdit

'Get' Commands are commands that get information about your multi-tank. Bellow are a list of get commands and what they do.

getLiquids()
  • Will return line by line the names of the liquids currently being stored.
getNumStored()
  • Will return the number of liquids being stored.
getCapacity()
  • Will return the capacity that this mult-tank current has.
getIndex()
  • Will return the currently selected index. This index coresponds to which liquid should be drained or filled into a tank. Please note that the first index is actually 0.
getAmountOfEa()
  • Will return line by line the fluid id and the current amount of that liquid that is being stored.
getLiquidAt(index)
  • Will return the name of liquid at the index that is passed in. The first liquid in this tank will be at index 0.
getLiqAmtAt(index)
  • Will return the amount of liquid at the index that is passed in. The first liquid in this tank will be at index 0.
getNeighbors()
  • Will return the number of Tank Blocks currently attached and interacting with the multi-tank.
getMaxAlwdStrg()
  • Will return the maximum number of liquids allowed to be stored in the current multi-tank.
getCurrentCamo()
  • Will return the blockID of the block that the Tank Controller is currently camouflaged as.

Set CommandsEdit

Set Commands are a list of commands that allow you to set values that have to do with your multi-tank.

setCamo(blockID)
  • Will set the camouflage of the Tank Controller to the value passed in. Returns if successful.
setCamoMeta(blockID, meta)
  • Will set the camouflage of the Tank Controller to the value passed in in addition to that blocks metadata (Useful for wools for example). Returns if successful.
setIndex(index)
  • Will set the index for which liquids will be filled or extracted from. Returns true if successful.
setDye(colorMeta)
  • Will set the dye color of the Tank Contoller to the value passed in. The value to be passed in correspond to the metadata(damage) of the dye item.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.