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 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