Source:
<code>public void render(SawmillTileEntity te, float partialTicks, MatrixStack matrixStack, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn) { if(!te.formed||te.isDummy()||!te.getWorldNonnull().isBlockLoaded(te.getPos())) return; <START> final BlockRendererDispatcher blockRenderer = Minecraft.getInstance().getBlockRendererDispatcher(); <END> BlockPos blockPos = te.getPos(); BlockState state = te.getWorld().getBlockState(blockPos); if(state.getBlock()!=Multiblocks.sawmill) return; matrixStack.push(); matrixStack.translate(.5, 0, .5); bufferIn = TileRenderUtils.mirror(te, matrixStack, bufferIn); IVertexBuilder solidBuilder = bufferIn.getBuffer(RenderType.getSolid()); Direction facing = te.getFacing(); float dir = facing==Direction.SOUTH?180: facing==Direction.NORTH?0: facing==Direction.EAST?-90: 90; matrixStack.rotate(new Quaternion(0, dir, 0, true)); boolean sawblade = !te.sawblade.isEmpty(); if(sawblade) { matrixStack.push(); matrixStack.translate(1, .125, -.5); float spin = te.animation_bladeRotation; if(te.shouldRenderAsActive()) spin += 36f*partialTicks; matrixStack.rotate(new Quaternion(0, 0, spin, true)); ClientUtils.renderModelTESRFast( BLADE.get(Direction.NORTH).getQuads(state, null, te.getWorldNonnull().rand, EmptyModelData.INSTANCE), solidBuilder, matrixStack, combinedLightIn); matrixStack.pop(); } for(SawmillProcess process : te.sawmillProcessQueue) { float relative = process.getRelativeProcessStep(); ItemStack rendered = process.getCurrentStack(sawblade); renderItem(rendered, relative, matrixStack, bufferIn, combinedLightIn, combinedOverlayIn); } matrixStack.pop(); }</code><technical_language>Unused variable</technical_language>

Target:
public void render(SawmillTileEntity te, float partialTicks, MatrixStack matrixStack, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn) { if(!te.formed||te.isDummy()||!te.getWorldNonnull().isBlockLoaded(te.getPos())) return; BlockPos blockPos = te.getPos(); BlockState state = te.getWorld().getBlockState(blockPos); if(state.getBlock()!=Multiblocks.sawmill) return; matrixStack.push(); matrixStack.translate(.5, 0, .5); bufferIn = TileRenderUtils.mirror(te, matrixStack, bufferIn); IVertexBuilder solidBuilder = bufferIn.getBuffer(RenderType.getSolid()); Direction facing = te.getFacing(); float dir = facing==Direction.SOUTH?180: facing==Direction.NORTH?0: facing==Direction.EAST?-90: 90; matrixStack.rotate(new Quaternion(0, dir, 0, true)); boolean sawblade = !te.sawblade.isEmpty(); if(sawblade) { matrixStack.push(); matrixStack.translate(1, .125, -.5); float spin = te.animation_bladeRotation; if(te.shouldRenderAsActive()) spin += 36f*partialTicks; matrixStack.rotate(new Quaternion(0, 0, spin, true)); ClientUtils.renderModelTESRFast( BLADE.get(Direction.NORTH).getQuads(state, null, te.getWorldNonnull().rand, EmptyModelData.INSTANCE), solidBuilder, matrixStack, combinedLightIn); matrixStack.pop(); } for(SawmillProcess process : te.sawmillProcessQueue) { float relative = process.getRelativeProcessStep(); ItemStack rendered = process.getCurrentStack(sawblade); renderItem(rendered, relative, matrixStack, bufferIn, combinedLightIn, combinedOverlayIn); } matrixStack.pop(); }