GregTech Battery Buffer Driver for OpenComputers
Modby Forge_User_97178965
Adds a driver to OpenComputers that can read properties of a GregTech Battery Buffer.
Description
OpenComputers Driver for GregTech Battery Buffers
This mod allows the Adapter block from OpenComputers to read information about the Battery Buffers from GregTech: Community Edition.
It provides the following functions:
local component = require("component")
local b = component.battery_buffer
-- Returns the charge of the buffer or of a single battery (indexed starting from 0)
b.getCharge()
b.getSingleCharge(0)
b.getCapacity()
b.getSingleCapacity(0)
-- Returns the Input/Output Voltage/Amperage of the buffer
b.getInputVoltage()
b.getInputAmperage()
b.getOutputVoltage()
b.getOutputAmperage()
-- Returns the number of batteries that are actually in the buffer right now
b.getBatteryCount()
-- Returns the number of slots the buffer has
b.getBatterySlots()
The project is licensed under the MIT License. Therefore you are free to use this mod in your modpack.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Normal Damage
Mobs deal normal damage to player regardless of difficulty.
Enchanting Commands
💫 Easy creation of (modded) enchanted items via commands with levels above the default limit.
Epic Fight - EDP (Extended Datapacks)
Allows you to add Passive Skills to categories in datapacks, as well as use SkillDatakeys in Styles, Charged Attakcs and...
Telepad
Taking teleports to a whole new level
Horror Cryptid: Sasquatch (Bigfoot)
Adds Sasquatch (Bigfoot) to the game in a scary way
Ender IO Forestry
Forestry integration module for a modular Ender IO installation