Fix piston rendering

This commit is contained in:
Mike Primm 2020-07-19 19:53:48 -05:00
parent 63a044fe08
commit ec2350c753
2 changed files with 45 additions and 221 deletions

View File

@ -603,155 +603,43 @@ rotate:id=repeater,data=0,rot=180
# Redstone repeater (off) facing north
block:id=repeater,data=12,data=13,data=14,data=15,data=28,data=29,data=30,data=31,data=44,data=45,data=46,data=47,data=60,data=61,data=62,data=63,scale=16
rotate:id=repeater,data=0,rot=270
# Sticky piston - extended facing down
# Piston - extended facing down
block:id=sticky_piston,id=piston,data=8,scale=8
layer:0,1
--------
--------
--------
---**---
---**---
--------
--------
--------
layer:2,3,4,5,6,7
********
********
********
********
********
********
********
********
# Sticky piston - extended facing up
block:id=sticky_piston,id=piston,data=9,scale=8
layer:0,1,2,3,4,5
********
********
********
********
********
********
********
********
layer:6,7
--------
--------
--------
---**---
---**---
--------
--------
--------
# Sticky piston - extended facing east
# Piston - extended facing east
block:id=sticky_piston,id=piston,data=10,scale=8
layer:0,1,2,5,6,7
******--
******--
******--
******--
******--
******--
******--
******--
layer:3,4
******--
******--
******--
********
********
******--
******--
******--
# Sticky piston - extended facing west
# Piston - extended facing west
block:id=sticky_piston,id=piston,data=11,scale=8
rotate:id=sticky_piston,data=10,rot=180
# Sticky piston - extended facing north
# Piston - extended facing north
block:id=sticky_piston,id=piston,data=12,scale=8
rotate:id=sticky_piston,data=10,rot=270
# Sticky piston - extended facing south
# Piston - extended facing south
block:id=sticky_piston,id=piston,data=13,scale=8
rotate:id=sticky_piston,data=10,rot=90
# Sticky piston extension - extended facing down
# Piston extension - extended facing down
block:id=piston_head,data=0,data=8,scale=8
layer:2,3,4,5,6,7
--------
--------
--------
---**---
---**---
--------
--------
--------
layer:0,1
********
********
********
********
********
********
********
********
# Sticky piston extension - extended facing up
# Piston extension - extended facing up
block:id=piston_head,data=1,data=9,scale=8
layer:0,1,2,3,4,5
--------
--------
--------
---**---
---**---
--------
--------
--------
layer:6,7
********
********
********
********
********
********
********
********
# Sticky piston extension - extended facing east
# Piston extension - extended facing east
block:id=piston_head,data=2,data=10,scale=8
layer:0,1,2,5,6,7
------**
------**
------**
------**
------**
------**
------**
------**
layer:3,4
------**
------**
------**
********
********
------**
------**
------**
# Sticky piston extension - extended facing west
# Piston extension - extended facing west
block:id=piston_head,data=3,data=11,scale=8
rotate:id=piston_head,data=2,rot=180
# Sticky piston extension - extended facing north
# Piston extension - extended facing north
block:id=piston_head,data=4,data=12,scale=8
rotate:id=piston_head,data=2,rot=270
# Sticky piston extension - extended facing west
# Piston extension - extended facing west
block:id=piston_head,data=5,data=13,scale=8
rotate:id=piston_head,data=2,rot=90
# Sticky piston
# Piston:
boxlist:id=piston,id=sticky_piston,data=4,box=0:1:0:0.75:0:1:0/3/2/2/2/,box=0.375:0.625:0.75:1.0:0.375:0.625:3/3/2/2/2/2
patchblock:id=piston,id=sticky_piston,data=0
patchrotate:id=piston,data=4,rotx=90
patchblock:id=piston,id=sticky_piston,data=1
patchrotate:id=piston,data=4,rotx=90,roty=90
patchblock:id=piston,id=sticky_piston,data=2
patchrotate:id=piston,data=4,rotx=90,roty=180
patchblock:id=piston,id=sticky_piston,data=3
patchrotate:id=piston,data=4,rotx=90,roty=270
patchblock:id=piston,id=sticky_piston,data=5
patchrotate:id=piston,data=4,rotx=180
boxlist:id=piston,id=sticky_piston,data=10,box=0:1:0:0.75:0:1:0/3/2/2/2/,box=0:1:0.75:1.0:0:1:3/1/2/2/2/2
patchblock:id=piston,id=sticky_piston,data=6
patchrotate:id=piston,data=10,rotx=90
patchblock:id=piston,id=sticky_piston,data=7
patchrotate:id=piston,data=10,rotx=90,roty=90
patchblock:id=piston,id=sticky_piston,data=8
patchrotate:id=piston,data=10,rotx=90,roty=180
patchblock:id=piston,id=sticky_piston,data=9
patchrotate:id=piston,data=10,rotx=90,roty=270
patchblock:id=piston,id=sticky_piston,data=11
patchrotate:id=piston,data=10,rotx=180
# Piston head
boxlist:id=piston_head,data=16,data=17,data=18,data=19,box=0:1:0.75:1:0:1:3/1/2/2/2/,box=0.375:0.625:0:0.75:0.375:0.625:2/2/2/2/2/2
patchblock:id=piston_head,data=0,data=1,data=2,data=3
patchrotate:id=piston_head,data=16,rotx=90
patchblock:id=piston_head,data=4,data=5,data=6,data=7
patchrotate:id=piston_head,data=16,rotx=90,roty=90
patchblock:id=piston_head,data=8,data=9,data=10,data=11
patchrotate:id=piston_head,data=16,rotx=90,roty=180
patchblock:id=piston_head,data=12,data=13,data=14,data=15
patchrotate:id=piston_head,data=16,rotx=90,roty=270
patchblock:id=piston_head,data=20,data=21,data=22,data=23
patchrotate:id=piston_head,data=16,rotx=180
# Glass pane
# Iron fence
customblock:id=glass_pane,id=iron_bars,class=org.dynmap.hdmap.renderer.PaneStateRenderer

View File

@ -793,30 +793,6 @@ block:id=detector_rail,data=0-5,patch0=0:detector_rail_on,transparency=TRANSPARE
# Detector rail - unpowered
block:id=detector_rail,data=6-11,patch0=0:detector_rail,transparency=TRANSPARENT
# Sticky piston - facing down
block:id=sticky_piston,data=0,top=0:piston_bottom,bottom=0:piston_top_sticky,allsides=5000:piston_side,transparency=TRANSPARENT
# Sticky piston - facing up
block:id=sticky_piston,data=1,top=0:piston_top_sticky,bottom=0:piston_bottom,allsides=0:piston_side,transparency=TRANSPARENT
# Sticky piston - facing east
block:id=sticky_piston,data=2,east=0:piston_top_sticky,west=0:piston_bottom,top=6000:piston_side,bottom=4000:piston_side,north=4000:piston_side,south=6000:piston_side,transparency=TRANSPARENT
# Sticky piston - facing west
block:id=sticky_piston,data=3,west=0:piston_top_sticky,east=0:piston_bottom,top=4000:piston_side,bottom=6000:piston_side,north=6000:piston_side,south=4000:piston_side,transparency=TRANSPARENT
# Sticky piston - facing north
block:id=sticky_piston,data=4,north=0:piston_top_sticky,south=0:piston_bottom,top=0:piston_side,bottom=5000:piston_side,east=6000:piston_side,west=4000:piston_side,transparency=TRANSPARENT
# Sticky piston - facing south
block:id=sticky_piston,data=5,north=0:piston_bottom,south=0:piston_top_sticky,top=5000:piston_side,bottom=0:piston_side,east=4000:piston_side,west=6000:piston_side,transparency=TRANSPARENT
# Sticky piston - extended facing down (TODO: side)
block:id=sticky_piston,data=6,top=0:piston_bottom,bottom=0:piston_inner,allsides=5262,transparency=TRANSPARENT
# Sticky piston - extended facing up (TODO: side)
block:id=sticky_piston,data=7,top=0:piston_inner,bottom=0:piston_bottom,allsides=262,transparency=TRANSPARENT
# Sticky piston - extended facing east (TODO: side)
block:id=sticky_piston,data=8,east=0:piston_inner,west=0:piston_bottom,top=6262,bottom=4262,north=4262,south=6262,transparency=TRANSPARENT
# Sticky piston - extended facing west (TODO: side)
block:id=sticky_piston,data=9,west=0:piston_inner,east=0:piston_bottom,top=4262,bottom=6262,north=6262,south=4262,transparency=TRANSPARENT
# Sticky piston - extended facing north (TODO: side)
block:id=sticky_piston,data=10,north=0:piston_inner,south=0:piston_bottom,top=262,bottom=5262,east=6262,west=4262,transparency=TRANSPARENT
# Sticky piston - extended facing south (TODO: side)
block:id=sticky_piston,data=11,north=0:piston_bottom,south=0:piston_inner,top=5262,bottom=262,east=4262,west=6262,transparency=TRANSPARENT
# Web
block:id=cobweb,patch0-1=0:cobweb,transparency=TRANSPARENT
# Grass
@ -830,54 +806,14 @@ block:id=seagrass,patch0-3=1000:seagrass,transparency=TRANSPARENT
# Tall seagrass
block:id=tall_seagrass,data=0,patch0-3=1000:tall_seagrass_top,transparency=TRANSPARENT
block:id=tall_seagrass,data=1,patch0-3=1000:tall_seagrass_bottom,transparency=TRANSPARENT
# Piston - facing down
block:id=piston,data=0,top=0:piston_bottom,bottom=0:piston_top,allsides=5000:piston_side,transparency=TRANSPARENT
# Piston - facing up
block:id=piston,data=1,top=0:piston_top,bottom=0:piston_bottom,allsides=0:piston_side,transparency=TRANSPARENT
# Piston - facing east
block:id=piston,data=2,east=0:piston_top,west=0:piston_bottom,top=6000:piston_side,bottom=4000:piston_side,north=4000:piston_side,south=6000:piston_side,transparency=TRANSPARENT
# Piston - facing west
block:id=piston,data=3,west=0:piston_top,east=0:piston_bottom,top=4000:piston_side,bottom=6000:piston_side,north=6000:piston_side,south=4000:piston_side,transparency=TRANSPARENT
# Piston - facing north
block:id=piston,data=4,north=0:piston_top,south=0:piston_bottom,top=0:piston_side,bottom=5000:piston_side,east=6000:piston_side,west=4000:piston_side,transparency=TRANSPARENT
# Piston - facing south
block:id=piston,data=5,north=0:piston_bottom,south=0:piston_top,top=5000:piston_side,bottom=0:piston_side,east=4000:piston_side,west=6000:piston_side,transparency=TRANSPARENT
# Piston - extended facing down (TODO:piston extension side)
block:id=piston,data=6,top=0:piston_bottom,bottom=0:piston_inner,allsides=5262,transparency=TRANSPARENT
# Piston - extended facing up (TODO:piston extension side)
block:id=piston,data=7,top=0:piston_inner,bottom=0:piston_bottom,allsides=262,transparency=TRANSPARENT
# Piston - extended facing east (TODO:piston extension side)
block:id=piston,data=8,east=0:piston_inner,west=0:piston_bottom,top=6262,bottom=4262,north=4262,south=6262,transparency=TRANSPARENT
# Piston - extended facing west (TODO:piston extension side)
block:id=piston,data=9,west=0:piston_inner,east=0:piston_bottom,top=4262,bottom=6262,north=6262,south=4262,transparency=TRANSPARENT
# Piston - extended facing north (TODO:piston extension side)
block:id=piston,data=10,north=0:piston_inner,south=0:piston_bottom,top=262,bottom=5262,east=6262,west=4262,transparency=TRANSPARENT
# Piston - extended facing south (TODO:piston extension side)
block:id=piston,data=11,north=0:piston_bottom,south=0:piston_inner,top=5262,bottom=262,east=4262,west=6262,transparency=TRANSPARENT
# Piston extension- facing down (TODO:piston extension side)
block:id=piston_head,data=0,top=0:piston_inner,bottom=0:piston_top,allsides=5261,transparency=TRANSPARENT
# Piston extension - facing up (TODO:piston extension side)
block:id=piston_head,data=1,top=0:piston_top,bottom=0:piston_inner,allsides=261,transparency=TRANSPARENT
# Piston extension - facing east (TODO:piston extension side)
block:id=piston_head,data=2,east=0:piston_top,west=0:piston_inner,top=6261,bottom=4261,north=4261,south=6261,transparency=TRANSPARENT
# Piston extension - facing west (TODO:piston extension side)
block:id=piston_head,data=3,west=0:piston_top,east=0:piston_inner,top=4261,bottom=6261,north=6261,south=4261,transparency=TRANSPARENT
# Piston extension - facing north (TODO:piston extension side)
block:id=piston_head,data=4,north=0:piston_top,south=0:piston_inner,top=261,bottom=5261,east=6261,west=4261,transparency=TRANSPARENT
# Piston extension - facing south (TODO:piston extension side)
block:id=piston_head,data=5,north=0:piston_inner,south=0:piston_top,top=5261,bottom=261,east=4261,west=6261,transparency=TRANSPARENT
# Sticky piston extension - facing down (TODO:piston extension side)
block:id=piston_head,data=6,top=0:piston_inner,bottom=0:piston_top_sticky,allsides=5261,transparency=TRANSPARENT
# Sticky piston extension - facing up (TODO:piston extension side)
block:id=piston_head,data=7,top=0:piston_top_sticky,bottom=0:piston_inner,allsides=261,transparency=TRANSPARENT
# Sticky piston extension - facing east (TODO:piston extension side)
block:id=piston_head,data=8,east=0:piston_top_sticky,west=0:piston_inner,top=6261,bottom=4261,north=4261,south=6261,transparency=TRANSPARENT
# Sticky piston extension - facing west (TODO:piston extension side)
block:id=piston_head,data=9,west=0:piston_top_sticky,east=0:piston_inner,top=4261,bottom=6261,north=6261,south=4261,transparency=TRANSPARENT
# Sticky piston extension - facing north (TODO:piston extension side)
block:id=piston_head,data=10,north=0:piston_top_sticky,south=0:piston_inner,top=261,bottom=5261,east=6261,west=4261,transparency=TRANSPARENT
# Sticky piston extension - facing south (TODO:piston extension side)
block:id=piston_head,data=11,north=0:piston_inner,south=0:piston_top_sticky,top=5261,bottom=261,east=4261,west=6261,transparency=TRANSPARENT
# Piston
block:id=piston,patch0=0:piston_bottom,patch1=0:piston_top,patch2=0:piston_side,patch3=0:piston_inner
# Sticky piston
block:id=sticky_piston,patch0=0:piston_bottom,patch1=0:piston_top_sticky,patch2=0:piston_side,patch3=0:piston_inner
# Piston head
block:id=piston_head,data=0,data=2,data=4,data=6,data=8,data=10,data=12,data=14,data=16,data=18,data=20,data=22,patch0=0:piston_bottom,patch1=0:piston_top,patch2=0:piston_side,patch3=0:piston_inner,transparency=TRANSPARENT
block:id=piston_head,data=1,data=3,data=5,data=7,data=9,data=11,data=13,data=15,data=17,data=19,data=21,data=23,patch0=0:piston_bottom,patch1=0:piston_top_sticky,patch2=0:piston_side,patch3=0:piston_inner,transparency=TRANSPARENT
# Moving piston (don't show)
block:id=moving_piston
# Wool