itemupgrader-1.1.2-beta.jar
Curse Maven Snippet
What's new
Wheel and buttons
* The wheel itself now spins; the pointer is fixed at the top and flicks when it passes a pin.
Before, the wheel stood still and only the arrow travelled around it, so every spin looked scripted.
* Roulette look: cog teeth around the rim, 24 separated pockets with dark grooves between them,
pins on the pocket borders, gold rim with a highlight and a dark hub.
Generated texture assets/itemupgrader/textures/gui/wheel_bison.png now matches that design
(12 teeth, 88x88) and is used when present; the procedural renderer is the fallback.
* The chance arc is drawn per pocket instead of as one solid band, so a 90 % chance still reads as a
roulette and not as a yellow disc.
* Random number of turns per spin and a short settle wobble when the wheel stops.
* UPGRADE and the creative mode button: gradient gold body, dark outline, drop shadow, travelling
shine, brighter hover, pressed state and a distinct muted disabled state instead of a flat dark look.
Boosters (new items)
* Lucky Charm: 32 charges, adds a configured flat chance bonus to every spin while enabled and
wears out one charge per spin. Crafted from gold nuggets and an emerald.
* Fortune Token: multiplies the chance for a single spin (default x2) and is consumed. Crafted from
a lucky charm, ender pearls and gold ingots, so the boosters upgrade into each other.
* Insurance Voucher: if the wheel loses, the bet is returned instead of destroyed; consumed on the
payout only, so it removes downside risk without ever creating value. Crafted from paper and gold.
* Booster rail: three toggle chips on the left edge of the upgrader screen showing the item icon,
the number owned, an enabled look, and a tooltip with the effect, state and a red warning when the
item is missing. Toggles switch themselves off when the item runs out or a spin is running.
* The displayed chance includes the active boosters, so the preview, the wheel arc and the server
roll always agree. Enter and numpad Enter also start a spin.
* The server rechecks every booster before the bet is consumed and answers with a specific message
when the item disappeared in the meantime, when boosters are disabled by config, or on payout.
* Config v7: boostersEnabled, charmChanceBonus, fortuneChanceMultiplier, with validation clamps so a
bad value cannot make a spin free. Network protocol bumped to 5.
Value calculator
* Now reports the value tier of the placed item, the ingredients of its cheapest crafting recipe and
the total ingredient price, or an explicit "no crafting recipe" state.
* Availability check: every ingredient shows needed versus owned count, green frame when you have
enough, red frame and a red wash when you do not, with a tooltip per ingredient.
* Recommends the most expensive target that still keeps at least 5 % chance for one item, with the
chance and the net value gain, or "no worthwhile target".
* Panel grew to 176x192 so the resource row fits above the inventory; the recipe lookup is built
lazily from the client recipe list and cached, no extra network traffic.
Housekeeping
* Version scheme follows the mod release line (1.1.1-Test, 1.1.2) instead of the placeholder 2.0.0.
* Item list, catalog and creative tab pick up the three new items automatically.
* Recipe added for the value calculator, which previously existed only in creative.
* Tooltips for the upgrader, catalog, sort, presets, count and calculator buttons; all strings are
lang keys only, nothing user facing is hardcoded and no hints were added to source or JSON.
This mod has no additional files

