mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 13:29:40 +00:00
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:
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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user