Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <BlockObserver.h>
Static Public Member Functions | |
static Vector3i | GetObservingFaceOffset (NIBBLETYPE a_Meta) |
static Vector3i | GetSignalOutputOffset (NIBBLETYPE a_Meta) |
Static Public Member Functions inherited from cDisplacementYawRotator< Base, BitMask, North, East, South, West, Up, Down > | |
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, 0x07, 0x02, 0x05, 0x03, 0x04 > | |
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... | |
Private Types | |
using | Super = cClearMetaOnDrop< cDisplacementYawRotator< cBlockHandler > > |
Definition at line 8 of file BlockObserver.h.
|
private |
Definition at line 11 of file BlockObserver.h.
|
inlinestatic |
Definition at line 17 of file BlockObserver.h.
|
inlinestatic |
Definition at line 22 of file BlockObserver.h.