Update RoomRecipes dependency to fix crashes
All other dependencies same as 1.18.2-0.0.7-alpha.1
- Fixed bug where client would crash when opening town flag menu
- Handled bug where job board menu could not be opened
- Root cause remains (biomes handle is not connected to town)
- Force-disabled hunger because it's broken right now
Same dependencies as 1.18.2-0.0.7-alpha.1
Big new release for the new year. As always, no guarantees of backwards compatibility or stability at this point because so much development is happening.
Developer Functionality
- Added file-based jobs
- No code required to add new jobs.
- Adds the ability for other mods to define jobs for Questown
- Custom status images and text can be added to these files
- Added support for jobs that start with itemless, toolless work
Gameplay
- Fleshed out "journal" tutorial and advancements to guide new players
- Changed Welcome Mat Recipe to use pressure plates instead of carpet
- Easier to obtain in early-game
- Added a bunch of commands (all starting with
/qt
) - Added "eat raw food" which improves hunger by half and adds more debuffs
- Villagers no longer need to go back to the job board constantly
- Made short-length gatherers get early-town supplies
- More useful in early game
- Long-length gatherers get other stuff
New Player Controls
- Added UI for seeing needed items
- E.g. "Wheat was needed 10 times in the past 2 days"
- Shows both on villager menus and the town flag menu
- Helps inform player of what materials they should either find or add a villager to generate
- Added "all villagers" tab to the flag menu
- See what villagers are working on
- See what items villagers are holding
New Villager Jobs
- Added "organizer" job and clipboard
- Place a clipboard (with an item request) in a chest, and the organizer will try find that item and place it in that chest
- Added "soup cook" job and "soup kitchen" room recipe
- Good way to convert mushrooms (from gatherer) into food
- Added crafting jobs for stone, iron, gold, diamond tools
New Key Items
- Added "Town Wand" item which can register doors
Bug Fixes
- Fixed a game-breaking bug when two flags were present nearby
- Fixed bug where world-gen'ed town flags had zero quests after reboot
- Fixed bug where Job Board would ignore direction of placed sign
- Fixed bug where Job Board did not list all possible requests
- Fixed bug where tooltips were not showing on screen tabs
General Improvements
- Converted most existing jobs to be file-based
- Added tests for specific jobs
- Made "give up and try a different job" logic work better
- Improved villager navigation logic
- Added some status art tiles
- Made job selection code more efficient
- Updated roomrecipes dependency to get better room scanning performance
- Stopped text from showing on login/chunk-load
- Updated code for UIs to use standard layouts
Experimental / WIP
- Doctor, hospital bed, and villager damage system
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