Mixin for blocks whose meta on placement depends on the relative position of the player to the block in addition to the yaw of the player placing the block.
More...
template<class Base, NIBBLETYPE BitMask = 0x07, NIBBLETYPE North = 0x02, NIBBLETYPE East = 0x05, NIBBLETYPE South = 0x03, NIBBLETYPE West = 0x04, NIBBLETYPE Up = 0x00, NIBBLETYPE Down = 0x01>
class cDisplacementYawRotator< Base, BitMask, North, East, South, West, Up, Down >
Mixin for blocks whose meta on placement depends on the relative position of the player to the block in addition to the yaw of the player placing the block.
BitMask selects the direction bits from the block's meta values.
Definition at line 213 of file Mixins.h.
template<class Base , NIBBLETYPE BitMask = 0x07, NIBBLETYPE North = 0x02, NIBBLETYPE East = 0x05, NIBBLETYPE South = 0x03, NIBBLETYPE West = 0x04, NIBBLETYPE Up = 0x00, NIBBLETYPE Down = 0x01>
using cDisplacementYawRotator< Base, BitMask, North, East, South, West, Up, Down >::Super = cYawRotator<Base, BitMask, North, East, South, West> |
|
private |
template<class Base , NIBBLETYPE BitMask = 0x07, NIBBLETYPE North = 0x02, NIBBLETYPE East = 0x05, NIBBLETYPE South = 0x03, NIBBLETYPE West = 0x04, NIBBLETYPE Up = 0x00, NIBBLETYPE Down = 0x01>
template<class Base , NIBBLETYPE BitMask = 0x07, NIBBLETYPE North = 0x02, NIBBLETYPE East = 0x05, NIBBLETYPE South = 0x03, NIBBLETYPE West = 0x04, NIBBLETYPE Up = 0x00, NIBBLETYPE Down = 0x01>
|
inlineoverrideprotectedvirtual |