thesettler_x_create-0.3.2.jar
Curse Maven Snippet
What's new
## 0.3.2
Bugfix release. Three delivery bugs, one client crash, and two dependency
declarations that promised something they did not enforce.
### Fixed
**The shop ordered and delivered the same request over and over.**
The outstanding amount was derived from the request count minus what was
reserved, ignoring what MineColonies had already recorded as delivered. As
soon as a completed delivery's reservation was consumed, the shop believed
the full amount was still needed, refused to close the parent request, and
placed another order. It now subtracts `IRequest#getDeliveries()`, and the
post-completion recovery closes the request instead of falling through into
a fresh order.
**Hovering a tuned Network Link Tuner crashed the client.**
The tooltip passed a raw UUID into `Component.translatable`, which only
accepts Component, Number, Boolean or String. Every tooltip of a tuner with a
stored network threw while rendering. Present since the tooltip was added, so
0.3.0 was affected too.
**Deliveries were reported as done without any item moving.**
A recovery heuristic finished a courier's delivery task whenever a courier
stood within two blocks of the delivery target. Warehouse couriers idle at
their warehouse, which is the delivery target, so it fired about ten ticks
after the delivery was created, before the courier had walked to the shop.
Nothing was transported, but the reservation was consumed and the request was
marked satisfied, so warehouse minimum stock ordered the same item again. The
heuristic is removed rather than tightened.
**The shop no longer writes into the courier's ongoing-delivery set.**
MineColonies maintains that set itself and correctly: it is added right
before gathering, kept on success, dropped only when the gather failed, and
persisted across reloads. Re-adding it from the shop only ever covered states
MineColonies deliberately leaves unmarked, which could resolve a delivery
whose goods never moved.
**`MC_QUEUE_DEQUEUED_WITHOUT_TERMINAL` no longer cries wolf.**
MineColonies removes a delivery from the warehouse queue the moment a courier
picks it up, so the marker fired on every courier walk longer than five
seconds. It now requires that nobody is holding the task.
### Changed
**Dependency ranges are now enforced.**
`create` and `minecolonies` were declared as bare version strings. In Maven
range syntax that is a soft requirement and matches every version, so the
stated minimums did nothing. Both are bracketed now:
- Create `[6.0.10,)`, matching what the mod is built and tested against
- MineColonies `[1.1.1264-1.21.1-snapshot,)`
### Notes
Debug logging remains on by default. Turn it off in
`config/thesettler_x_create-common.toml` with `debugLogging = false` if you
do not need the request traces.
This mod has no additional files

