EntityTrackerRegistry

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@NotNull
open fun adapter(): @NotNull EntityAdapter
Link copied to clipboard
open fun autoSpawn(): Boolean
Checks this tracker supports auto spawn
open fun autoSpawn(spawn: Boolean)
Sets this tracker is auto-spawned by some player's client
Link copied to clipboard
open fun canBeSpawnedAt(@NotNull player: @NotNull Player): Boolean
Checks this tracker can be spawned at this player's client
Link copied to clipboard
open fun close(): Boolean
Link copied to clipboard
@ApiStatus.Internal
@NotNull
open fun create(@NotNull key: @NotNull String, @NotNull supplier: @NotNull (EntityTrackerRegistry) -> EntityTracker): @NotNull EntityTracker
Link copied to clipboard
open fun despawn()
Link copied to clipboard
@NotNull
open fun displays(): @NotNull Stream<ModelDisplay>
Link copied to clipboard
@NotNull
open fun entity(): @NotNull Entity
Link copied to clipboard
@Nullable
open fun first(): @Nullable EntityTracker
Link copied to clipboard
@NotNull
open fun getOrCreate(@NotNull key: @NotNull String, @NotNull supplier: @NotNull (EntityTrackerRegistry) -> EntityTracker): @NotNull EntityTracker
Link copied to clipboard
@NotNull
open fun hideOption(): @NotNull EntityTrackerRegistry.HideOption
open fun hideOption(@NotNull hideOption: @NotNull EntityTrackerRegistry.HideOption)
Link copied to clipboard
open fun isClosed(): Boolean
Link copied to clipboard
open fun load()
open fun load(@NotNull stream: @NotNull Stream<TrackerData>)
Link copied to clipboard
open fun refresh()
Link copied to clipboard
@Nullable
open fun registry(@NotNull uuid: @NotNull UUID): @Nullable EntityTrackerRegistry
@ApiStatus.Internal
@NotNull
open fun registry(@NotNull entity: @NotNull Entity): @NotNull EntityTrackerRegistry
Link copied to clipboard
open fun reload()
Link copied to clipboard
open fun remove(@NotNull key: @NotNull String): Boolean
open fun remove(@NotNull player: @NotNull Player): Boolean
Link copied to clipboard
open fun save()
Link copied to clipboard
@NotNull
open fun serialize(): @NotNull JsonArray
Link copied to clipboard
open fun spawn(@NotNull player: @NotNull Player): Boolean
Spawns this tracker to some player
Link copied to clipboard
open fun spawnFilter(@NotNull predicate: @NotNull Predicate<Player>)
Link copied to clipboard
@Nullable
open fun tracker(@Nullable key: @Nullable String): @Nullable EntityTracker
Link copied to clipboard
@NotNull
@Unmodifiable
open fun trackers(): @NotNull @Unmodifiable Collection<EntityTracker>