Package net.citizensnpcs.trait
Class Powered
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.Powered
Persists 
Creeper powered status.- See Also:
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidonSpawn()Called when anNPCis spawned.voidsetPowered(boolean value) 
- 
Constructor Details- 
Poweredpublic Powered()
 
- 
- 
Method Details- 
isPoweredpublic boolean isPowered()
- 
onSpawnpublic void onSpawn()Description copied from class:TraitCalled when anNPCis spawned.NPC.getEntity()will return null until this is called. This is also called onAttach when the NPC is already spawned.
- 
setPoweredpublic void setPowered(boolean value) 
 
-