Component name: tank_controller
This component is provided by the tank controller upgrade.
With this API the robot can store fluids, “suck” fluids, and “drop” fluids to and from tanks and the world. It also allows the robot to receive additional information about fluid containers in the robot's inventory, as well as inspecting fluid stacks.
Callbacks:
getTankCapacity(side:number):number or nil[, string]
getTankLevel(side:number):number or nil[,string]
getFluidInTank(side:number):table
getFluidInInternalTank()
getFluidInInternalTank(slot):table
Get a description of fluid in the specified or selected slot of robot inventory.drain([amount:number]):boolean
fill([amount:number]):boolean
getTankCapacityInSlot(slot:number):number
getTankLevelInSlot(slot:number):number
getFluidInTankInSlot(slot:number):table
Components | 3D Printer - Abstract Bus - Access Point - Chunkloader - Computer - Crafting - Data Card - Database - Debug - Drone - Drive - EEPROM - Experience - Filesystem - Generator - Geolyzer - GPU - Hologram - Internet - Inventory Controller - Leash - Microcontroller - Modem - Motion Sensor - Navigation - Net Splitter - Piston - Redstone - Redstone in Motion - Robot - Screen - Sign - Tank Controller - Tractor Beam - Transposer - Tunnel - World Sensor | |
---|---|---|
Others | Component Access - Signals | |
Cross-Mod Integration | Applied Energistics |