mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Energy Cubes and Gas Tanks now have configurable item inputs and gas/energy outputs, fixed Portable Tank item output
This commit is contained in:
1 parent
0a135a6936
commit
a22b33a629
24 files changed
+287
-118
No files matched your search
@@ -18,11 +18,11 @@ public class SideData
|
||||
/** The name of this SideData */
|
||||
public String name;
|
||||
|
||||
/** Int[] of available side slots, can be used for items, gases, or items */
|
||||
/** int[] of available side slots, can be used for items, gases, or items */
|
||||
public int[] availableSlots;
|
||||
|
||||
/** EnergyState representing this SideData */
|
||||
public EnergyState energyState;
|
||||
/** IOState representing this SideData */
|
||||
public IOState ioState;
|
||||
|
||||
public SideData(String n, EnumColor colour, int[] slots)
|
||||
{
|
||||
@@ -31,11 +31,11 @@ public class SideData
|
||||
availableSlots = slots;
|
||||
}
|
||||
|
||||
public SideData(String n, EnumColor colour, EnergyState state)
|
||||
public SideData(String n, EnumColor colour, IOState state)
|
||||
{
|
||||
name = n;
|
||||
color = colour;
|
||||
energyState = state;
|
||||
ioState = state;
|
||||
}
|
||||
|
||||
public String localize()
|
||||
@@ -87,7 +87,7 @@ public class SideData
|
||||
return (GasTank)tanks[0];
|
||||
}
|
||||
|
||||
public static enum EnergyState
|
||||
public static enum IOState
|
||||
{
|
||||
INPUT,
|
||||
OUTPUT,
|
||||
|
||||
Reference in new issue
Block a user