Package net.citizensnpcs.trait
Class WolfModifiers
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.WolfModifiers
Persists
Wolf
metadata.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAngry()
boolean
boolean
boolean
isTamed()
void
onSpawn()
Called when anNPC
is spawned.void
setAngry
(boolean angry) void
setCollarColor
(DyeColor color) void
setInterested
(boolean interested) void
setSitting
(boolean sitting) void
setTamed
(boolean tamed) void
setVariant
(String variant)
-
Constructor Details
-
WolfModifiers
public WolfModifiers()
-
-
Method Details
-
getCollarColor
-
getVariant
-
isAngry
public boolean isAngry() -
isInterested
public boolean isInterested() -
isSitting
public boolean isSitting() -
isTamed
public boolean isTamed() -
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. -
setAngry
public void setAngry(boolean angry) -
setCollarColor
-
setInterested
public void setInterested(boolean interested) -
setSitting
public void setSitting(boolean sitting) -
setTamed
public void setTamed(boolean tamed) -
setVariant
-