using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MinecraftClient.Mapping { /// /// Represents an entity evolving into a Minecraft world /// public class Entity { /// /// ID of the entity on the Minecraft server /// public int ID; /// /// UUID of the entity if it is a player. /// public Guid UUID; /// /// Entity type /// public EntityType Type; /// /// Entity location in the Minecraft world /// public Location Location; /// /// Create a new entity based on Entity ID, Entity Type and location /// /// Entity ID /// Entity Type Enum /// Entity location public Entity(int ID, EntityType type, Location location) { this.ID = ID; this.Type = type; this.Location = location; } /// /// Create a new entity based on Entity ID, Entity Type, location and UUID /// /// Entity ID /// Entity Type Enum /// Entity location public Entity(int ID, EntityType type, Location location, Guid uuid) { this.ID = ID; this.Type = type; this.Location = location; this.UUID = uuid; } } }