A big load of work on the new upgrade GUI

This commit is contained in:
Aidan C. Brady committed 2014-07-22 20:37:53 -04:00
1 parent 99482d8fd0
commit 6470f69569
6 files changed
+157 -5

No files matched your search

@@ -13,7 +13,6 @@ import mekanism.common.IUpgradeItem;
import mekanism.common.Upgrade;
import mekanism.common.tile.TileEntityContainerBlock;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
public class TileComponentUpgrade implements ITileComponent
{
@@ -138,6 +137,16 @@ public class TileComponentUpgrade implements ITileComponent
{
return supported.contains(upgrade);
}
public Set<Upgrade> getInstalledTypes()
{
return upgrades.keySet();
}
public Set<Upgrade> getSupportedTypes()
{
return supported;
}
@Override
public void read(ByteBuf dataStream)