rpgwarehouse-auction-house-forge-1.20.1-1.0.3-b134.jar
Curse Maven Snippet
What's new
### Dynamic Tab Widths & Positioning * **Dynamic Sizing**: Added text width measurement inside `AuctionHouseScreen.java`. The right-side tabs (Browse, Auctions, My Listings, Inbox) are now dynamically scaled and shifted based on the language-specific translation length. * **Click Detection**: Updated `mouseClicked` bounds checks to dynamically evaluate the computed tab coordinates (`tabX0-tabX3`) and widths (`tabWidth0-tabWidth3`). ### Complete Tooltip Translation * **Component Refactoring**: Changed all instances of `Component.literal` tooltips in `AuctionHouseScreen.java` to `Component.translatable`. * **Lang Bundles Updated**: Populated `en_us.json`, `de_de.json`, `es_es.json`, and `pt_br.json` with keys for: * Listing ID, Auction ID, and Buy Order ID * Seller, Buyer, Server Buys, and Server Sells roles * Earnings, current bid, bid price, time remaining, and unit progress * Status messages ("Highest Bidder" and "Outbid")
This mod has no additional files