Package net.citizensnpcs.trait.versioned
Class BoatTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.BoatTrait
-
Constructor Details
-
BoatTrait
public BoatTrait()
-
-
Method Details
-
boat
public void boat(CommandContext args, CommandSender sender, NPC npc, String stype) throws CommandException - Throws:
CommandException
-
getType
-
onSpawn
public void onSpawn()Description copied from class:Trait
Called when anNPC
is spawned.NPC.getEntity()
will return null until this is called. This is also called onAttach when the NPC is already spawned. -
setType
-