EntityUtils
object EntityUtils
Functions
Link copied to clipboard
Link copied to clipboard
fun createFakePlayer(location: Location, uuid: UUID = UUID.randomUUID(), name: String = "Nova FakePlayer", hasEvents: Boolean = false): ServerPlayer
Creates a fake ServerPlayer object.
Link copied to clipboard
fun deserializeAndSpawn(data: ByteArray, location: Location, nbtModifier: (CompoundTag) -> CompoundTag? = null): Entity
Link copied to clipboard
Gets a list of all passengers of this BukkitEntity, including passengers of passengers.