Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
make it compatible with new GT version
Browse files Browse the repository at this point in the history
(cherry picked from commit 14dc7f0faec66426378e01ce591216fd1e1c5d46)
  • Loading branch information
Dream-Master committed Mar 10, 2024
1 parent 1a5724f commit bd5d5a3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ private static void renderNormalInventoryMetaTileEntity(Block aBlock, int aMeta,
}
}

public static boolean renderStandardBlock(IBlockAccess aWorld, int aX, int aY, int aZ, Block aBlock,
RenderBlocks aRenderer) {
public boolean renderStandardBlock(IBlockAccess aWorld, int aX, int aY, int aZ, Block aBlock,
RenderBlocks aRenderer) {
TileEntity tTileEntity = aWorld.getTileEntity(aX, aY, aZ);

return tTileEntity instanceof ITexturedTileEntity
Expand All @@ -249,7 +249,7 @@ public static boolean renderStandardBlock(IBlockAccess aWorld, int aX, int aY, i
: false;
}

public static boolean renderStandardBlock(IBlockAccess aWorld, int aX, int aY, int aZ, Block aBlock,
public boolean renderStandardBlock(IBlockAccess aWorld, int aX, int aY, int aZ, Block aBlock,
RenderBlocks aRenderer, ITexture[][] aTextures) {
aBlock.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
aRenderer.setRenderBoundsFromBlock(aBlock);
Expand All @@ -262,7 +262,7 @@ public static boolean renderStandardBlock(IBlockAccess aWorld, int aX, int aY, i
return true;
}

public static boolean renderPipeBlock(IBlockAccess aWorld, int aX, int aY, int aZ, Block aBlock,
public boolean renderPipeBlock(IBlockAccess aWorld, int aX, int aY, int aZ, Block aBlock,
IPipeRenderedTileEntity aTileEntity, RenderBlocks aRenderer) {
final int aConnections = aTileEntity.getConnections();
if ((aConnections & HAS_FOAM) != 0) {
Expand Down

0 comments on commit bd5d5a3

Please sign in to comment.