Uses of Class
org.mcmonkey.sentinel.SentinelTrait

Packages that use SentinelTrait
  • Uses of SentinelTrait in org.mcmonkey.sentinel

    Fields in org.mcmonkey.sentinel declared as SentinelTrait
    Modifier and Type
    Field
    Description
    SentinelHelperObject.sentinel
    The relevant SentinelTrait instance.
    Fields in org.mcmonkey.sentinel with type parameters of type SentinelTrait
    Modifier and Type
    Field
    Description
    SentinelPlugin.currentSentinelNPCs
    A list of all currently spawned Sentinel NPCs.
    Methods in org.mcmonkey.sentinel that return SentinelTrait
    Modifier and Type
    Method
    Description
    SentinelPlugin.getSentinelFor(org.bukkit.command.CommandSender sender)
    Gets the Sentinel Trait instance for a given command sender (based on their selected NPC).
    SentinelUtilities.tryGetSentinel(org.bukkit.entity.Entity entity)
    Tries to get a Sentinel from an entity.
    Methods in org.mcmonkey.sentinel that return types with arguments of type SentinelTrait
    Modifier and Type
    Method
    Description
    SentinelPlugin.cleanCurrentList()
    Cleans and returns the current Sentinel NPC list.
    Methods in org.mcmonkey.sentinel with parameters of type SentinelTrait
    Modifier and Type
    Method
    Description
    boolean
    SentinelIntegration.itemIsRanged(SentinelTrait sentinel, org.bukkit.inventory.ItemStack item)
    For autoswitch logic, return 'true' if the item should be considered a valid ranged weapon to swap to.
    void
    SentinelHelperObject.setTraitObject(SentinelTrait trait)
    Sets the Sentinel trait object (and fills other helper object values).
    boolean
    SentinelIntegration.tryAttack(SentinelTrait st, org.bukkit.entity.LivingEntity ent)
    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).
  • Uses of SentinelTrait in org.mcmonkey.sentinel.commands

    Methods in org.mcmonkey.sentinel.commands with parameters of type SentinelTrait
    Modifier and Type
    Method
    Description
    void
    SentinelAttackCommands.accuracy(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.addAvoid(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.addIgnore(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.addTarget(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.armor(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.attackRate(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelIntelligenceCommands.autoswitch(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.avoidRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.avoidReturnpoint(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.avoids(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelChaseCommands.chaseClose(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelChaseCommands.chaseRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelChaseCommands.chaseRanged(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.damage(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.deathxp(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.dropChance(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.drops(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.enemyDrops(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.fightback(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.forgive(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelGreetingCommands.greeting(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelGreetingCommands.greetRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelGreetingCommands.greetRate(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelIntelligenceCommands.guard(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelIntelligenceCommands.guardDistance(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.healRate(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.health(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.ignores(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelInfoCommands.info(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.invincible(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.kill(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.knockback(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelIntelligenceCommands.needAmmo(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.projectileRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.protectedFromIgnores(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.protectFromRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.range(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.reach(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelIntelligenceCommands.realistic(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.removeAvoid(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.removeIgnore(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.removeTarget(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.respawn(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.respawnTime(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.runaway(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.safeShot(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelHealthCommands.spawnpoint(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelChaseCommands.speed(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelIntelligenceCommands.squad(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelInfoCommands.stats(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.targets(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelTargetCommands.targetTime(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelGreetingCommands.warning(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.weaponDamage(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelAttackCommands.weaponRedirect(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
    void
    SentinelChaseCommands.wgRegion(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel)
     
  • Uses of SentinelTrait in org.mcmonkey.sentinel.integration

    Methods in org.mcmonkey.sentinel.integration with parameters of type SentinelTrait
    Modifier and Type
    Method
    Description
    boolean
    SentinelCrackShot.itemIsRanged(SentinelTrait sentinel, org.bukkit.inventory.ItemStack item)
     
    boolean
    SentinelCrackShot.tryAttack(SentinelTrait st, org.bukkit.entity.LivingEntity ent)
     
  • Uses of SentinelTrait in org.mcmonkey.sentinel.targeting

    Methods in org.mcmonkey.sentinel.targeting with parameters of type SentinelTrait
    Modifier and Type
    Method
    Description
    boolean
    SentinelTargetList.isEventTarget(org.bukkit.event.entity.EntityDamageByEntityEvent event, SentinelTrait sentinel)
    Returns whether the damager in a damage event is targeted by this list.
    boolean
    SentinelTargetList.isEventTarget(SentinelTrait sentinel, org.bukkit.event.player.AsyncPlayerChatEvent event)
    Returns whether a chat event is targeted by this list.
    boolean
    SentinelTargetList.isReverseEventTarget(SentinelTrait sentinel, org.bukkit.event.entity.EntityDamageByEntityEvent event)
    Returns whether the victim in a damage event is targeted by this list.
    boolean
    SentinelTarget.isTarget(org.bukkit.entity.LivingEntity entity, SentinelTrait sentinel)
    Returns whether this SentinelTarget targets the given entity for the given Sentinel.
    boolean
    SentinelTargetList.isTarget(org.bukkit.entity.LivingEntity entity, SentinelTrait sentinel)
    Returns whether an entity is targeted by this target list on a specific Sentinel NPC.
  • Uses of SentinelTrait in org.mcmonkey.sentinel.utilities

    Methods in org.mcmonkey.sentinel.utilities with parameters of type SentinelTrait
    Modifier and Type
    Method
    Description
    static com.sk89q.worldguard.protection.regions.ProtectedRegion
    SentinelWorldGuardHelper.getRegionFor(SentinelTrait sentinel)