nameChange

fun nameChange(name: String?)

Deprecated

Deprecated. Use setNameChange(name) for consistency.

Replace with

setNameChange(name)

Overrides the name of this NPC with the provided name.

Parameters

name

the name to override with, or null to reset an existing override.