Java net.minecraftforge.energy IEnergyStorage fields, constructors, methods, implement or subclass

Example usage for Java net.minecraftforge.energy IEnergyStorage fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for net.minecraftforge.energy IEnergyStorage.

The text is from its open source code.

Implementation

net.minecraftforge.energy.IEnergyStorage has the following implementations.
Click this link to see all its implementation.

Constructor

Method

booleancanExtract()
Returns if this storage can have energy extracted.
booleancanReceive()
Used to determine if this storage can receive energy.
intextractEnergy(int maxExtract, boolean simulate)
Removes energy from the storage.
intgetEnergyStored()
Returns the amount of energy currently stored.
intgetMaxEnergyStored()
Returns the maximum amount of energy that can be stored.
intreceiveEnergy(int maxReceive, boolean simulate)
Adds energy to the storage.