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
Modifier and TypeFieldDescriptionfinal WeakHashMap<org.bukkit.entity.LivingEntity,
Long> static final Object
final WeakHashMap<org.bukkit.entity.LivingEntity,
org.bukkit.entity.Player> static final Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayerToQueue
(@NotNull PlayerQueueItem item) void
Map<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()
-