Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <BlockEndPortalFrame.h>
Private Types | |
using | Super = cYawRotator< cBlockHandler, 0x03, E_META_END_PORTAL_FRAME_ZP, E_META_END_PORTAL_FRAME_XM, E_META_END_PORTAL_FRAME_ZM, E_META_END_PORTAL_FRAME_XP > |
Private Member Functions | |
virtual ColourID | GetMapBaseColourID (NIBBLETYPE a_Meta) const override |
virtual void | OnPlaced (cChunkInterface &a_ChunkInterface, cWorldInterface &a_WorldInterface, Vector3i a_BlockPos, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) const override |
Static Private Member Functions | |
static bool | FindAndSetPortal (Vector3i a_FirstFrame, NIBBLETYPE a_Direction, cChunkInterface &a_ChunkInterface, cWorldInterface &a_WorldInterface) |
Returns false if portal cannot be made, true if portal was made. More... | |
static bool | IsPortalFrame (BLOCKTYPE BlockType) |
Return true if this block is a portal frame. More... | |
static bool | IsValidFrameAtPos (cChunkInterface &a_ChunkInterface, Vector3i a_BlockPos, NIBBLETYPE a_ShouldFace) |
Return true if this block is a portal frame, has an eye, and is facing the correct direction. More... | |
Definition at line 10 of file BlockEndPortalFrame.h.
|
private |
Definition at line 18 of file BlockEndPortalFrame.h.
|
inlinestaticprivate |
Returns false if portal cannot be made, true if portal was made.
Definition at line 49 of file BlockEndPortalFrame.h.
|
inlineoverrideprivatevirtual |
Definition at line 192 of file BlockEndPortalFrame.h.
|
inlinestaticprivate |
Return true if this block is a portal frame.
Definition at line 183 of file BlockEndPortalFrame.h.
|
inlinestaticprivate |
Return true if this block is a portal frame, has an eye, and is facing the correct direction.
Definition at line 167 of file BlockEndPortalFrame.h.
|
inlineoverrideprivatevirtual |
Definition at line 32 of file BlockEndPortalFrame.h.