Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RenderHelper.disableStandardItemLighting();
- this.setLightmapDisabled(true);
- this.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
- bufferbuilder.begin(7, DefaultVertexFormats.BLOCK);
- bufferbuilder.setTranslation(x,y + 1,z);
- if(partialTicks < 1.0F) {
- renderer.getBlockModelRenderer().renderModel(getWorld(), renderer.getModelForState(blockState), blockState, blockpos.up(), bufferbuilder, false, MathHelper.getPositionRandom(blockpos));
- }
- tessellator.draw();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement