mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Finished implementation of sided energy configuration. Yay!
This commit is contained in:
1 parent
e70650154d
commit
1f59f8ca1d
9 files changed
+61
-2
No files matched your search
@@ -3,6 +3,7 @@ package mekanism.common.tile;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
|
||||
import mekanism.api.Coord4D;
|
||||
@@ -365,6 +366,12 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
|
||||
prevEnergy = getEnergy();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumSet<ForgeDirection> getConsumingSides()
|
||||
{
|
||||
return configComponent.getSidesForData(TransmissionType.ENERGY, facing, 1);
|
||||
}
|
||||
|
||||
public void sortInventory()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user