MacrocosmNPC

open class MacrocosmNPC(val name: String, id: String, profile: WrappedGameProfile, operations: List<NPCOp>, mainHand: MacrocosmItem? = null, offHand: MacrocosmItem? = null, helmet: MacrocosmItem? = null, chestplate: MacrocosmItem? = null, leggings: MacrocosmItem? = null, boots: MacrocosmItem? = null, val isTemporary: Boolean = false) : Identified, AutoRegister<MacrocosmEntity> (source)

A Macrocosm NPC with a player skin

Constructors

Link copied to clipboard
constructor(name: String, id: String, profile: WrappedGameProfile, operations: List<NPCOp>, mainHand: MacrocosmItem? = null, offHand: MacrocosmItem? = null, helmet: MacrocosmItem? = null, chestplate: MacrocosmItem? = null, leggings: MacrocosmItem? = null, boots: MacrocosmItem? = null, isTemporary: Boolean = false)

Functions

Link copied to clipboard

Executes all dialogue operations for this entity

Link copied to clipboard
open override fun register(registry: Registry<MacrocosmEntity>)
Link copied to clipboard
fun summon(at: Location): NPCEntity

Summons this NPC at provided location

Properties

Link copied to clipboard
open override val id: Identifier
Link copied to clipboard
val isTemporary: Boolean = false

Whether this NPC should not be saved in LevelDB

Link copied to clipboard

Name of this NPC