This is a **full customisable** npc system wich allow you to create custom npc's.
**Full customisable
Full NPC support
Overriedable NPC's
Add custom NPC's
And much more...
[Coming soon]**
ProtocolLib [Open](https://www.spigotmc.org/resources/protocollib.1997/)
**
maven import
```java
ngloader-repo
https://nexus.wuffy.eu/repository/maven-releases
de.ngloader
npcsystem
LATEST
```
create a player
```java
NPCSystem npcSystem = Bukkit.getServicesManager().getRegistration(NPCSystem.class).getProvider();
NPCPlayer npc = new NPCPlayer(npcSystem.getDefaultRegistry(), "NgLoader", location);
npc.create();
```
create own npc
Watch [Entity_metadata](https://wiki.vg/entity_metadata) for the extends class and implementable methods
```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());
}
}
```
events
**
events
* **
* NPCCreatedEvent
* NPCDeletedEvent
* NPCInteractEvent
* NPCVisibilityChangeEvent
**
NPCSystem-API is a free Minecraft Java mod. Compatible with Minecraft 1.18, 1.18.1, 1.18.2. Downloaded 105 times (via Hangar). Download it and open it directly in the game.
Explore more