Package net.citizensnpcs.trait
Class EnderCrystalTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.EnderCrystalTrait
Persists EnderCrystal metadata.
- See Also:
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidonSpawn()Called when anNPCis spawned.voidsetShowBase(boolean showBase) 
- 
Constructor Details- 
EnderCrystalTraitpublic EnderCrystalTrait()
 
- 
- 
Method Details- 
isShowBasepublic boolean isShowBase()
- 
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.
- 
setShowBasepublic void setShowBase(boolean showBase) 
 
-