@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block b, int modelId, RenderBlocks renderer){
TileEntity tile = world.getTileEntity(x, y, z);
if(tile instanceof TileEntityPneumaticDoorBase) {
TileEntityPneumaticDoorBase door = (TileEntityPneumaticDoorBase)tile;
ItemStack camoStack = door.getStackInSlot(TileEntityPneumaticDoorBase.CAMO_SLOT);
if(camoStack != null && camoStack.getItem() instanceof ItemBlock) {
Block block = Block.getBlockFromItem(camoStack.getItem());
if(PneumaticCraftUtils.isRenderIDCamo(block.getRenderType())) {
renderer.renderBlockAllFaces(block, x, y, z);
}