createTaterzen

open fun createTaterzen(world: ServerLevel, displayName: String, pos: Vec3, rotations: Array<Float>): TaterzenNPC

Creates a Taterzen NPC with rotations and custom name. You'll still have to spawn it in (use addFreshEntity to achieve that).

Return

TaterzenNPC

Parameters

world

Taterzen's world

displayName

Taterzen's name.

pos

Taterzen's position

rotations

Taterzen's rotations (0 - head yaw, 1 - body yaw, 2 - pitch)

open fun createTaterzen(owner: ServerPlayer, displayName: String): TaterzenNPC

Creates a Taterzen NPC from owner with provided display name. You'll still have to spawn it in (use addFreshEntity to achieve that).

Return

TaterzenNPC

Parameters

owner

player whose rotations and world will be copied to Taterzen

displayName

Taterzen's name.