mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Added energy config readiness to all configurable machines, still yet to actually implement energy management
This commit is contained in:
1 parent
1bff3a93da
commit
e70650154d
13 files changed
+86
-13
No files matched your search
@@ -9,10 +9,26 @@ public class SideData
|
||||
|
||||
/** Int[] of available side slots */
|
||||
public int[] availableSlots;
|
||||
|
||||
/** EnergyState representing this SideData */
|
||||
public EnergyState energyState;
|
||||
|
||||
public SideData(EnumColor colour, int[] slots)
|
||||
{
|
||||
color = colour;
|
||||
availableSlots = slots;
|
||||
}
|
||||
|
||||
public SideData(EnumColor colour, EnergyState state)
|
||||
{
|
||||
color = colour;
|
||||
energyState = state;
|
||||
}
|
||||
|
||||
public static enum EnergyState
|
||||
{
|
||||
INPUT,
|
||||
OUTPUT,
|
||||
OFF;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user