Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Attributes | List of all members
cEntity::sPortalCooldownData Struct Reference

Structure storing the portal delay timer and cooldown boolean. More...

#include <Entity.h>

Public Attributes

bool m_ShouldPreventTeleportation
 Whether the entity has just exited the portal, and should therefore not be teleported again. More...
 
unsigned short m_TicksDelayed
 Ticks since entry of portal, used to delay teleportation. More...
 

Detailed Description

Structure storing the portal delay timer and cooldown boolean.

Definition at line 565 of file Entity.h.

Member Data Documentation

bool cEntity::sPortalCooldownData::m_ShouldPreventTeleportation

Whether the entity has just exited the portal, and should therefore not be teleported again.

This prevents teleportation loops, and is reset when the entity has moved out of the portal.

Definition at line 572 of file Entity.h.

unsigned short cEntity::sPortalCooldownData::m_TicksDelayed

Ticks since entry of portal, used to delay teleportation.

Definition at line 568 of file Entity.h.


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