Skip to content

[WIP] FE Meter

BastouP411 edited this page Feb 12, 2021 · 2 revisions

This peripheral allows you to measure the energy flow passing inside it and to restrict it.

NOTE: This is still a WIP, and is only avaliable in creative mode, to be tested.

FE Meter

Crafting

Not avaliable yet.

Methods

The wraped peripheral will be named meter

meter.getEnergyStored(): number

Gets the energy that is stored inside the FE Meter.

meter.getMaxEnergyStored(): number

Gets the maximum energy that can be stored inside the FE Meter.

meter.getEnergyTransferedLastTick(): number

Gets the energy that the FE Meter actually transfered last tick.

meter.getTransferRate(): number

Gets the energy that the FE Meter allows to pass through every tick.

meter.setTransferRate(rate: number): number

Sets the energy that the FE Meter allows to pass through every tick to rate.

meter.getMaximumTransferRate(): number

Gets the maximum tranfer rate that can be set on the FE Meter.

Clone this wiki locally