0

Add portals to textures.py, needed changes in chunk.py and iterate.c and added beds to transparent blocks.

This commit is contained in:
Alejandro Aguilera
2011-05-08 02:10:19 +02:00
parent a379a731df
commit 3c8d7e6442
4 changed files with 24 additions and 5 deletions

View File

@@ -114,9 +114,9 @@ def get_tileentity_data(level):
return data
# This set holds blocks ids that can be seen through, for occlusion calculations
transparent_blocks = set([ 0, 6, 8, 9, 18, 20, 27, 28, 37, 38, 39, 40, 44, 50,
51, 52, 53, 55, 59, 63, 64, 65, 66, 67, 68, 69, 70, 71,
72, 74, 75, 76, 77, 78, 79, 81, 83, 85, 92])
transparent_blocks = set([ 0, 6, 8, 9, 18, 20, 26, 27, 28, 37, 38, 39, 40, 44,
50, 51, 52, 53, 55, 59, 63, 64, 65, 66, 67, 68, 69, 70,
71, 72, 74, 75, 76, 77, 78, 79, 81, 83, 85, 90, 92])
# This set holds block ids that are solid blocks
solid_blocks = set([1, 2, 3, 4, 5, 7, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,