diff --git a/patches/minecraft/net/minecraft/world/ChunkCache.java.patch b/patches/minecraft/net/minecraft/world/ChunkCache.java.patch index 8bf965f66..e088306c9 100644 --- a/patches/minecraft/net/minecraft/world/ChunkCache.java.patch +++ b/patches/minecraft/net/minecraft/world/ChunkCache.java.patch @@ -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); } diff --git a/patches/minecraft/net/minecraft/world/IBlockAccess.java.patch b/patches/minecraft/net/minecraft/world/IBlockAccess.java.patch index eddd893e4..a38857bb6 100644 --- a/patches/minecraft/net/minecraft/world/IBlockAccess.java.patch +++ b/patches/minecraft/net/minecraft/world/IBlockAccess.java.patch @@ -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);