Class Speech

java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.api.trait.trait.Speech
All Implemented Interfaces:
Runnable, Listener

public class Speech extends Trait
Represents the default speech settings of an NPC.
  • Field Details

  • Constructor Details

    • Speech

      public Speech()
  • Method Details

    • getDefaultVocalChord

      public String getDefaultVocalChord()
      Gets the name of the default VocalChord for this NPC.
      Returns:
      The name of the VocalChord
    • setDefaultVocalChord

      public void setDefaultVocalChord(Class<VocalChord> clazz)
      Sets the name of the default VocalChord for this NPC.
    • toString

      public String toString()
      Overrides:
      toString in class Object