Package kr.toxicity.model.api.manager
Interface PlayerManager
public interface PlayerManager
Player manager
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanDeprecated, for removal: This API element is subject to removal in a future version.default booleananimate(@NotNull org.bukkit.entity.Player player, @NotNull String model, @NotNull String animation, @NotNull AnimationModifier modifier) Deprecated, for removal: This API element is subject to removal in a future version.default @Nullable ModelRendererDeprecated, for removal: This API element is subject to removal in a future version.@Nullable PlayerChannelHandlerGets player channel handler@NotNull PlayerChannelHandlerplayer(@NotNull org.bukkit.entity.Player player) Get or creates channel handler Do not use this with fake player, instead use PlayerManager#player(UUID)
-
Method Details
-
player
Gets player channel handler- Parameters:
uuid- player's uuid- Returns:
- channel handler or null
-
player
Get or creates channel handler Do not use this with fake player, instead use PlayerManager#player(UUID)- Parameters:
player- player- Returns:
- channel handler
-
limb
@Deprecated(forRemoval=true) @Nullable default @Nullable ModelRenderer limb(@NotNull @NotNull String name) Deprecated, for removal: This API element is subject to removal in a future version. -
animate
@Deprecated(forRemoval=true) default boolean animate(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull String model, @NotNull @NotNull String animation) Deprecated, for removal: This API element is subject to removal in a future version. -
animate
@Deprecated(forRemoval=true) default boolean animate(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull String model, @NotNull @NotNull String animation, @NotNull @NotNull AnimationModifier modifier) Deprecated, for removal: This API element is subject to removal in a future version.
-