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
Modifier and TypeFieldDescriptionprotected SentinelAttackHelper
protected SentinelItemHelper
The relevant SentinelTrait instance.protected SentinelTargetingHelper
protected SentinelWeaponHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Outputs a debug message.org.bukkit.entity.LivingEntity
Gets the NPC's living entity.net.citizensnpcs.api.npc.NPC
getNPC()
Gets the relevant NPC.void
setTraitObject
(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.
-