Package kr.toxicity.model.api.nms
Interface PlayerChannelHandler
- All Superinterfaces:
AutoCloseable,Identifiable
A player channel
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisSlim()Checks this player's skin is slim@NotNull org.bukkit.entity.Playerplayer()Gets Bukkit playerdefault @NotNull com.mojang.authlib.GameProfileprofile()Gets player game profilevoidsendEntityData(@NotNull EntityTrackerRegistry registry) Sends correct entity data of this trackerMethods 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
Sends correct entity data of this tracker- Parameters:
registry- registry
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-