Class Companion

java.lang.Object
me.lokka30.levelledmobs.Companion

public class Companion extends Object
This class contains methods used by the main class.
Since:
2.4.0
  • Field Details

    • hostileMobsGroup

      public HashSet<org.bukkit.entity.EntityType> hostileMobsGroup
    • aquaticMobsGroup

      public HashSet<org.bukkit.entity.EntityType> aquaticMobsGroup
    • passiveMobsGroup

      public HashSet<org.bukkit.entity.EntityType> passiveMobsGroup
    • updateResult

      public List<String> updateResult
    • useAdventure

      public boolean useAdventure
    • playerNetherPortals

      public final Map<org.bukkit.entity.Player,org.bukkit.Location> playerNetherPortals
    • playerWorldPortals

      public final Map<org.bukkit.entity.Player,org.bukkit.Location> playerWorldPortals
    • spawnerCopyIds

      public final List<UUID> spawnerCopyIds
    • spawnerInfoIds

      public final List<UUID> spawnerInfoIds
    • debugsEnabled

      public final List<DebugType> debugsEnabled
    • externalCompatibilityManager

      public final ExternalCompatibilityManager 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

      public boolean doesUserHaveCooldown(@NotNull @NotNull List<Long> chunkKeys, @NotNull @NotNull UUID userId)
    • addUserCooldown

      public void addUserCooldown(@NotNull @NotNull List<Long> chunkKeys, @NotNull @NotNull UUID userId)
    • 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)