Class MannequinWatcher
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.MannequinWatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable net.kyori.adventure.text.Component@NotNull com.github.retrooper.packetevents.protocol.component.builtin.item.ItemProfilegetSkin()@Nullable StringIf the skin was retrieved via a username, this is set to indicate the player usedprotected voidvoidsetDescription(@Nullable net.kyori.adventure.text.Component description) voidsetSkin(@Nullable com.github.retrooper.packetevents.protocol.component.builtin.item.ItemProfile profile) voidsetSkin(@Nullable com.github.retrooper.packetevents.protocol.player.UserProfile profile) voidMethods inherited from class me.libraryaddict.disguise.disguisetypes.watchers.AvatarWatcher
getHandMeta, getMainHand, getSkinMeta, 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, 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
-
MannequinWatcher
-
-
Method Details
-
clone
- Overrides:
clonein classLivingWatcher
-
onPreDisguiseStart
protected void onPreDisguiseStart()- Overrides:
onPreDisguiseStartin classFlagWatcher
-
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
-
getSkin
@NotNull public @NotNull com.github.retrooper.packetevents.protocol.component.builtin.item.ItemProfile getSkin() -
setSkin
public void setSkin(@Nullable @Nullable com.github.retrooper.packetevents.protocol.component.builtin.item.ItemProfile profile) -
getDescription
@Nullable public @Nullable net.kyori.adventure.text.Component getDescription() -
setDescription
public void setDescription(@Nullable @Nullable net.kyori.adventure.text.Component description)
-