From 34fbe34ce6d5fde755c199840be36f09c58ca244 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Fri, 4 Nov 2011 13:02:45 +0800 Subject: [PATCH] Support rendering trapdoors in open and closed states --- src/main/resources/models.txt | 74 +++++++++++++++++++++++++++++----- src/main/resources/texture.txt | 2 +- 2 files changed, 65 insertions(+), 11 deletions(-) diff --git a/src/main/resources/models.txt b/src/main/resources/models.txt index 4145df13..c20d7b70 100644 --- a/src/main/resources/models.txt +++ b/src/main/resources/models.txt @@ -424,19 +424,73 @@ layer:6,7,8,12,13,14 -------**------- -------**------- -------**------- -# Trapdoor # Stone pressure plate # Wooden pressure plate -block:id=96,id=72,id=70,data=*,scale=8 +block:id=72,id=70,data=*,scale=16 layer:0 --------- --******- --******- --******- --******- --******- --******- --------- +---------------- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +-**************- +---------------- +# Trapdoor (closed) +block:id=96,data=0,data=1,data=2,data=3,scale=16 +layer:0,1,2 +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +**************** +# Trapdoor (open: west attach) +block:id=96,data=4,scale=16 +layer:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +***------------- +# Trapdoor (open: east attach) +block:id=96,data=5,scale=16 +rotate:id=96,data=4,rot=180 +# Trapdoor (open: south attach) +block:id=96,data=6,scale=16 +rotate:id=96,data=4,rot=270 +# Trapdoor (open: north attach) +block:id=96,data=7,scale=16 +rotate:id=96,data=4,rot=90 # Crops block:id=59,data=*,scale=16 layer:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 diff --git a/src/main/resources/texture.txt b/src/main/resources/texture.txt index 3cda9bb4..7ea587c1 100644 --- a/src/main/resources/texture.txt +++ b/src/main/resources/texture.txt @@ -454,7 +454,7 @@ block:id=94,top=147,allsides=1,bottom=1,transparency=TRANSPARENT # Locked Chest block:id=95,top=25,south=27,north=27,east=26,west=26 # Trap door -block:id=96,topbottom=84,allsides=4,transparency=TRANSPARENT +block:id=96,allfaces=84,transparency=TRANSPARENT # Stone w/ silverfish inside block:id=97,data=0,allfaces=1 # Cobblestone w/ silverfish inside