Add open models for fence gates

This commit is contained in:
Mike Primm 2011-09-12 09:34:31 +08:00 committed by mikeprimm
parent 62bc4f2cd0
commit e2746b7cbc
2 changed files with 67 additions and 6 deletions

View File

@ -525,7 +525,6 @@ public class IsoHDPerspective implements HDPerspective {
blockdata = mapiter.getBlockData(); blockdata = mapiter.getBlockData();
switch(blocktypeid) { switch(blocktypeid) {
case FENCE_BLKTYPEID: /* Special case for fence - need to fake data so we can render properly */ case FENCE_BLKTYPEID: /* Special case for fence - need to fake data so we can render properly */
case FENCEGATE_BLKTYPEID: /* Special case for fence gate */
blockrenderdata = generateFenceBlockData(mapiter); blockrenderdata = generateFenceBlockData(mapiter);
break; break;
case CHEST_BLKTYPEID: /* Special case for chest - need to fake data so we can render */ case CHEST_BLKTYPEID: /* Special case for chest - need to fake data so we can render */

View File

@ -2334,8 +2334,8 @@ layer:0,1,2,3,4,5,6,7
*------* *------*
*------* *------*
******** ********
# Fence gate - north and south neighbor # Fence gate - closed - northsouth
block:id=107,data=5,scale=16 block:id=107,data=0,data=2,scale=16
layer:6,7,8,12,13,14 layer:6,7,8,12,13,14
-------**------- -------**-------
-------**------- -------**-------
@ -2387,9 +2387,71 @@ layer:9,10,11
---------------- ----------------
-------**------- -------**-------
-------**------- -------**-------
# Fence gate - east and west neighbor # Fence gate - closed - east/west
block:id=107,data=10,scale=16 block:id=107,data=1,data=3,scale=16
rotate:id=107,data=5,rot=90 rotate:id=107,data=0,rot=90
# Fence gate - open to west
block:id=107,data=4,scale=16
layer:6,7,8,12,13,14
-********-------
-********-------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
layer:5,15
-------**-------
-------**-------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
-------**-------
-------**-------
layer:9,10,11
-**----**-------
-**----**-------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
-**----**-------
-**----**-------
# Fence gate - open to north
block:id=107,data=5,scale=16
rotate:id=107,data=4,rot=90
# Fence gate - open to east
block:id=107,data=6,scale=16
rotate:id=107,data=4,rot=180
# Fence gate - open to south
block:id=107,data=7,scale=16
rotate:id=107,data=4,rot=270
# Pumpkin stem # Pumpkin stem
# Mellon stem # Mellon stem
block:id=104,id=105,data=*,scale=16 block:id=104,id=105,data=*,scale=16