User Tools

Site Tools


api:comp_villager

COMP_VILLAGER

Category: Component

Parent class: COMPONENT

Lazy-init

Functions


getJobInstance

JOB_INSTANCE getJobInstance()


findDisplayJobInstance

JOB_INSTANCE findDisplayJobInstance()


changeJob

void changeJob(job [, workplace])

Name Type Description
job JOB
workplace COMP_WORKPLACE

getAssetJob

JOB getAssetJob()


hasJob

boolean hasJob()


getDeceasedData

DECEASED_VILLAGER_DATA getDeceasedData()

Events


ON_JOB_CHANGED

ON_JOB_CHANGED()


ON_JOB_ASSIGNED

ON_JOB_ASSIGNED()

api/comp_villager.txt · Last modified: 2023/01/12 15:09 (external edit)