User Tools

Site Tools


api:deceased_villager_data

DECEASED_VILLAGER_DATA

Category: Data

Cloneable

Properties


FullName

Runtime only, Savegame

  • Type: string
  • Expected: string value

Title

Runtime only, Savegame

  • Type: string
  • Expected: string value

AssetVillagerStatus

Runtime only, Savegame


Quote

Runtime only, Savegame

  • Type: string
  • Expected: string value

Portrait

Runtime only, Savegame


Gender

Runtime only, Savegame

  • Type: GENDER
  • Expected: enum value
  • Default value: GENDER.MALE

Functions


getStatusName

string getStatusName()

Need to use this function to get the status name since savegames < 1.9 have a null AssetVillagerStatus

api/deceased_villager_data.txt · Last modified: 2024/02/06 13:53 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki