mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Make a start on the boiler.
It's currently causing odd issues with the heat simulator and has various issues such as balance not existing yet. Also improve the specification of a load of the multiblock generics to reduce needless casting.
This commit is contained in:
1 parent
ccf7a37b22
commit
385a1d29f6
25 files changed
+1236
-38
No files matched your search
@@ -25,7 +25,7 @@ import net.minecraftforge.fluids.IFluidContainerItem;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
public class TileEntityDynamicTank extends TileEntityMultiblock<SynchronizedTankData> implements IFluidContainerManager, IMultiblock<SynchronizedTankData>
|
||||
public class TileEntityDynamicTank extends TileEntityMultiblock<SynchronizedTankData> implements IFluidContainerManager
|
||||
{
|
||||
/** A client-sided and server-sided map of valves on this tank's structure, used on the client for rendering fluids. */
|
||||
public Map<ValveData, Integer> valveViewing = new HashMap<ValveData, Integer>();
|
||||
@@ -98,7 +98,7 @@ public class TileEntityDynamicTank extends TileEntityMultiblock<SynchronizedTank
|
||||
|
||||
public void manageInventory()
|
||||
{
|
||||
int max = structure.volume*TankUpdateProtocol.FLUID_PER_TANK;
|
||||
int max = structure.volume * TankUpdateProtocol.FLUID_PER_TANK;
|
||||
|
||||
if(structure.inventory[0] != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user