fix te particles
This commit is contained in:
parent
828d215048
commit
a1fcaa5f67
4 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -76,7 +76,7 @@ public class BlockChest extends Block implements ITileEntityProvider, Rotatable
|
|||
|
||||
public int getRenderType()
|
||||
{
|
||||
return -1;
|
||||
return 2;
|
||||
}
|
||||
|
||||
public State getPlacedState(World worldIn, BlockPos pos, Facing facing, float hitX, float hitY, float hitZ, EntityLiving placer)
|
||||
|
|
|
@ -138,6 +138,6 @@ public class BlockSign extends Block implements ITileEntityProvider
|
|||
}
|
||||
|
||||
public int getRenderType() {
|
||||
return -1;
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue