src/Blocks/BlockLadder.h
static NIBBLETYPE BlockFaceToMetaData(eBlockFace a_NeighborBlockFace)
	{
		switch (a_NeighborBlockFace)
		{
			case BLOCK_FACE_ZM: return 0x2;
			case BLOCK_FACE_ZP: return 0x3;
			case BLOCK_FACE_XM: return 0x4;
			case BLOCK_FACE_XP: return 0x5;
			case BLOCK_FACE_NONE:
			case BLOCK_FACE_YM:
			case BLOCK_FACE_YP:
			{
				return 0x2;
			}
		}
		UNREACHABLE("Unsupported neighbor block face");
	}
/** Converts the block face of the neighbor to which the ladder is attached to the ladder block's meta. */
Converts the block face of the neighbor to which the ladder is attached to the ladder block's meta.
Converts the block face of the neighbor to which the ladder is attached to the ladder block ' s meta .
static NIBBLETYPE BlockFaceToMetaData(eBlockFace a_NeighborBlockFace)
	{
		switch (a_NeighborBlockFace)
		{
			case BLOCK_FACE_ZM: return 0x2;
			case BLOCK_FACE_ZP: return 0x3;
			case BLOCK_FACE_XM: return 0x4;
			case BLOCK_FACE_XP: return 0x5;
			case BLOCK_FACE_NONE:
			case BLOCK_FACE_YM:
			case BLOCK_FACE_YP:
			{
				return 0x2;
			}
		}
		UNREACHABLE("Unsupported neighbor block face");
	}
static NIBBLETYPE BlockFaceToMetaData ( eBlockFace a_NeighborBlockFace ) { switch ( a_NeighborBlockFace ) { case BLOCK_FACE_ZM : return 0x2 ; case BLOCK_FACE_ZP : return 0x3 ; case BLOCK_FACE_XM : return 0x4 ; case BLOCK_FACE_XP : return 0x5 ; case BLOCK_FACE_NONE : case BLOCK_FACE_YM : case BLOCK_FACE_YP : { return 0x2 ; } } UNREACHABLE ( " " ) ; }
Converts the block face of the neighbor to which the ladder is attached to the ladder block's meta.
Converts the block face of the neighbor to which the ladder is attached to the ladder block ' s meta .