fix te particles

This commit is contained in:
Sen 2025-07-20 14:29:55 +02:00
parent 828d215048
commit a1fcaa5f67
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
4 changed files with 5 additions and 5 deletions

View file

@ -76,11 +76,11 @@ public class BlockRenderer
{
case 1:
return this.renderFluid(blockAccess, state, pos, worldRendererIn);
case 2:
return false;
case 3:
IBakedModel ibakedmodel = this.getModelFromBlockState(state, blockAccess, pos);
return this.renderBase(blockAccess, ibakedmodel, state, pos, worldRendererIn, !this.gm.xrayActive);
default:
return false;
}

View file

@ -93,7 +93,7 @@ public class RenderMinecart<T extends EntityCart> extends Render<T>
int j = entity.getDisplayTileOffset();
State iblockstate = entity.getDisplayTile();
if (iblockstate.getBlock().getRenderType() != -1)
if (iblockstate.getBlock().getRenderType() == 3)
{
GL11.glPushMatrix();
this.bindTexture(TextureMap.BLOCKS);