Class SentinelNPCOwnedBy

java.lang.Object
org.mcmonkey.sentinel.SentinelIntegration
org.mcmonkey.sentinel.integration.SentinelNPCOwnedBy

public class SentinelNPCOwnedBy extends SentinelIntegration
  • Constructor Details

    • SentinelNPCOwnedBy

      public SentinelNPCOwnedBy()
  • Method Details

    • getTargetHelp

      public String getTargetHelp()
      Description copied from class: SentinelIntegration
      Gets the 'target help' data for this integration (empty string if not relevant). Example format is: "myintegration:MY_TARGET_IDENTIFIER" like "squad:SQUAD_NAME" or "healthabove:PERCENTAGE"
      Overrides:
      getTargetHelp in class SentinelIntegration
    • getTargetPrefixes

      public String[] getTargetPrefixes()
      Description copied from class: SentinelIntegration
      Gets the list of target prefixes that this integration handles. For a "squad:SQUAD_NAME" target, this should return: new String[] { "squad" } For integrations that don't have targets, return new String[0];
      Overrides:
      getTargetPrefixes in class SentinelIntegration
    • isTarget

      public boolean isTarget(org.bukkit.entity.LivingEntity ent, String prefix, String value)
      Description copied from class: SentinelIntegration
      Returns whether an entity is a target of the integration label.
      Overrides:
      isTarget in class SentinelIntegration