Package net.citizensnpcs.trait.versioned
Class FoxTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.FoxTrait
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidfox(CommandContext args, CommandSender sender, NPC npc, Boolean sleeping, Boolean sitting, Boolean crouching, String rawtype, Boolean pouncing, Boolean interested, Boolean faceplanted) getType()booleanbooleanbooleanbooleanbooleanbooleanvoidrun()Called every tick if overridden.voidsetCrouching(boolean crouching) voidsetFaceplanted(boolean faceplanted) voidsetInterested(boolean interested) voidsetPouncing(boolean pouncing) voidsetSitting(boolean sitting) voidsetSleeping(boolean sleeping) void
- 
Constructor Details- 
FoxTraitpublic FoxTrait()
 
- 
- 
Method Details- 
getType
- 
isCrouchingpublic boolean isCrouching()
- 
isFaceplantedpublic boolean isFaceplanted()
- 
isInterestedpublic boolean isInterested()
- 
isPouncingpublic boolean isPouncing()
- 
isSittingpublic boolean isSitting()
- 
isSleepingpublic boolean isSleeping()
- 
runpublic void run()Description copied from class:TraitCalled every tick if overridden.
- 
setCrouchingpublic void setCrouching(boolean crouching) 
- 
setFaceplantedpublic void setFaceplanted(boolean faceplanted) 
- 
setInterestedpublic void setInterested(boolean interested) 
- 
setPouncingpublic void setPouncing(boolean pouncing) 
- 
setSittingpublic void setSitting(boolean sitting) 
- 
setSleepingpublic void setSleeping(boolean sleeping) 
- 
setType
- 
foxpublic 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
 
 
-