Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <BlockLadder.h>
Static Public Member Functions | |
static bool | CanBePlacedOn (const BLOCKTYPE a_BlockType, const eBlockFace a_BlockFace) |
Returns true if the ladder will be supported by the block through the given blockface. More... | |
Private Types | |
using | Super = cClearMetaOnDrop< cMetaRotator< cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04 > > |
Private Member Functions | |
virtual bool | CanBeAt (const cChunk &a_Chunk, const Vector3i a_Position, const NIBBLETYPE a_Meta) const override |
virtual ColourID | GetMapBaseColourID (NIBBLETYPE a_Meta) const override |
Static Private Member Functions | |
static eBlockFace | MetaDataToBlockFace (NIBBLETYPE a_MetaData) |
Converts the ladder block's meta to the block face of the neighbor to which the ladder is attached. More... | |
Additional Inherited Members | |
Public Member Functions inherited from cClearMetaOnDrop< cMetaRotator< cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04 > > | |
constexpr | cClearMetaOnDrop (BLOCKTYPE a_BlockType) |
Public Member Functions inherited from cMetaRotator< Base, BitMask, North, East, South, West, AssertIfNotMatched > | |
constexpr | cMetaRotator (BLOCKTYPE a_BlockType) |
Protected Member Functions inherited from cClearMetaOnDrop< cMetaRotator< cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04 > > | |
~cClearMetaOnDrop ()=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 12 of file BlockLadder.h.
|
private |
Definition at line 15 of file BlockLadder.h.
|
inlineoverrideprivatevirtual |
Definition at line 56 of file BlockLadder.h.
|
inlinestatic |
Returns true if the ladder will be supported by the block through the given blockface.
Definition at line 23 of file BlockLadder.h.
|
inlineoverrideprivatevirtual |
Definition at line 69 of file BlockLadder.h.
|
inlinestaticprivate |
Converts the ladder block's meta to the block face of the neighbor to which the ladder is attached.
Definition at line 40 of file BlockLadder.h.