Package net.citizensnpcs.trait.versioned
Class FoxTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.FoxTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
fox
(CommandContext args, CommandSender sender, NPC npc, Boolean sleeping, Boolean sitting, Boolean crouching, String rawtype, Boolean pouncing, Boolean interested, Boolean faceplanted) getType()
boolean
boolean
boolean
boolean
boolean
boolean
void
run()
Called every tick if overridden.void
setCrouching
(boolean crouching) void
setFaceplanted
(boolean faceplanted) void
setInterested
(boolean interested) void
setPouncing
(boolean pouncing) void
setSitting
(boolean sitting) void
setSleeping
(boolean sleeping) void
-
Constructor Details
-
FoxTrait
public FoxTrait()
-
-
Method Details
-
getType
-
isCrouching
public boolean isCrouching() -
isFaceplanted
public boolean isFaceplanted() -
isInterested
public boolean isInterested() -
isPouncing
public boolean isPouncing() -
isSitting
public boolean isSitting() -
isSleeping
public boolean isSleeping() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setCrouching
public void setCrouching(boolean crouching) -
setFaceplanted
public void setFaceplanted(boolean faceplanted) -
setInterested
public void setInterested(boolean interested) -
setPouncing
public void setPouncing(boolean pouncing) -
setSitting
public void setSitting(boolean sitting) -
setSleeping
public void setSleeping(boolean sleeping) -
setType
-
fox
public static void fox(CommandContext args, CommandSender sender, NPC npc, Boolean sleeping, Boolean sitting, Boolean crouching, String rawtype, Boolean pouncing, Boolean interested, Boolean faceplanted) throws CommandException - Throws:
CommandException
-