mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-20 03:59:36 +00:00
update
This commit is contained in:
1 parent
cb68d0a951
commit
a1151399fc
7 files changed
+18
-19
No files matched your search
@@ -700,17 +700,17 @@ public class TileEntityBaseGenerator extends TileEntityEMT implements IInventory
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getMetaID(int aX, int aY, int aZ) {
|
||||
public int getMetaID(int aX, int aY, int aZ) {
|
||||
return (byte) this.worldObj.getBlockMetadata(aX, aY, aZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getMetaIDOffset(int aX, int aY, int aZ) {
|
||||
public int getMetaIDOffset(int aX, int aY, int aZ) {
|
||||
return getMetaID(this.xCoord + aX, this.yCoord + aY, this.zCoord + aZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getMetaIDAtSide(ForgeDirection side) {
|
||||
public int getMetaIDAtSide(ForgeDirection side) {
|
||||
int tX = getOffsetX(side, 1);
|
||||
int tY = getOffsetY(side, 1);
|
||||
int tZ = getOffsetZ(side, 1);
|
||||
@@ -718,7 +718,7 @@ public class TileEntityBaseGenerator extends TileEntityEMT implements IInventory
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getMetaIDAtSideAndDistance(ForgeDirection side, int aDistance) {
|
||||
public int getMetaIDAtSideAndDistance(ForgeDirection side, int aDistance) {
|
||||
if (aDistance == 1) {
|
||||
return getMetaIDAtSide(side);
|
||||
}
|
||||
|
||||
@@ -713,17 +713,17 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getMetaID(int aX, int aY, int aZ) {
|
||||
public int getMetaID(int aX, int aY, int aZ) {
|
||||
return (byte) this.worldObj.getBlockMetadata(aX, aY, aZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getMetaIDOffset(int aX, int aY, int aZ) {
|
||||
public int getMetaIDOffset(int aX, int aY, int aZ) {
|
||||
return getMetaID(this.xCoord + aX, this.yCoord + aY, this.zCoord + aZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getMetaIDAtSide(ForgeDirection side) {
|
||||
public int getMetaIDAtSide(ForgeDirection side) {
|
||||
int tX = getOffsetX(side, 1);
|
||||
int tY = getOffsetY(side, 1);
|
||||
int tZ = getOffsetZ(side, 1);
|
||||
@@ -731,7 +731,7 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getMetaIDAtSideAndDistance(ForgeDirection side, int aDistance) {
|
||||
public int getMetaIDAtSideAndDistance(ForgeDirection side, int aDistance) {
|
||||
if (aDistance == 1) {
|
||||
return getMetaIDAtSide(side);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user