Package noppes.npcs.api.entity.data
Interface INPCAdvanced
public interface INPCAdvanced
-
Method Summary
Modifier and Type Method Description java.lang.String
getLine(int type, int slot)
int
getLineCount(int type)
java.lang.String
getSound(int type)
void
setLine(int type, int slot, java.lang.String text, java.lang.String sound)
void
setSound(int type, java.lang.String sound)
-
Method Details
-
setLine
void setLine(int type, int slot, java.lang.String text, java.lang.String sound)- Parameters:
type
- 0:Interact, 1:Attack, 2:World, 3:Killed, 4:Kill, 5:NPC Interactslot
- 0-7
-
getLine
java.lang.String getLine(int type, int slot)- Parameters:
type
- 0:Interact, 1:Attack, 2:World, 3:Killed, 4:Kill, 5:NPC Interactslot
- 0-7
-
getLineCount
int getLineCount(int type)- Parameters:
type
- 0:Interact, 1:Attack, 2:World, 3:Killed, 4:Kill, 5:NPC Interact
-
getSound
java.lang.String getSound(int type)- Parameters:
type
- 0:Idle, 1:Angry, 2:Hurt, 3:Death, 4:Step
-
setSound
void setSound(int type, java.lang.String sound)- Parameters:
type
- 0:Idle, 1:Angry, 2:Hurt, 3:Death, 4:Step
-