Uses of Class
org.mcmonkey.sentinel.SentinelTrait
Packages that use SentinelTrait
Package
Description
-
Uses of SentinelTrait in org.mcmonkey.sentinel
Fields in org.mcmonkey.sentinel declared as SentinelTraitModifier and TypeFieldDescriptionSentinelHelperObject.sentinelThe relevant SentinelTrait instance.Fields in org.mcmonkey.sentinel with type parameters of type SentinelTraitModifier and TypeFieldDescriptionSentinelPlugin.currentSentinelNPCsA list of all currently spawned Sentinel NPCs.Methods in org.mcmonkey.sentinel that return SentinelTraitModifier and TypeMethodDescriptionSentinelPlugin.getSentinelFor(org.bukkit.command.CommandSender sender) Gets the Sentinel Trait instance for a given command sender (based on their selected NPC).static SentinelTraitSentinelUtilities.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 SentinelTraitModifier and TypeMethodDescriptionSentinelPlugin.cleanCurrentList()Cleans and returns the current Sentinel NPC list.Methods in org.mcmonkey.sentinel with parameters of type SentinelTraitModifier and TypeMethodDescriptionbooleanSentinelIntegration.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.voidSentinelHelperObject.setTraitObject(SentinelTrait trait) Sets the Sentinel trait object (and fills other helper object values).booleanSentinelIntegration.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 SentinelTraitModifier and TypeMethodDescriptionvoidSentinelAttackCommands.accuracy(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.addAvoid(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.addIgnore(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.addTarget(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.armor(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.attackRate(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelIntelligenceCommands.autoswitch(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.avoidRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.avoidReturnpoint(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.avoids(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelChaseCommands.chaseClose(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelChaseCommands.chaseRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelChaseCommands.chaseRanged(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.damage(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.deathxp(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.dropChance(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.drops(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.enemyDrops(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.fightback(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.forgive(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelGreetingCommands.greeting(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelGreetingCommands.greetRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelGreetingCommands.greetRate(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelIntelligenceCommands.guard(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelIntelligenceCommands.guardDistance(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.healRate(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.health(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.ignores(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelInfoCommands.info(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.invincible(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.kill(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.knockback(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelIntelligenceCommands.needAmmo(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.projectileRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.protectedFromIgnores(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.protectFromRange(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.range(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.reach(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelIntelligenceCommands.realistic(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.removeAvoid(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.removeIgnore(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.removeTarget(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.respawn(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.respawnTime(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.runaway(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.safeShot(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelHealthCommands.spawnpoint(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelChaseCommands.speed(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelIntelligenceCommands.squad(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelInfoCommands.stats(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.targets(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelTargetCommands.targetTime(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelGreetingCommands.warning(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.weaponDamage(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelAttackCommands.weaponRedirect(net.citizensnpcs.api.command.CommandContext args, org.bukkit.command.CommandSender sender, SentinelTrait sentinel) voidSentinelChaseCommands.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 SentinelTraitModifier and TypeMethodDescriptionbooleanSentinelCrackShot.itemIsRanged(SentinelTrait sentinel, org.bukkit.inventory.ItemStack item) booleanSentinelCrackShot.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 SentinelTraitModifier and TypeMethodDescriptionbooleanSentinelTargetList.isEventTarget(org.bukkit.event.entity.EntityDamageByEntityEvent event, SentinelTrait sentinel) Returns whether the damager in a damage event is targeted by this list.booleanSentinelTargetList.isEventTarget(SentinelTrait sentinel, org.bukkit.event.player.AsyncPlayerChatEvent event) Returns whether a chat event is targeted by this list.booleanSentinelTargetList.isReverseEventTarget(SentinelTrait sentinel, org.bukkit.event.entity.EntityDamageByEntityEvent event) Returns whether the victim in a damage event is targeted by this list.booleanSentinelTarget.isTarget(org.bukkit.entity.LivingEntity entity, SentinelTrait sentinel) Returns whether this SentinelTarget targets the given entity for the given Sentinel.booleanSentinelTargetList.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 SentinelTraitModifier and TypeMethodDescriptionstatic com.sk89q.worldguard.protection.regions.ProtectedRegionSentinelWorldGuardHelper.getRegionFor(SentinelTrait sentinel)