EnergyStorageCaps

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.capability.EnergyStorageCaps;

Members

Field
script.zs
// EnergyStorageCaps.BLOCK as BlockCapability<Direction, IEnergyStorage>
EnergyStorageCaps.BLOCK

Return Type: BlockCapability<Direction, IEnergyStorage>

Field
script.zs
// EnergyStorageCaps.ENTITY as EntityCapability<Direction, IEnergyStorage>
EnergyStorageCaps.ENTITY

Return Type: EntityCapability<Direction, IEnergyStorage>

Field
script.zs
// EnergyStorageCaps.ITEM as ItemCapability<Void, IEnergyStorage>
EnergyStorageCaps.ITEM

Return Type: ItemCapability<Void, IEnergyStorage>