26 case 0x00:
return { 0, 1, 0 };
27 case 0x01:
return { 0, -1, 0 };
28 case 0x02:
return { 0, 0, 1 };
29 case 0x03:
return { 0, 0, -1 };
30 case 0x04:
return { 1, 0, 0 };
31 case 0x05:
return { -1, 0, 0 };
34 LOGWARNING(
"%s: Unknown metadata: %d", __FUNCTION__, a_Meta);
35 ASSERT(!
"Unknown metadata while determining orientation of observer!");
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
void LOGWARNING(std::string_view a_Format, const Args &... args)
static Vector3i GetObservingFaceOffset(NIBBLETYPE a_Meta)
static Vector3i GetSignalOutputOffset(NIBBLETYPE a_Meta)
Mixin to clear the block's meta value when converting to a pickup.
cYawRotator< Base, BitMask, North, East, South, West > Super