mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
A big load of work on the new upgrade GUI
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user