Show unnamed goods and own listings in the Exchange GUI #92

Merged
unimatrix merged 1 commit from fix/exchange-listing-cards-20261206 into main 2026-12-06 11:24:32 +01:00
Owner

Ordinary Exchange stacks had no custom display name. The supplied menu renderer skipped their actionable slots as blank, leaving Buy and My listings empty despite valid stock in the central API. Give only the preview stack a fallback name from the listing title and clearly label the player’s own listings. Custom names, stored stock, prices, original buy/withdraw callbacks and payment logic are preserved.

Validation: full GUI tests/build pass. Exact retained Lobby and planet GUI overlays passed native Paper tests for Buy/My listings, ordinary and custom-named items, Bedrock labels, unsupported previews, and 12-row pagination. The actual retained supplied-menu renderer and MCGUI 0.8.6 show all three own listing cards with quantities, prices and click targets. Scoped overlay changes ExchangeMenus.class only; existing unrelated methods and all other archive entries remain unchanged.

Ordinary Exchange stacks had no custom display name. The supplied menu renderer skipped their actionable slots as blank, leaving Buy and My listings empty despite valid stock in the central API. Give only the preview stack a fallback name from the listing title and clearly label the player’s own listings. Custom names, stored stock, prices, original buy/withdraw callbacks and payment logic are preserved. Validation: full GUI tests/build pass. Exact retained Lobby and planet GUI overlays passed native Paper tests for Buy/My listings, ordinary and custom-named items, Bedrock labels, unsupported previews, and 12-row pagination. The actual retained supplied-menu renderer and MCGUI 0.8.6 show all three own listing cards with quantities, prices and click targets. Scoped overlay changes ExchangeMenus.class only; existing unrelated methods and all other archive entries remain unchanged.
Keep unnamed goods visible in Exchange listing cards
Some checks failed
Exchange Listing Cards Build / exchange-listing-cards (push) Successful in 1m7s
DuneRealms Plugin CI / plugins (push) Successful in 10m11s
DuneRealms Resourcepack CI / resourcepack (push) Failing after 19s
26106815ce
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
unimatrix/plugins!92
No description provided.