src/main/java/com/github/klikli_dev/occultism/client/render/ThirdEyeEffectRenderer.java
/**
     * Resets the currently uncovered blocks
     *
     * @param world the world.
     * @param clear true to delete the list of uncovered blocks.
     */
Resets the currently uncovered blocks
@param world the world.
@param clear true to delete the list of uncovered blocks.
Resets the currently uncovered blocks @param world the world . @param clear true to delete the list of uncovered blocks .
public void resetUncoveredBlocks(World world, boolean clear) {
        for (BlockPos pos : this.uncoveredBlocks) {
            BlockState state = world.getBlockState(pos);
            if (state.getBlock() instanceof IOtherworldBlock) 
                world.setBlock(pos, state.setValue(IOtherworldBlock.UNCOVERED, false), 1);
        }
        if (clear)
            this.uncoveredBlocks.clear();
    }
public void resetUncoveredBlocks ( World world , boolean clear ) { for ( BlockPos pos : this . uncoveredBlocks ) { BlockState state = world . getBlockState ( pos ) ; if ( state . getBlock ( ) instanceof IOtherworldBlock ) world . setBlock ( pos , state . setValue ( IOtherworldBlock . UNCOVERED , false ) , 1 ) ; } if ( clear ) this . uncoveredBlocks . clear ( ) ; }
Resets the currently uncovered blocks
 @param world the world.
Resets the currently uncovered blocks @param world the world .
//handle replaced or removed blocks gracefully