Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <BlockAnvil.h>
Private Types | |
using | Super = cYawRotator< cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02 > |
Private Member Functions | |
virtual cItems | ConvertToPickups (const NIBBLETYPE a_BlockMeta, const cItem *const a_Tool) const override |
virtual ColourID | GetMapBaseColourID (NIBBLETYPE a_Meta) const override |
virtual bool | IsUseable () const override |
virtual bool | OnUse (cChunkInterface &a_ChunkInterface, cWorldInterface &a_WorldInterface, cPlayer &a_Player, const Vector3i a_BlockPos, eBlockFace a_BlockFace, const Vector3i a_CursorPos) const override |
Additional Inherited Members | |
Public Member Functions inherited from cMetaRotator< Base, BitMask, North, East, South, West, AssertIfNotMatched > | |
constexpr | cMetaRotator (BLOCKTYPE a_BlockType) |
Static Public Member Functions inherited from cYawRotator< cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02 > | |
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 cYawRotator< cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02 > | |
~cYawRotator ()=default | |
Protected Member Functions inherited from cMetaRotator< Base, BitMask, North, East, South, West, AssertIfNotMatched > | |
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 13 of file BlockAnvil.h.
|
private |
Definition at line 16 of file BlockAnvil.h.
|
inlineoverrideprivatevirtual |
Definition at line 24 of file BlockAnvil.h.
|
inlineoverrideprivatevirtual |
Definition at line 60 of file BlockAnvil.h.
|
inlineoverrideprivatevirtual |
Definition at line 51 of file BlockAnvil.h.
|
inlineoverrideprivatevirtual |
Definition at line 33 of file BlockAnvil.h.