public interface PlatformEntity
This does not relate directly to a "Minecraft Entity". The closest comparison is to a "CommandSender" or "CommandSource".
The various types of PlatformEntity are detailed in PlatformEntity.Type.
| Modifier and Type | Interface and Description |
|---|---|
static class |
PlatformEntity.Type
The different types of
PlatformEntity |
| Modifier and Type | Method and Description |
|---|---|
@NonNull String |
getName()
Gets the name of the object
|
@NonNull PlatformEntity.Type |
getType()
Gets the entities type.
|
@Nullable UUID |
getUniqueId()
Gets the unique id of the entity, if it has one.
|
@Nullable UUID getUniqueId()
For players, this returns their uuid assigned by the server.
@NonNull String getName()
@NonNull PlatformEntity.Type getType()