PlayerManager

interface PlayerManager

Player manager

Functions

Link copied to clipboard
open fun animate(@NotNull player: @NotNull Player, @NotNull model: @NotNull String, @NotNull animation: @NotNull String): Boolean
open fun animate(@NotNull player: @NotNull Player, @NotNull model: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean
Link copied to clipboard
@Nullable
open fun limb(@NotNull name: @NotNull String): @Nullable ModelRenderer
Link copied to clipboard
@Nullable
abstract fun player(@NotNull uuid: @NotNull UUID): @Nullable PlayerChannelHandler
Gets player channel handler
@NotNull
abstract fun player(@NotNull player: @NotNull Player): @NotNull PlayerChannelHandler
Get or creates channel handler Do not use this with fake player, instead use PlayerManager#player(UUID)