Interface NpcType

All Superinterfaces:
ConfigType, Onymous
All Known Implementing Classes:
NpcTypeImpl

public interface NpcType extends ConfigType, Onymous
  • Method Details

    • getOptions

      @NotNull @NotNull List<String> getOptions()
    • getSize

      int getSize()
    • getCombatLevel

      int getCombatLevel()
    • getCurrentState

      @NotNull @NotNull NpcType getCurrentState()
    • getStates

      @NotNull @NotNull List<NpcType> getStates()
    • getParamIds

      List<Integer> getParamIds()
    • getCurrentStateId

      int getCurrentStateId()
    • getVarbitId

      int getVarbitId()
    • getVarpId

      int getVarpId()
    • getStatesIds

      int[] getStatesIds()
    • hasParam

      boolean hasParam(int paramId)
    • getIntParam

      int getIntParam(int paramId)
      Gets the value of the parameter with the provided id if available, otherwise defaultValue
      Parameters:
      paramId - The id of the ParamType that this ConfigType has a value for.
      Returns:
      The parameter's value if available
    • getStringParam

      @Nullable @Nullable String getStringParam(int paramId)
      Gets the value of the parameter with the provided id if available, otherwise defaultValue. This can be null.
      Parameters:
      paramId - The id of the ParamType that this ConfigType has a value for.
      Returns:
      The parameter's value if available