# Dynmap model definitions for Better Than Bountiful (modid mc17101), Minecraft 1.7.10.
# Auto-loaded by Dynmap-Forge from assets/mc17101/dynmap-models.txt inside the mod jar; textures
# for these shapes are in dynmap-texture.txt. Full-cube blocks need no entry here.
# Shapes mirror Dynmap's own vanilla 1.7 definitions (models_1.txt) for the equivalent blocks.
# Open-ended version range, same as Dynmap's vanilla files (a bare "1.7" would not match 1.7.10).
version:1.6.1-
modname:mc17101

# Vertical 45-degree patch, the same one Dynmap uses for every vanilla cross-shaped plant.
patch:id=VertX1Z0ToX0Z1,Ox=1.0,Oy=0.0,Oz=0.0,Ux=0.0,Uy=0.0,Uz=1.0,Vx=1.0,Vy=1.0,Vz=0.0,visibility=flip
patchblock:id=%cyan_flower,data=*,patch0=VertX1Z0ToX0Z1,patch1=VertX1Z0ToX0Z1@90

# Pressure plate: one pixel tall, one pixel inset all round.
boxblock:id=%obsidian_pressure_plate,data=*,xmin=0.0625,xmax=0.9375,ymax=0.0625,zmin=0.0625,zmax=0.9375

# Iron trapdoor: identical metadata layout to the vanilla wooden trapdoor (bits 0-1 hinge side,
# bit 4 open, bit 8 top half), so the seven vanilla boxes carry over unchanged.
boxblock:id=%iron_trapdoor,data=0,data=1,data=2,data=3,ymax=0.1875
boxblock:id=%iron_trapdoor,data=4,data=12,zmin=0.8125
boxblock:id=%iron_trapdoor,data=5,data=13,zmax=0.1875
boxblock:id=%iron_trapdoor,data=6,data=14,xmin=0.8125
boxblock:id=%iron_trapdoor,data=7,data=15,xmax=0.1875
boxblock:id=%iron_trapdoor,data=8,data=9,data=10,data=11,ymin=0.8125

# Inverted daylight detector: same 6/16 slab as the vanilla sensor.
boxblock:id=%daylight_detector_inverted,data=*,ymax=0.375

# Enderman head: half-block cube centred on the block, sitting on the floor.
boxblock:id=%enderman_head,data=*,xmin=0.25,xmax=0.75,ymax=0.5,zmin=0.25,zmax=0.75

# Lantern: the 6x9x6 body and cap, standing (data 0) or hanging one pixel lower from above (data 1).
boxblock:id=%lantern,data=0,xmin=0.3125,xmax=0.6875,ymax=0.5625,zmin=0.3125,zmax=0.6875
boxblock:id=%lantern,data=1,xmin=0.3125,xmax=0.6875,ymin=0.0625,ymax=0.625,zmin=0.3125,zmax=0.6875

# Lectern: the 2-pixel plinth, the 8x8 post and the reading plate (drawn level at the top; the
# 22.5-degree tilt is not something a volumetric model can express). Facing is left out of the map.
block:id=%lectern,data=*,scale=16
layer:0,1
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
layer:2,3,4,5,6,7,8,9,10,11
----------------
----------------
----------------
----------------
----********----
----********----
----********----
----********----
----********----
----********----
----********----
----********----
----------------
----------------
----------------
----------------
layer:12,13,14,15
----------------
----------------
----------------
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************
****************

# Horizontal sheets: flat panes at the block's mid-plane (glass 8/16-9/16, bars 8/16-8.5/16).
boxblock:id=%horizontal_glass_pane,data=*,ymin=0.5,ymax=0.5625
boxblock:id=%horizontal_stained_glass_pane,data=*,ymin=0.5,ymax=0.5625
boxblock:id=%horizontal_iron_bars,data=*,ymin=0.5,ymax=0.53125

# Scarecrow post (part 0): a four-pixel fence post. The hay body and pumpkin head are full cubes.
boxblock:id=%scarecrow,data=0,data=1,data=2,data=3,xmin=0.375,xmax=0.625,zmin=0.375,zmax=0.625

# Nether brick fence gate: Dynmap's built-in fence-gate renderer reads the vanilla metadata.
customblock:id=%nether_fence_gate,data=*,class=org.dynmap.hdmap.renderer.FenceGateBlockRenderer

# Dyed cauldron: the vanilla cauldron's volumetric model, verbatim.
block:id=%dyed_cauldron,data=*,scale=8
layer:0,1
**----**
*------*
--------
--------
--------
--------
*------*
**----**
layer:2,3
********
********
********
********
********
********
********
********
layer:4,5,6,7
********
*------*
*------*
*------*
*------*
*------*
*------*
********
