PlayerManager

Player manager

Functions

Link copied to clipboard
abstract fun animate(@NotNull player: Player, @NotNull model: String, @NotNull animation: String)
Play's animation to this player
Link copied to clipboard
@Nullable
abstract fun limb(@NotNull name: String): BlueprintRenderer
Gets renderer for player animation by name.
Link copied to clipboard
@NotNull
@Unmodifiable
abstract fun limbs(): @Unmodifiable List<BlueprintRenderer>
Gets all renderers for player animation.
Link copied to clipboard
@Nullable
abstract fun player(@NotNull uuid: UUID): PlayerChannelHandler
Gets player channel handler
@NotNull
abstract fun player(@NotNull player: Player): PlayerChannelHandler
Get or creates channel handler Do not use this with fake player, instead use PlayerManager#player(UUID)
Link copied to clipboard
abstract fun reload(@NotNull info: ReloadInfo)
Executes reload