Fixes #2499: Tiny TNT model and hitbox not aligned.

Fixes entity renderer translating it 1/4 block to high compared to the
hitbox.
Fixed the hitbox being either a bit too small or too large depending on
the used constructor.
Updated the model for tiny TNT to be a bit more compact.
This commit is contained in:
yueh
2016-10-24 13:11:01 +02:00
parent 0dcdc2e265
commit 581822b234
3 changed files with 30 additions and 67 deletions
@@ -52,7 +52,7 @@ public class RenderTinyTNTPrimed extends Render
{
final BlockRendererDispatcher blockrendererdispatcher = Minecraft.getMinecraft().getBlockRendererDispatcher();
GlStateManager.pushMatrix();
GlStateManager.translate( (float) x, (float) y + 0.5F, (float) z );
GlStateManager.translate( (float) x, (float) y + 0.25F, (float) z );
float f2;
if( tnt.getFuse() - life + 1.0F < 10.0F )