- java.lang.Object
-
- net.citizensnpcs.api.trait.Trait
-
- net.citizensnpcs.trait.MountTrait
-
-
Field Summary
-
Fields inherited from class net.citizensnpcs.api.trait.Trait
npc
-
Constructor Summary
Constructors
Constructor and Description |
MountTrait() |
-
Method Summary
-
Methods inherited from class net.citizensnpcs.api.trait.Trait
getName, getNPC, isRunImplemented, linkToNPC, load, onAttach, onCopy, onRemove, save
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MountTrait
public MountTrait()
-
Method Detail
-
onDespawn
public void onDespawn()
- Overrides:
onDespawn
in class net.citizensnpcs.api.trait.Trait
-
onSpawn
public void onSpawn()
- Overrides:
onSpawn
in class net.citizensnpcs.api.trait.Trait
-
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class net.citizensnpcs.api.trait.Trait
-
unmount
public void unmount()
Copyright © 2019. All rights reserved.