package emergencylanding.k.library.lwjgl.render;

import emergencylanding.k.library.internalstate.ELEntity;
import emergencylanding.k.library.lwjgl.Shapes;

public class TextureRender extends Render<ELEntity> {

    @Override
    public void doRender(ELEntity entity, float posX, float posY, float posZ) {
        VBAO quad = Shapes.getQuad(new VertexData(), new VertexData().setXYZ(
                (float) entity.getTex().getWidth(), (float) entity.getTex()
                        .getHeight(), posZ), Shapes.XY);
        quad.setTexture(entity.getTex());
        quad.setXYZOff(entity.getInterpolated());
        quad.draw();
    }

}

@@ -148,16 +148,70 @@
 .Shapes;
+%0Aimport emergencylanding.k.library.util.DrawableUtils;
 %0A%0Apublic
@@ -353,16 +353,70 @@
 posZ) %7B%0A
+        DrawableUtils.glBeginTrans(posX, posY, posZ);%0A
         
@@ -677,62 +677,48 @@
 uad.
-setXYZOff(entity.getInterpolated());%0A        quad.draw
+draw();%0A        DrawableUtils.glEndTrans
 ();%0A

Use glTrans instead of setXYZOff