Package net.citizensnpcs.trait
Class Saddle
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.Saddle
Persists saddle metadata.
- See Also:
- 
Constructor Details- 
Saddlepublic Saddle()
 
- 
- 
Method Details- 
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.
- 
togglepublic boolean toggle()
- 
toString
- 
useSaddlepublic boolean useSaddle()
 
-