Created
March 12, 2013 18:09
-
-
Save AlphaModder/5145347 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void render(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer){ | |
renderer.setRenderMinMax(Constants.ONE_PIXEL * 7, 0.0D, 0.0D, Constants.ONE_PIXEL * 9, Constants.ONE_PIXEL * 10, 0.0D); | |
renderer.renderStandardBlock(block, x, y, z); | |
renderer.setRenderMinMax(Constants.ONE_PIXEL * 7, 0.0D, Constants.MAX_BLOCK_BOUNDS, Constants.ONE_PIXEL * 9, Constants.ONE_PIXEL * 10, Constants.MAX_BLOCK_BOUNDS); | |
renderer.renderStandardBlock(block, x, y, z); | |
renderer.setRenderMinMax(Constants.ONE_PIXEL * 7, Constants.ONE_PIXEL * 10, Constants.ONE_PIXEL, Constants.ONE_PIXEL * 9, Constants.ONE_PIXEL * 11, Constants.MAX_BLOCK_BOUNDS - Constants.ONE_PIXEL); | |
renderer.renderStandardBlock(block, x, y, z); | |
renderer.setOverrideBlockTexture(79); | |
renderer.setRenderMinMax(Constants.ONE_PIXEL * 6, Constants.ONE_PIXEL * 10, Constants.ONE_PIXEL * 6, Constants.ONE_PIXEL * 10, Constants.ONE_PIXEL * 10, Constants.ONE_PIXEL * 10); | |
renderer.renderStandardBlock(block, x, y, z); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment