Class BukkitEntity
java.lang.Object
kr.toxicity.model.api.bukkit.platform.BukkitEntity
- All Implemented Interfaces:
kr.toxicity.model.api.platform.PlatformEntity,kr.toxicity.model.api.platform.PlatformRegionHolder
- Direct Known Subclasses:
BukkitLivingEntity
Represents a Bukkit entity wrapped as a
PlatformEntity.- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionBukkitEntity(@NotNull org.bukkit.entity.Entity source) Creates a new BukkitEntity wrapper. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kr.toxicity.model.api.platform.PlatformEntity
registry, task, taskLater, tracker
-
Constructor Details
-
BukkitEntity
public BukkitEntity(@NotNull @NotNull org.bukkit.entity.Entity source) Creates a new BukkitEntity wrapper.- Parameters:
source- the source Bukkit entity- Since:
- 2.0.0
-
-
Method Details
-
source
public org.bukkit.entity.Entity source()Returns the underlying Bukkit entity.- Returns:
- the source entity
- Since:
- 2.0.0
-
uuid
- Specified by:
uuidin interfacekr.toxicity.model.api.platform.PlatformEntity
-
location
@NotNull public @NotNull kr.toxicity.model.api.platform.PlatformLocation location()- Specified by:
locationin interfacekr.toxicity.model.api.platform.PlatformEntity
-