mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Added UUID initializers for the functions that support it in McTcpClient.cs, Also Fixed some redundant Object creation.
This commit is contained in:
parent
1c2e4ab6d8
commit
2f1b99c064
2 changed files with 8 additions and 7 deletions
|
|
@ -60,18 +60,19 @@ namespace MinecraftClient.Mapping
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create a new entity based on Entity ID, Entity Type and location
|
||||
/// Create a new entity based on Entity ID, Entity Type, location, and UUID
|
||||
/// </summary>
|
||||
/// <param name="ID">Entity ID</param>
|
||||
/// <param name="TypeID">Entity Type ID</param>
|
||||
/// <param name="type">Entity Type Enum</param>
|
||||
/// <param name="location">Entity location</param>
|
||||
public Entity(int ID, int TypeID, EntityType type, Location location)
|
||||
public Entity(int ID, int TypeID, EntityType type, Location location, Guid uuid)
|
||||
{
|
||||
this.ID = ID;
|
||||
this.TypeID = TypeID;
|
||||
this.Type = type;
|
||||
this.Location = location;
|
||||
this.UUID = uuid;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue