Cuberite
A lightweight, fast and extensible game server for Minecraft
Private Types | Private Member Functions | List of all members
cBlockDropSpenserHandler Class Referencefinal

#include <BlockDropSpenser.h>

Inheritance diagram for cBlockDropSpenserHandler:
Inheritance graph
[legend]
Collaboration diagram for cBlockDropSpenserHandler:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 14 of file BlockDropSpenser.h.

Member Typedef Documentation

◆ Super

using cBlockDropSpenserHandler::Super = cDisplacementYawRotator<cClearMetaOnDrop<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>
private

Definition at line 17 of file BlockDropSpenser.h.

Member Function Documentation

◆ GetMapBaseColourID()

virtual ColourID cBlockDropSpenserHandler::GetMapBaseColourID ( NIBBLETYPE  a_Meta) const
inlineoverrideprivatevirtual

Definition at line 25 of file BlockDropSpenser.h.


The documentation for this class was generated from the following file: