Class SentinelCrackShot

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

public class SentinelCrackShot extends SentinelIntegration
  • Constructor Details

    • SentinelCrackShot

      public SentinelCrackShot()
  • 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
    • tryAttack

      public boolean tryAttack(SentinelTrait st, org.bukkit.entity.LivingEntity ent)
      Description copied from class: SentinelIntegration
      Runs when an NPC intends to attack a target - return 'true' to indicate the integration ran its own attack methodology (and no default attack handling is needed).
      Overrides:
      tryAttack in class SentinelIntegration