Remove SideOnly(Client) in IBlockAccess.isAirBlock
This commit is contained in:
parent
ee70b21460
commit
8c3ebc7f87
2 changed files with 19 additions and 3 deletions
|
@ -49,7 +49,14 @@
|
|||
}
|
||||
|
||||
/**
|
||||
@@ -325,8 +338,8 @@
|
||||
@@ -318,15 +331,13 @@
|
||||
return this.worldObj.getWorldVec3Pool();
|
||||
}
|
||||
|
||||
- @SideOnly(Side.CLIENT)
|
||||
-
|
||||
/**
|
||||
* Returns true if the block at the specified coordinates is empty
|
||||
*/
|
||||
public boolean isAirBlock(int par1, int par2, int par3)
|
||||
{
|
||||
|
@ -60,7 +67,7 @@
|
|||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@@ -449,4 +462,22 @@
|
||||
@@ -449,4 +460,22 @@
|
||||
int i1 = this.getBlockId(par1, par2, par3);
|
||||
return i1 == 0 ? 0 : Block.blocksList[i1].isProvidingStrongPower(this, par1, par2, par3, par4);
|
||||
}
|
||||
|
|
|
@ -8,7 +8,16 @@
|
|||
|
||||
public interface IBlockAccess
|
||||
{
|
||||
@@ -103,4 +104,16 @@
|
||||
@@ -59,8 +60,6 @@
|
||||
*/
|
||||
boolean isBlockNormalCube(int i, int j, int k);
|
||||
|
||||
- @SideOnly(Side.CLIENT)
|
||||
-
|
||||
/**
|
||||
* Returns true if the block at the specified coordinates is empty
|
||||
*/
|
||||
@@ -103,4 +102,16 @@
|
||||
* Is this block powering in the specified direction Args: x, y, z, direction
|
||||
*/
|
||||
int isBlockProvidingPowerTo(int i, int j, int k, int l);
|
||||
|
|
Loading…
Reference in a new issue