src/Blocks/BlockQuartz.h
inline static NIBBLETYPE BlockFaceToMetaData(eBlockFace a_BlockFace)
	{
		switch (a_BlockFace)
		{
			case BLOCK_FACE_YM:
			case BLOCK_FACE_YP:
			{
				return E_META_QUARTZ_PILLAR;  // Top or bottom
			}

			case BLOCK_FACE_ZP:
			case BLOCK_FACE_ZM:
			{
				return 0x4;  // North or south
			}

			case BLOCK_FACE_XP:
			case BLOCK_FACE_XM:
			{
				return 0x3;  // East or west
			}

			default:
			{
				return E_META_QUARTZ_PILLAR;
			}
		}
	}
/** Converts the block face of the pillar block's "base" to the block's metadata. */
Converts the block face of the pillar block's "base" to the block's metadata.
Converts the block face of the pillar block ' s " base " to the block ' s metadata .
inline static NIBBLETYPE BlockFaceToMetaData(eBlockFace a_BlockFace)
	{
		switch (a_BlockFace)
		{
			case BLOCK_FACE_YM:
			case BLOCK_FACE_YP:
			{
				return E_META_QUARTZ_PILLAR;  
			}
			case BLOCK_FACE_ZP:
			case BLOCK_FACE_ZM:
			{
				return 0x4;  
			}
			case BLOCK_FACE_XP:
			case BLOCK_FACE_XM:
			{
				return 0x3;  
			}
			default:
			{
				return E_META_QUARTZ_PILLAR;
			}
		}
	}
inline static NIBBLETYPE BlockFaceToMetaData ( eBlockFace a_BlockFace ) { switch ( a_BlockFace ) { case BLOCK_FACE_YM : case BLOCK_FACE_YP : { return E_META_QUARTZ_PILLAR ; } case BLOCK_FACE_ZP : case BLOCK_FACE_ZM : { return 0x4 ; } case BLOCK_FACE_XP : case BLOCK_FACE_XM : { return 0x3 ; } default : { return E_META_QUARTZ_PILLAR ; } } }
Converts the block face of the pillar block's "base" to the block's metadata.
Converts the block face of the pillar block ' s " base " to the block ' s metadata .
// Top or bottom // North or south // East or west