Class NPCApi

java.lang.Object
dev.foxikle.customnpcs.api.NPCApi

public class NPCApi extends Object
A class providing an interface using non NMS objects to use NPCs
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static dev.foxikle.customnpcs.internal.CustomNPCs
    A static instance of the plugin for API use.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static NPC
    getNPC(UUID uuid)
    Gets the NPC object by ID.
    static void
    Initiailizes the API

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • plugin

      protected static dev.foxikle.customnpcs.internal.CustomNPCs plugin
      A static instance of the plugin for API use. The `NPCApi#initialize()` method must be called before using it.
  • Constructor Details

    • NPCApi

      public NPCApi()
  • Method Details