Behaviour

enum Behaviour

Behaviour types.

Entries

PASSIVE
Link copied to clipboard

Doesn't attack. What's a weapon?

DEFENSIVE
Link copied to clipboard

Peaceful, but can bite back if attacked.

FRIENDLY
Link copied to clipboard

Will turn against hostile mobs.

HOSTILE
Link copied to clipboard

Attacks all living creatures.

Functions

valueOf
Link copied to clipboard
open fun valueOf(name: String): NPCData.Behaviour
values
Link copied to clipboard
open fun values(): Array<NPCData.Behaviour>

Inherited functions

describeConstable
Link copied to clipboard
abstract fun describeConstable(): Optional<out ConstantDesc>