NPCData

open class NPCData

Deafult NPC data. Used for taterzen attributes.

Types

Behaviour
Link copied to clipboard
enum Behaviour
Behaviour types.
Follow
Link copied to clipboard
open class Follow
FollowTypes
Link copied to clipboard
enum FollowTypes
Movement
Link copied to clipboard
enum Movement
Types of movement a Taterzen can perform.

Properties

allowSounds
Link copied to clipboard
open val allowSounds: Boolean
ambientSounds
Link copied to clipboard
open val ambientSounds: ArrayList<String>
behaviour
Link copied to clipboard
open val behaviour: NPCData.Behaviour
Default behaviour of Taterzen.
booleanTags
Link copied to clipboard
val booleanTags: Map<String, Boolean>
commandCooldownMessage
Link copied to clipboard
open val commandCooldownMessage: String
currentMoveTarget
Link copied to clipboard
open val currentMoveTarget: Int
Current index position in pathTargets.
deathSounds
Link copied to clipboard
open val deathSounds: ArrayList<String>
equipmentEditor
Link copied to clipboard
@Nullable
open val equipmentEditor: @Nullable Player
Current equipment editor for Taterzen.
follow
Link copied to clipboard
val follow: NPCData.Follow
hurtSounds
Link copied to clipboard
open val hurtSounds: ArrayList<String>
messages
Link copied to clipboard
val messages: ArrayList<Pair<Component, Integer>>
Messages of Taterzen.
minCommandInteractionTime
Link copied to clipboard
open val minCommandInteractionTime: Long
movement
Link copied to clipboard
open val movement: NPCData.Movement
Default Taterzen movement.
pathTargets
Link copied to clipboard
open val pathTargets: ArrayList<BlockPos>
Path nodes, used when movement is set to FORCED_PATH or PATH.
permissionLevel
Link copied to clipboard
open val permissionLevel: Int
Permission level of Taterzen.