twoolie/NBT — Issue #23: generate_heightmap should ignore non-solids
Author: macfreek
Created: 2012-03-04 09:58:11+00:00
State: open

nbt.chunk.generate_heightmap() currently generated a height map that returns the highest non-air block. An examination of some minecraft files shows that the nbt['Level']['HeightMap'] contains the highest non-solid block. At least, it seems to ignore grass and flowers.