![]() |
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 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 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.