CareForThem-2.4.0.jar
Curse Maven Snippet
What's new
Breaking changes
- Needs, social classes, structures and jobs take their id from their file path (
data/<namespace>/cft/<folder>/<name>.json). Theidfield is gone. - Social classes in datapacks moved to the
social_class/folder. - All datapack JSON fields use snake_case (e.g.
max_happiness,floor_blocks,min_quantity). - Fields for blocks, entity types, biomes and sounds take an id, a
#tagor a list of them, replacing theblock+block_tagpairs. - Lang keys follow the vanilla style:
need.<namespace>.<name>,social_class.<namespace>.<name>,structure.<namespace>.<name>andjob.<namespace>.<name>.
Features
- Introduced schedules: social classes and jobs can define when Xoonglins work, have free time and rest.
- Added Sleep Need: Xoonglins sleep in a bed of their home.
- Added Visit Need: Xoonglins visit a structure in their free time, optionally consuming items and taking them from the structure's containers.
- Added Socialize Need: Xoonglins meet and talk with other Xoonglins.
- Added Hearing Need: Xoonglins want to hear certain sounds and game events, or to not hear too many of them.
- Added
active_whenconditions for needs (time of day, weather, dimension, biome, any of, not). A need only applies while they hold, and shows greyed out in the info screen otherwise. - Added new jobs: Smelter (furnaces, smokers and blast furnaces) and Lumberjack (fells whole trees).
- Added
requires_runningto Structure and Visit Needs: the structure only counts while a Xoonglin is working there. - Added an optional lighting requirement for houses, enclosed buildings and multi-storey buildings.
- Structures are checked again before being used, and unregistered when they are no longer valid. Breaking the key block unregisters a structure, and clicking a registered structure with the Leader's Staff checks it again.
- Xoonglins can be spawned with spawn eggs, dispensers,
/summonand the new/xoonglin summoncommand. - Random names can be configured per social class (
name_samples). - Added an icon above Xoonglins showing their most pressing need, need tooltips, class change notifications, the Census dashboard and Jade integration.
- The job tab shows more detail: why a Xoonglin isn't working, its current work step and paused errands.
- Added an option for zombies to hunt Xoonglins.
- Added arm swing animation when a Xoonglin interacts with the world.
- Addons can listen to events (class change, job change, need state change and structure detection), add memories and behaviors to the Xoonglin brain, and add their own detection reasons and need condition types.
- The documentation moved to a website: https://hyperbaton.github.io/cft/
Changes
- Redesigned the default datapack to show most of the mod's features. The new "Sample datapack" page of the documentation tells what each class shows.
- Structure detection messages are translatable.
Fixes
- Fixed rendering of the humanoid model.
- Fixed Xoonglins getting stuck fetching supplies.
- Fixed unnatural spawning of Xoonglins: they now get a social class and a leader.
- Fixed the Leader's Staff recipe.
This mod has no additional files