Class Shields

java.lang.Object
org.kingdoms.utils.kingdoms.Shields

public final class Shields extends Object
Utility methods for handling Shield.
  • Method Details

    • isEffectivelyPacifist

      public static boolean isEffectivelyPacifist(Kingdom kingdom)
    • getShieldToUse

      @NotNull public static @NotNull Group getShieldToUse(@NotNull @NotNull Kingdom kingdom)
      Gets the group that should have its shield used based on the config options. This is either the kingdom, or the nation of the kingdom.