Interface PlayerChannelHandler

All Superinterfaces:
AutoCloseable, Identifiable

public interface PlayerChannelHandler extends AutoCloseable, Identifiable
A player channel
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    Checks this player's skin is slim
    @NotNull org.bukkit.entity.Player
    Gets Bukkit player
    default @NotNull com.mojang.authlib.GameProfile
    Gets player game profile
    void
    Sends correct entity data of this tracker

    Methods inherited from interface kr.toxicity.model.api.nms.Identifiable

    id, uuid
  • Method Details

    • player

      @NotNull @NotNull org.bukkit.entity.Player player()
      Gets Bukkit player
      Returns:
      player
    • profile

      @NotNull default @NotNull com.mojang.authlib.GameProfile profile()
      Gets player game profile
      Returns:
      game profile
    • isSlim

      boolean isSlim()
      Checks this player's skin is slim
      Returns:
      slim or wide
    • sendEntityData

      void sendEntityData(@NotNull @NotNull EntityTrackerRegistry registry)
      Sends correct entity data of this tracker
      Parameters:
      registry - registry
    • close

      void close()
      Specified by:
      close in interface AutoCloseable