Advertisement
Gamebuster

Untitled

Jul 8th, 2018
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1.             RenderHelper.disableStandardItemLighting();
  2.             this.setLightmapDisabled(true);
  3.             this.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
  4.            
  5.             bufferbuilder.begin(7, DefaultVertexFormats.BLOCK);
  6.             bufferbuilder.setTranslation(x,y + 1,z);
  7.            
  8.             if(partialTicks < 1.0F) {
  9.                 renderer.getBlockModelRenderer().renderModel(getWorld(), renderer.getModelForState(blockState), blockState, blockpos.up(), bufferbuilder, false, MathHelper.getPositionRandom(blockpos));
  10.             }
  11.            
  12.             tessellator.draw();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement