Package net.citizensnpcs.trait.versioned
Class GoatTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.GoatTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
goat
(CommandContext args, CommandSender sender, NPC npc) boolean
boolean
void
run()
Called every tick if overridden.void
setLeftHorn
(boolean horn) void
setRightHorn
(boolean horn)
-
Constructor Details
-
GoatTrait
public GoatTrait()
-
-
Method Details
-
isLeftHorn
public boolean isLeftHorn() -
isRightHorn
public boolean isRightHorn() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setLeftHorn
public void setLeftHorn(boolean horn) -
setRightHorn
public void setRightHorn(boolean horn) -
goat
- Throws:
CommandException
-