Package me.lokka30.levelledmobs.managers
Class ExternalCompatibilityManager
java.lang.Object
me.lokka30.levelledmobs.managers.ExternalCompatibilityManager
This class handles compatibility with other plugins such as EliteMobs and Citizens
- Since:
- 2.4.0
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static @NotNull String
getMythicMobInternalName
(@NotNull LivingEntityWrapper lmEntity) static @NotNull String
getPapiPlaceholder
(org.bukkit.entity.Player player, String placeholder) static @NotNull PlayerHomeCheckResult
getPlayerHomeLocation
(@NotNull org.bukkit.entity.Player player, boolean allowBed) getWGRegionsAtLocation
(@NotNull LivingEntityInterface lmInterface) static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
isMobOfBloodNight
(@NotNull LivingEntityWrapper lmEntity) static boolean
isMobOfCitizens
(@NotNull org.bukkit.entity.LivingEntity livingEntity) static boolean
isMythicMob
(@NotNull LivingEntityWrapper lmEntity) static void
updateAllExternalCompats
(LivingEntityWrapper lmEntity)
-
Constructor Details
-
ExternalCompatibilityManager
public ExternalCompatibilityManager()
-
-
Method Details
-
doesLMIMeetVersionRequirement
public boolean doesLMIMeetVersionRequirement() -
hasLMItemsInstalled
public static boolean hasLMItemsInstalled() -
hasPapiInstalled
public static boolean hasPapiInstalled() -
hasNbtApiInstalled
public static boolean hasNbtApiInstalled() -
getPapiPlaceholder
-
hasProtocolLibInstalled
public static boolean hasProtocolLibInstalled() -
hasMythicMobsInstalled
public static boolean hasMythicMobsInstalled() -
hasWorldGuardInstalled
public static boolean hasWorldGuardInstalled() -
isMobOfBloodNight
-
isMythicMob
-
getMythicMobInternalName
@NotNull public static @NotNull String getMythicMobInternalName(@NotNull @NotNull LivingEntityWrapper lmEntity) -
updateAllExternalCompats
-
isMobOfCitizens
public static boolean isMobOfCitizens(@NotNull @NotNull org.bukkit.entity.LivingEntity livingEntity) -
getWGRegionsAtLocation
@NotNull public static @NotNull List<String> getWGRegionsAtLocation(@NotNull @NotNull LivingEntityInterface lmInterface) -
getPlayerHomeLocation
@NotNull public static @NotNull PlayerHomeCheckResult getPlayerHomeLocation(@NotNull @NotNull org.bukkit.entity.Player player, boolean allowBed)
-