Remove unneeded method in INetworkTile
This commit is contained in:
@@ -1,12 +1,9 @@
|
|||||||
package refinedstorage.tile;
|
package refinedstorage.tile;
|
||||||
|
|
||||||
import io.netty.buffer.ByteBuf;
|
import io.netty.buffer.ByteBuf;
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
|
|
||||||
public interface INetworkTile {
|
public interface INetworkTile {
|
||||||
void fromBytes(ByteBuf buf);
|
void fromBytes(ByteBuf buf);
|
||||||
|
|
||||||
void toBytes(ByteBuf buf);
|
void toBytes(ByteBuf buf);
|
||||||
|
|
||||||
BlockPos getTilePos();
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -385,11 +385,6 @@ public class TileController extends TileBase implements IEnergyReceiver, INetwor
|
|||||||
this.redstoneMode = mode;
|
this.redstoneMode = mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public BlockPos getTilePos() {
|
|
||||||
return pos;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlockPos getMachinePos() {
|
public BlockPos getMachinePos() {
|
||||||
return pos;
|
return pos;
|
||||||
|
|||||||
@@ -78,11 +78,6 @@ public abstract class TileMachine extends TileBase implements INetworkTile, IRed
|
|||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public BlockPos getTilePos() {
|
|
||||||
return pos;
|
|
||||||
}
|
|
||||||
|
|
||||||
public TileController getController() {
|
public TileController getController() {
|
||||||
return (TileController) worldObj.getTileEntity(controllerPosition);
|
return (TileController) worldObj.getTileEntity(controllerPosition);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user