Speedgot
✨NPCSystem API ✨Support for all entities ✨ Create your own custom NPC's ✨
-----
NPC
Download Now
Via external site
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
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
Spoiler:
Maven import
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
>
Spoiler:
Create a player
Code (Java):
NPCSystem npcSystem
=
Bukkit.
getServicesManager
(
)
.
getRegistration
(
NPCSystem.
class
)
.
getProvider
(
)
;
NPCPlayer npc
=
new
NPCPlayer
(
npcSystem.
getDefaultRegistry
(
)
,
"NgLoader"
, location
)
;
npc.
create
(
)
;
Spoiler:
Create own NPC
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
(
)
)
;
}
}
Spoiler:
Events
NPCCreatedEvent
NPCDeletedEvent
NPCInteractEvent
NPCVisibilityChangeEvent
View on SpigotMC
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
Ask Questions / Get Support