package com.lothrazar.cyclicmagic.component.hydrator;
import com.lothrazar.cyclicmagic.block.base.BaseMachineTesr;
import com.lothrazar.cyclicmagic.block.base.TileEntityBaseMachineInvo;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

/**
 * Thanks to this tutorial
 * http://modwiki.temporal-reality.com/mw/index.php/Render_Block_TESR_/_OBJ-1.9
 * 
 * @author Sam
 *
 */
@SideOnly(Side.CLIENT)
public class HydratorTESR extends BaseMachineTesr<TileEntityHydrator> {
  private int lowerSlot;
  public HydratorTESR(int slot, int ls) {
    super(slot);
    lowerSlot = ls;
  }
  @Override
  public void renderBasic(TileEntityBaseMachineInvo te) {
    renderItem(te, te.getStackInSlot(this.itemSlotAbove), 0, 0.5F, 1);
    renderItem(te, te.getStackInSlot(this.lowerSlot), 1, 0.5F, 0);
  }
}

@@ -524,21 +524,40 @@
 ate 
-int lowerSlot
+static final float height = 0.5F
 ;%0A  
@@ -617,28 +617,8 @@
 t);%0A
-    lowerSlot = ls;%0A
   %7D%0A
@@ -728,36 +728,77 @@
 lot(
-this.itemSlotAbove), 0, 0.5F
+0), 0, height, 1);%0A    renderItem(te, te.getStackInSlot(1), 1, height
 , 1)
@@ -840,32 +840,77 @@
 lot(
-this.lower
+2), 1, height, 0);%0A    renderItem(te, te.getStackIn
 Slot
+(3
 ), 
-1, 0.5F
+0, height
 , 0)

hydrator TESR animate 4 not 2