Forward port of:
https://modrinth.com/mod/questown/version/1.18.2-0.0.6-alpha.6
Full Changelog:
This version:
- Declaring homepage and update URL
- Villager work improvements
- Villagers look at their work station while working
- Improvements to navigation edge-cases
- Added a cooldown between checks at the job board when there is not work available.
- Tweaked timing for baker. Removed logs
- Tweaked farm-leaving pathfinding
- Also: Added
/qtspawn
command to spawn villagers (and removed apple cheat) - Also: Farmers no longer try to walk down into ground.
- Also: Added
Same dependencies as previous version
Fixed advancement UI on server
Fixed:
- Loot was not being grabbed after gatherer timers
- New value for gatherer time was not being used
- Gatherers should not stop early to dine
- Villagers recover items when giving up on job
- Improve navigation to chests
- Prevent villagers from starting a job they won't have time to finish.
Added:
- 3 tiers for each gatherer
Dependencies:
- Same as previous version
- Crash Fix:
- This release utilizes the new
TownRoomDetector
fromRoomRecipes
to distribute room scanning over multiple ticks, rather than trying to scan the entire village within a single tick - which can cause crashes. - This means you will need to also update
RoomRecipes
- This release utilizes the new
- Debug Commands:
/qtdebug <flag pos>
and/qtdebugdoor <flag pos>
have been added/qtdebug
stops most of the ticking logic for the town/qtdebugdoor
gives the player a special debug item they can click below the door of any room to generate debug logs for improving the quality of bug reports.
- WORK IN PROGRESS: A new "advancement" UI has been added
- It works on local Minecraft, but not on a server
- It shows the villager's current job and all the other available jobs laid out like the "advancement" tree
- Temporary: You can click on any job to switch the villager to that job
- All "gatherer" jobs have been tweaked so they leave town for less time, but return with fewer items
- Untested: The "axe gatherer" job has three tiers:
- "1/4 day", "1/2 day", "full day"
- The gatherer will leave for the stated time and return with 1, 3, and 6 items, respectively.
- Untested: A "rod gatherer" has been added and should return with fishing loot
- This release also includes updates to the codebase to make it easier to forward-and-back-port between 1.18 and 1.19
- Hunger ticks down throughout the day and villagers start each day hungry
- Added plates and dining room
- Plates can be crafted by using glass pane on flag base
- When villagers dine at plate, the food they brought is rendered in the plate
- Added system for "claiming" job blocks
- This prevents multiple villagers from dining at one plate
- Added system for making sounds during villager work
- Added special rule for making interaction block one lower
- This allows villagers to stand "below" plate while dining
- Mood goes down if villager has nowhere good to eat
- Mood goes up if villager can find a spot to eat in a dining room
- Work speed is impacted by mood
- Added UI for seeing villager hunger and mood
- Added "expiry" system and used it for diner
- Diner expired to "No table diner", other jobs expire to "job seeker"
- Improvements to logging
- Farmer job brought back with rudimentary time warp function
- Proper work to improve farmer is planned ASAP
- Fixed crash when building job board (might randomly select "up" as sign direction)
- Villagers now stand still while working