Package me.lokka30.levelledmobs
Class Companion
java.lang.Object
me.lokka30.levelledmobs.Companion
This class contains methods used by the main class.
- Since:
- 2.4.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecentlyJoinedPlayer
(org.bukkit.entity.Player player) void
addUserCooldown
(@NotNull List<Long> chunkKeys, @NotNull UUID userId) void
boolean
doesUserHaveCooldown
(@NotNull List<Long> chunkKeys, @NotNull UUID userId) boolean
@NotNull Map<org.bukkit.entity.EntityType,
ChunkKillInfo> getorAddPairForSpecifiedChunk
(long chunkKey) @NotNull List<Map<org.bukkit.entity.EntityType,
ChunkKillInfo>> getorAddPairForSpecifiedChunks
(@NotNull List<Long> chunkKeys) @Nullable org.bukkit.Location
getPlayerNetherPortalLocation
(@NotNull org.bukkit.entity.Player player) @Nullable org.bukkit.Location
getPlayerWorldPortalLocation
(@NotNull org.bukkit.entity.Player player) @Nullable Instant
getRecentlyJoinedPlayerLogonTime
(org.bukkit.entity.Player player) void
removeRecentlyJoinedPlayer
(org.bukkit.entity.Player player) void
setPlayerNetherPortalLocation
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location location) void
setPlayerWorldPortalLocation
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location location)
-
Field Details
-
hostileMobsGroup
-
aquaticMobsGroup
-
passiveMobsGroup
-
updateResult
-
useAdventure
public boolean useAdventure -
playerNetherPortals
-
playerWorldPortals
-
spawnerCopyIds
-
spawnerInfoIds
-
debugsEnabled
-
externalCompatibilityManager
-
-
Method Details
-
getHadRulesLoadError
public boolean getHadRulesLoadError() -
getorAddPairForSpecifiedChunk
@NotNull public @NotNull Map<org.bukkit.entity.EntityType,ChunkKillInfo> getorAddPairForSpecifiedChunk(long chunkKey) -
getorAddPairForSpecifiedChunks
@NotNull public @NotNull List<Map<org.bukkit.entity.EntityType,ChunkKillInfo>> getorAddPairForSpecifiedChunks(@NotNull @NotNull List<Long> chunkKeys) -
doesUserHaveCooldown
-
addUserCooldown
-
clearChunkKillCache
public void clearChunkKillCache() -
addRecentlyJoinedPlayer
public void addRecentlyJoinedPlayer(org.bukkit.entity.Player player) -
getRecentlyJoinedPlayerLogonTime
@Nullable public @Nullable Instant getRecentlyJoinedPlayerLogonTime(org.bukkit.entity.Player player) -
removeRecentlyJoinedPlayer
public void removeRecentlyJoinedPlayer(org.bukkit.entity.Player player) -
getPlayerNetherPortalLocation
@Nullable public @Nullable org.bukkit.Location getPlayerNetherPortalLocation(@NotNull @NotNull org.bukkit.entity.Player player) -
setPlayerNetherPortalLocation
public void setPlayerNetherPortalLocation(@NotNull @NotNull org.bukkit.entity.Player player, @Nullable @Nullable org.bukkit.Location location) -
getPlayerWorldPortalLocation
@Nullable public @Nullable org.bukkit.Location getPlayerWorldPortalLocation(@NotNull @NotNull org.bukkit.entity.Player player) -
setPlayerWorldPortalLocation
public void setPlayerWorldPortalLocation(@NotNull @NotNull org.bukkit.entity.Player player, @Nullable @Nullable org.bukkit.Location location)
-