Class PlayerWatcher
java.lang.Object
me.libraryaddict.disguise.disguisetypes.FlagWatcher
me.libraryaddict.disguise.disguisetypes.watchers.LivingWatcher
me.libraryaddict.disguise.disguisetypes.watchers.AvatarWatcher
me.libraryaddict.disguise.disguisetypes.watchers.PlayerWatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Parrot.VariantgetName()org.bukkit.entity.Parrot.Variant@NotNull com.github.retrooper.packetevents.protocol.player.UserProfilegetSkin()@Nullable StringIf the skin was retrieved via a username, this is set to indicate the player usedbooleanbooleanbooleanbooleanvoidsetDisplayedInTab(boolean showPlayerInTab) voidsetLeftShoulderHasParrot(boolean hasParrot) voidsetLeftShoulderParrot(org.bukkit.entity.Parrot.Variant variant) voidvoidsetNameVisible(boolean nameVisible) voidsetRightShoulderHasParrot(boolean hasParrot) voidsetRightShoulderParrot(org.bukkit.entity.Parrot.Variant variant) voidsetSkin(@Nullable com.github.retrooper.packetevents.protocol.player.UserProfile profile) voidvoidsetTablistName(String tablistName) Methods inherited from class me.libraryaddict.disguise.disguisetypes.watchers.AvatarWatcher
getMainHand, isCapeEnabled, isHatEnabled, isJacketEnabled, isLeftPantsEnabled, isLeftSleeveEnabled, isRightPantsEnabled, isRightSleeveEnabled, setCapeEnabled, setHatEnabled, setJacketEnabled, setLeftPantsEnabled, setLeftSleeveEnabled, setMainHand, setRightPantsEnabled, setRightSleeveEnabledMethods inherited from class me.libraryaddict.disguise.disguisetypes.watchers.LivingWatcher
addEntityAnimations, addParticle, addPotionEffect, getArrowsSticking, getBedPosition, getHealth, getParticles, getParticlesColor, getPotionEffects, getScale, hasPotionEffect, isMainHandRaised, isOffhandRaised, isPotionParticlesAmbient, isRightClicking, isSpinning, removeParticles, removePotionEffect, setArrowsSticking, setBedPosition, setHealth, setMainHandRaised, setMaxHealth, setOffhandRaised, setParticlesColor, setPotionParticlesAmbient, setRightClicking, setScale, setSpinningMethods inherited from class me.libraryaddict.disguise.disguisetypes.FlagWatcher
convert, getArmor, getBoots, getChestplate, getCustomName, getData, getEntityFlag, getEntityPose, getEquipment, getHelmet, getItemInMainHand, getItemInOffHand, getItemStack, getLeggings, getTicksFrozen, getWatchableObjects, hasCustomName, hasValue, isAddEntityAnimations, isBurning, isCustomNameVisible, isEntityAnimationsAdded, isFlyingWithElytra, isGlowing, isInvisible, isNoGravity, isPitchLocked, isSleeping, isSneaking, isSprinting, isSwimming, isYawLocked, onPreDisguiseStart, rebuildWatchableObjects, sendData, sendData, sendEntityFlag, sendItemStack, setArmor, setBackupValue, setBoots, setBurning, setChestplate, setCustomName, setCustomNameVisible, setData, setDisguise, setEntityFlag, setEntityPose, setFlyingWithElytra, setGlowColor, setGlowing, setHelmet, setInteralCustomName, setInternalCustomNameVisible, setInternalUpsideDown, setInvisible, setItemInHand, setItemInMainHand, setItemInOffHand, setItemStack, setLeggings, setNameYModifier, setNoGravity, setPitchLock, setPitchLocked, setSleeping, setSneaking, setSprinting, setSwimming, setTicksFrozen, setUnsafeData, setUpsideDown, setYawLock, setYawLocked, setYModifier, updateNameHeight, updatePose
-
Constructor Details
-
PlayerWatcher
-
-
Method Details
-
getSkinMeta
- Overrides:
getSkinMetain classAvatarWatcher
-
getHandMeta
- Overrides:
getHandMetain classAvatarWatcher
-
getSkin
@NotNull public @NotNull com.github.retrooper.packetevents.protocol.player.UserProfile getSkin() -
getSkinName
Description copied from class:AvatarWatcherIf the skin was retrieved via a username, this is set to indicate the player used- Specified by:
getSkinNamein classAvatarWatcher- Returns:
- Name of player if it is relevant for skin resolution
-
setSkin
- Specified by:
setSkinin classAvatarWatcher
-
setSkin
public void setSkin(@Nullable @Nullable com.github.retrooper.packetevents.protocol.player.UserProfile profile) - Specified by:
setSkinin classAvatarWatcher
-
isDisplayedInTab
public boolean isDisplayedInTab() -
setDisplayedInTab
public void setDisplayedInTab(boolean showPlayerInTab) -
isNameVisible
public boolean isNameVisible() -
setNameVisible
public void setNameVisible(boolean nameVisible) -
getName
-
setName
-
getTablistName
-
setTablistName
-
clone
- Overrides:
clonein classLivingWatcher
-
getRightShoulderParrot
@Nullable public org.bukkit.entity.Parrot.Variant getRightShoulderParrot() -
setRightShoulderParrot
public void setRightShoulderParrot(@Nullable org.bukkit.entity.Parrot.Variant variant) -
getLeftShoulderParrot
@Nullable public org.bukkit.entity.Parrot.Variant getLeftShoulderParrot() -
setLeftShoulderParrot
public void setLeftShoulderParrot(@Nullable org.bukkit.entity.Parrot.Variant variant) -
isRightShoulderHasParrot
public boolean isRightShoulderHasParrot() -
setRightShoulderHasParrot
public void setRightShoulderHasParrot(boolean hasParrot) -
isLeftShoulderHasParrot
public boolean isLeftShoulderHasParrot() -
setLeftShoulderHasParrot
public void setLeftShoulderHasParrot(boolean hasParrot)
-