Package net.citizensnpcs.trait.versioned
Class BoatTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.BoatTrait
- 
Constructor Details- 
BoatTraitpublic BoatTrait()
 
- 
- 
Method Details- 
boatpublic void boat(CommandContext args, CommandSender sender, NPC npc, String stype) throws CommandException - Throws:
- CommandException
 
- 
getType
- 
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.
- 
setType
 
-