Package net.citizensnpcs.trait
Class SlimeSize
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.SlimeSize
Persists Slime size.
- See Also:
-
Constructor Details
-
SlimeSize
public SlimeSize()
-
-
Method Details
-
describe
-
getSize
public int getSize() -
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. -
setSize
public void setSize(int size) - See Also:
-