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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user