for RenderLivingEvent, I dont think it will work even with post because it is only fired once afaik, and the player can be assigned much after.
Currently i'm trying with RenderWorldLastEvent but its drawing nothing, this is my code:
@SubscribeEvent
public void Event(RenderWorldLastEvent e) {
if (!(murder == null)) {
AxisAlignedBB abb = new AxisAlignedBB(1, (double) murder.getYOffset(), 1, (double) murder.getYOffset(), 2, 1);
// Usually the player
Entity entity = Minecraft.getMinecraft().getRenderViewEntity();
//Interpolating everything back to 0,0,0. These are transforms you can find at RenderEntity class
double d0 = entity.lastTickPosX + (entity.posX - entity.lastTickPosX) * (double)e.getPartialTicks();
double d1 = entity.lastTickPosY + (entity.posY - entity.lastTickPosY) * (double)e.getPartialTicks();
double d2 = entity.lastTickPosZ + (entity.posZ - entity.lastTickPosZ) * (double)e.getPartialTicks();
GL11.glPushMatrix();
GL11.glTranslated(-d0, -d1, -d2);
GL11.glColor4f(0.27F, 0.70F, 0.92F, 1.0F);
GLHelper.startDrawingESPs(abb, 0.27F, 0.70F, 0.92F);
GL11.glPopMatrix();
}
}