✨NPCSystem API ✨Support for all entities ✨ Create your own custom NPC's ✨ icon

✨NPCSystem API ✨Support for all entities ✨ Create your own custom NPC's ✨ -----

NPC



title.png
This is a full customisable npc system wich allow you to create custom npc's.

features.png
Full customisable
Full NPC support
Overriedable NPC's
Add custom NPC's
And much more...

images.png
[Coming soon]


requirements.png
ProtocolLib Open

usage.png
Code (Java):

      <repositories >
        <repository >
            <id >ngloader -repo </id >
            <url >https : //nexus.wuffy.eu/repository/maven-releases</url>
        </repository >
      </repositories >

      <dependency >
            <groupId >de. ngloader </groupId >
            <artifactId >npcsystem </artifactId >
            <version >LATEST </version >
      </dependency >
 

Code (Java):

NPCSystem npcSystem = Bukkit. getServicesManager ( ). getRegistration (NPCSystem. class ). getProvider ( ) ;
NPCPlayer npc = new NPCPlayer (npcSystem. getDefaultRegistry ( ), "NgLoader", location ) ;
npc. create ( ) ;
 

Watch Entity_metadata for the extends class and implementable methods
Code (Java):

public class NPCSheep extends NPCAnimal {

    public NPCSheep (NPCRegistry registry, Location location ) {
        super (registry, 0.62d, location, WrappedEntityId. SHEEP ) ;
    }

    public void setSheared ( boolean sheared ) {
        this. setFlag (EntityFlag. SHEEP_IS_SHEARED, sheared ) ;
    }

    public void setColor (WrappedEnumColor color ) {
        this. setMetadata (EntityFlag. SHEEP_COLOR_ID. getIndex ( ), Byte. class, color. getColorIndex ( ) ) ;
    }
}
 

    • NPCCreatedEvent
    • NPCDeletedEvent
    • NPCInteractEvent
    • NPCVisibilityChangeEvent
Resource Information
Author:
----------
Total Downloads: 562
First Release: May 3, 2021
Last Update: Dec 8, 2022
Category: ---------------
All-Time Rating:
1 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings