Minecraft style game is really laggy

it depends very much on the game mechanics you have made. a trivial approach seems like starting with all blocks disabled, and then enable these that in range of the viewer. it can be an intense task for calculation because there are many blocks and checking each one will be very hot, so you may adopt original minecraft rendering tactic, in which the blocks are arranged in chunks, and these chunks are loaded instead of single blocks.