Skip to content

Polish the market window, barrel, and recipe - #22

Merged
faceofcat merged 1 commit into
mainfrom
market-window
Nov 4, 2026
Merged

faceofcat merged 1 commit into
mainfrom
market-window

Conversation

@faceofcat

Copy link
Copy Markdown
Collaborator

Summary

  • The market window uses the vanilla frame, shows how many of each input you are carrying, and scrolls long trade lists inside the dialog.
  • Buying updates those counts, and experience from the purchase appears on you.
  • The barrel has a villager face on each side and an emerald lid. Planks or an emerald block unlock the crafting recipe in the book.

Test plan

  • On NeoForge 26.3, pick up planks and confirm the Villager Market recipe appears and crafts: eight planks around an emerald block.
  • Open a market with more offers than fit. The scrollbar stays inside the window. Drag it, and use the mouse wheel.
  • Select an offer. The input slots show carried counts and cannot be clicked. Buy once and those counts drop.
  • Experience from the purchase appears on the player.
  • The 26.3 compile no longer warns about makeMockServerPlayerInLevel.

…he market recipe.

The window, barrel, and recipe book now match how the market is meant to be used.
@faceofcat
faceofcat merged commit b6bc4b7 into main Nov 4, 2026
5 checks passed
@faceofcat
faceofcat deleted the market-window branch November 4, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant