Package me.lokka30.levelledmobs.misc
Class NametagTimerChecker
java.lang.Object
me.lokka30.levelledmobs.misc.NametagTimerChecker
Used to mobs have a nametag cooldown timer where the nametag stays always visible for a
configurable amount of time
- Since:
- 3.2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal WeakHashMap<org.bukkit.entity.LivingEntity,Long> static final Objectfinal WeakHashMap<org.bukkit.entity.LivingEntity,org.bukkit.entity.Player> static final Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlayerToQueue(@NotNull PlayerQueueItem item) voidMap<org.bukkit.entity.Player,WeakHashMap<org.bukkit.entity.LivingEntity, Instant>>
-
Field Details
-
cooldownTimes
-
entityTargetMap
-
nametagTimer_Lock
-
entityTarget_Lock
-
-
Constructor Details
-
NametagTimerChecker
-
-
Method Details
-
addPlayerToQueue
-
getNametagCooldownQueue
public Map<org.bukkit.entity.Player,WeakHashMap<org.bukkit.entity.LivingEntity, getNametagCooldownQueue()Instant>> -
checkNametags
public void checkNametags()
-