adjust top of sand level downward, and leave some dirt under it. now it looks a bit more natural.
This commit is contained in:
parent
8337b959cb
commit
f13c2b4f9a
12
mce.py
12
mce.py
@ -948,15 +948,15 @@ class mce(object):
|
|||||||
|
|
||||||
c.Blocks[x,z,h+1:] = 0 #air
|
c.Blocks[x,z,h+1:] = 0 #air
|
||||||
c.Blocks[x,z,h:h+1] = 2 #grass
|
c.Blocks[x,z,h:h+1] = 2 #grass
|
||||||
|
c.Blocks[x,z,h-4:h] = 3 #dirt
|
||||||
c.Blocks[x,z,:h-4] = 1 #rock
|
c.Blocks[x,z,:h-4] = 1 #rock
|
||||||
|
|
||||||
if h <= water_level:
|
if h < water_level:
|
||||||
c.Blocks[x,z,h+1:water_level] = 9 #water
|
c.Blocks[x,z,h+1:water_level] = 9 #water
|
||||||
if h <= water_level+3:
|
if h < water_level+2:
|
||||||
c.Blocks[x,z,h-3:h+1] = 12 #sand if it's under water level
|
c.Blocks[x,z,h-2:h+1] = 12 #sand if it's near water level
|
||||||
else:
|
|
||||||
c.Blocks[x,z,h-4:h] = 3 #dirt
|
c.Blocks[x,z,0] = 7 #bedrock
|
||||||
c.Blocks[x,z,0] = 7
|
|
||||||
|
|
||||||
c.chunkChanged()
|
c.chunkChanged()
|
||||||
c.TerrainPopulated = False
|
c.TerrainPopulated = False
|
||||||
|
Reference in New Issue
Block a user