Added UniqueId to entities. Thanks Afforess!
This commit is contained in:
parent
0cba828a97
commit
cb9987429d
@ -7,6 +7,7 @@ import org.bukkit.event.entity.EntityDamageEvent;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Represents a base entity in the world
|
||||
@ -182,4 +183,9 @@ public interface Entity {
|
||||
*/
|
||||
public EntityDamageEvent getLastDamageCause();
|
||||
|
||||
/**
|
||||
* Returns a unique and persistent id for this entity
|
||||
* @return unique id
|
||||
*/
|
||||
public UUID getUniqueId();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user