Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <BlockDropSpenser.h>
Private Types | |
using | Super = cDisplacementYawRotator< cClearMetaOnDrop< cBlockEntityHandler >, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00 > |
Private Member Functions | |
virtual ColourID | GetMapBaseColourID (NIBBLETYPE a_Meta) const override |
Additional Inherited Members | |
Public Member Functions inherited from cMetaRotator< Base, 0x07, 0x02, 0x05, 0x03, 0x04, false > | |
constexpr | cMetaRotator (BLOCKTYPE a_BlockType) |
Static Public Member Functions inherited from cDisplacementYawRotator< cClearMetaOnDrop< cBlockEntityHandler >, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00 > | |
static NIBBLETYPE | DisplacementYawToMetaData (const Vector3d a_PlacePosition, const Vector3d a_EyePosition, const double a_Rotation) |
Converts the placement position, eye position as returned by cPlayer::GetEyePosition(), and rotation value as returned by cPlayer::GetYaw() to the appropriate metadata value for a block placed by a player facing that way. More... | |
Static Public Member Functions inherited from cYawRotator< Base, BitMask, North, East, South, West, AssertIfNotMatched > | |
static NIBBLETYPE | YawToMetaData (double a_Rotation) |
Converts the rotation value as returned by cPlayer::GetYaw() to the appropriate metadata value for a block placed by a player facing that way. More... | |
Protected Member Functions inherited from cDisplacementYawRotator< cClearMetaOnDrop< cBlockEntityHandler >, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00 > | |
virtual NIBBLETYPE | MetaMirrorXZ (NIBBLETYPE a_Meta) const override |
~cDisplacementYawRotator ()=default | |
Protected Member Functions inherited from cYawRotator< Base, BitMask, North, East, South, West, AssertIfNotMatched > | |
~cYawRotator ()=default | |
Protected Member Functions inherited from cMetaRotator< Base, 0x07, 0x02, 0x05, 0x03, 0x04, false > | |
virtual NIBBLETYPE | MetaMirrorXY (NIBBLETYPE a_Meta) const override |
virtual NIBBLETYPE | MetaMirrorYZ (NIBBLETYPE a_Meta) const override |
virtual NIBBLETYPE | MetaRotateCCW (NIBBLETYPE a_Meta) const override |
virtual NIBBLETYPE | MetaRotateCW (NIBBLETYPE a_Meta) const override |
~cMetaRotator ()=default | |
Definition at line 14 of file BlockDropSpenser.h.
|
private |
Definition at line 17 of file BlockDropSpenser.h.
|
inlineoverrideprivatevirtual |
Definition at line 25 of file BlockDropSpenser.h.