Interface IEnergyModeHolder

All Known Implementing Classes:
BatterySocketBlockEntity, MachineBatteryBlockEntity, MachineSteamTurbineBlockEntity

public interface IEnergyModeHolder
Block entities that participate in EnergyNetwork as dual provider/receiver with a discrete operating mode (same encoding as MachineBatteryBlockEntity).
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    0 = BOTH, 1 = INPUT only, 2 = OUTPUT only, 3 = DISABLED
  • Method Details

    • getCurrentMode

      int getCurrentMode()
      0 = BOTH, 1 = INPUT only, 2 = OUTPUT only, 3 = DISABLED