Constructor and Description |
---|
OcelotModifiers() |
Modifier and Type | Method and Description |
---|---|
void |
onSpawn()
Called when an
NPC is spawned. |
void |
setSitting(boolean sit) |
void |
setType(org.bukkit.entity.Ocelot.Type type) |
boolean |
supportsOcelotType() |
public void onSpawn()
Trait
NPC
is spawned. NPC.getEntity()
will return null until this is called. This is
also called onAttach when the NPC is already spawned.public void setSitting(boolean sit)
public void setType(org.bukkit.entity.Ocelot.Type type)
public boolean supportsOcelotType()
Copyright © 2021. All rights reserved.