Package org.mcmonkey.sentinel
Class SentinelHelperObject
java.lang.Object
org.mcmonkey.sentinel.SentinelHelperObject
- Direct Known Subclasses:
SentinelAttackHelper,SentinelItemHelper,SentinelTargetingHelper,SentinelWeaponHelper
Base class for Sentinel helper objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SentinelAttackHelperprotected SentinelItemHelperThe relevant SentinelTrait instance.protected SentinelTargetingHelperprotected SentinelWeaponHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOutputs a debug message.org.bukkit.entity.LivingEntityGets the NPC's living entity.net.citizensnpcs.api.npc.NPCgetNPC()Gets the relevant NPC.voidsetTraitObject(SentinelTrait trait) Sets the Sentinel trait object (and fills other helper object values).
-
Field Details
-
sentinel
The relevant SentinelTrait instance. -
itemHelper
-
weaponHelper
-
targetingHelper
-
attackHelper
-
-
Constructor Details
-
SentinelHelperObject
public SentinelHelperObject()
-
-
Method Details
-
setTraitObject
Sets the Sentinel trait object (and fills other helper object values). -
getNPC
public net.citizensnpcs.api.npc.NPC getNPC()Gets the relevant NPC. -
getLivingEntity
public org.bukkit.entity.LivingEntity getLivingEntity()Gets the NPC's living entity. -
debug
Outputs a debug message.
-