Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
Loading...
Searching...
No Matches
IEntity Class Reference

Interface Entity. More...

#include <entity.h>

Inheritance diagram for IEntity:
ILiving Player

Public Member Functions

virtual ~IEntity ()=default
 Destroy the IEntity object.
 

Static Public Member Functions

static void loadLua (lua_State *state, const char *namespaceName)
 Loads the IEntity class to a Lua one.
 

Public Attributes

Vecf position
 Position of the entity.
 
Angle yaw
 Yaw angle of the entity.
 
Angle pitch
 Pitch angle of the entity.
 
MinecraftUUID uuid
 MinecraftUUID of the entity.
 

Detailed Description

Interface Entity.

Interface for all entities, implements basic things that all entities should have

Member Function Documentation

◆ loadLua()

static void IEntity::loadLua ( lua_State * state,
const char * namespaceName )
inlinestatic

Loads the IEntity class to a Lua one.

Parameters
statethe state to load to
namespaceNamethe namespace to load to

Member Data Documentation

◆ pitch

Angle IEntity::pitch

Pitch angle of the entity.

How the entity is oriented in space, vertically.

◆ uuid

MinecraftUUID IEntity::uuid

MinecraftUUID of the entity.

Unique identifier for the entity

◆ yaw

Angle IEntity::yaw

Yaw angle of the entity.

How the entity is oriented in space, horizontally.


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