Package lol.pyr.znpcsplus.api.npc
Interface NpcType
public interface NpcType
Represents a type of NPC.
This defines the
EntityType
of the NPC, as well as the properties that are allowed to be set on the NPC.-
Method Summary
Modifier and TypeMethodDescriptionSet<EntityProperty<?>>
Set of properties that are allowed to be set on the NPC.double
The offset of the hologram above the NPC.getName()
The name of the NPC type.
-
Method Details
-
getName
String getName()The name of the NPC type.- Returns:
- The name of the NPC type.
-
getHologramOffset
double getHologramOffset()The offset of the hologram above the NPC.- Returns:
- the offset
-
getAllowedProperties
Set<EntityProperty<?>> getAllowedProperties()Set of properties that are allowed to be set on the NPC.- Returns:
- allowed properties
-