kill TileDummyGenericPipe, cleanup
This commit is contained in:
parent
0366f3fae0
commit
90a515c837
6 changed files with 9 additions and 33 deletions
|
@ -378,7 +378,10 @@ public class TileEngineIron extends TileEngineWithInventory implements IFluidHan
|
|||
|
||||
@Override
|
||||
public FluidTankInfo[] getTankInfo(ForgeDirection direction) {
|
||||
return tankManager.getTankInfo(direction);
|
||||
if (direction == orientation) {
|
||||
return null;
|
||||
}
|
||||
return tankManager.getTankInfo(direction);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -29,8 +29,10 @@ public class PipeTransportStructure extends PipeTransport {
|
|||
if (BlockGenericPipe.isValid(pipe2) && !(pipe2.transport instanceof PipeTransportStructure)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return tile instanceof TileGenericPipe;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
||||
* http://www.mod-buildcraft.com
|
||||
*
|
||||
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
||||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.transport;
|
||||
|
||||
public class TileDummyGenericPipe extends TileGenericPipe {
|
||||
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
||||
* http://www.mod-buildcraft.com
|
||||
*
|
||||
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
||||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.transport;
|
||||
|
||||
public class TileDummyGenericPipe2 extends TileGenericPipe {
|
||||
|
||||
}
|
|
@ -20,9 +20,8 @@ public class TransportProxy {
|
|||
public static int pipeModel = -1;
|
||||
|
||||
public void registerTileEntities() {
|
||||
GameRegistry.registerTileEntity(TileDummyGenericPipe.class, "net.minecraft.src.buildcraft.GenericPipe");
|
||||
GameRegistry.registerTileEntity(TileDummyGenericPipe2.class, "net.minecraft.src.buildcraft.transport.TileGenericPipe");
|
||||
GameRegistry.registerTileEntity(TileGenericPipe.class, "net.minecraft.src.buildcraft.transport.GenericPipe");
|
||||
// The first name here is the current TE name; the remaining names are old names used for backwards compatibility
|
||||
GameRegistry.registerTileEntityWithAlternatives(TileGenericPipe.class, "net.minecraft.src.buildcraft.transport.GenericPipe", "net.minecraft.src.buildcraft.GenericPipe", "net.minecraft.src.buildcraft.transport.TileGenericPipe");
|
||||
GameRegistry.registerTileEntity(TileFilteredBuffer.class, "net.minecraft.src.buildcraft.transport.TileFilteredBuffer");
|
||||
}
|
||||
|
||||
|
|
|
@ -35,8 +35,6 @@ public class TransportProxyClient extends TransportProxy {
|
|||
public void registerTileEntities() {
|
||||
super.registerTileEntities();
|
||||
PipeRendererTESR rp = new PipeRendererTESR();
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileDummyGenericPipe.class, rp);
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileDummyGenericPipe2.class, rp);
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileGenericPipe.class, rp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue