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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic @NotNull StringgetMythicMobInternalName(@NotNull LivingEntityWrapper lmEntity) static @NotNull StringgetPapiPlaceholder(org.bukkit.entity.Player player, String placeholder) static @NotNull PlayerHomeCheckResultgetPlayerHomeLocation(@NotNull org.bukkit.entity.Player player, boolean allowBed) getWGRegionsAtLocation(@NotNull LivingEntityInterface lmInterface) static booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanisMobOfBloodNight(@NotNull LivingEntityWrapper lmEntity) static booleanisMobOfCitizens(@NotNull org.bukkit.entity.LivingEntity livingEntity) static booleanisMythicMob(@NotNull LivingEntityWrapper lmEntity) static voidupdateAllExternalCompats(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)
-