Created a new prefab TileEntityMultiblock class and merged all Dynamic Tank multiblock-specific code into it.

Should make it much easier to create the new Steam Boiler and Steam Turbine!
This commit is contained in:
Aidan C. Brady committed 2014-08-22 16:17:16 -04:00
1 parent 55e70d5f5c
commit 8cae029ed7
8 files changed
+300 -205

No files matched your search

@@ -4,8 +4,7 @@ import java.util.HashSet;
import java.util.Set;
import mekanism.api.Coord4D;
import mekanism.common.content.tank.SynchronizedTankData;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.item.ItemStack;
public abstract class SynchronizedData<T>
{
@@ -21,6 +20,17 @@ public abstract class SynchronizedData<T>
public int inventoryID;
public boolean didTick;
public boolean hasRenderer;
public Coord4D renderLocation;
public ItemStack[] getInventory()
{
return null;
}
@Override
public int hashCode()
{