A collection of client-side fixes made while building the SharpSharp RPG modpack.
Every part only turns on when the mod it fixes is installed. No other mod's files are changed, and none of their code is included.
It is client only, so a dedicated server does not need it.
Crash guards
- Click Guard
- A click for a slot the open container does not have is dropped before other mods read it.
- Stops the crash seen with Inventory Essentials' shift-drag and ExtraSounds Next.
- Tween Guard
- GUI Tween keeps one item-move animation for the whole game.
- When you switch from a large container to a smaller screen and that animation points at a missing slot, it is dropped.
Performance
- Smart Key Prompts key lookup
- The pressed key is found through a name index instead of scanning every key mapping each frame.
- The key prompt HUD is drawn in one batch through ImmediatelyFast.
- GeckoLib memory
- TACZ reads its gun pack animation files itself, so GeckoLib no longer bakes them as well.
- The more gun packs you have, the more memory this saves.
HUD
- Bar Numbers
- With Overflowing Bars, current/max health and the absorption, armor and toughness values are shown next to the bars instead of row counts.
- F1 Clean
- When the HUD is hidden (F1, or the first F1 press of Disappear GUI Overlay), the Overflowing Bars bars, the Jade tooltip, the Sodium Extras FPS counter and the Health Indicator TXF target health hide too.
- HUD editor moved out
- The `/hudedit` HUD editor and HUD Slide are now their own mod, Sharpsharp Dynamic HUD Edit.
Luxium lighting
- Epic Fight ground fracture
- Blocks that Epic Fight throws up from the ground are drawn through the entity render path, so Luxium lights them.
- Interactive Foliage
- Foliage that MC2 Interactive Foliage draws near the player gets Luxium's sun and moon light and shadows.
- It hands over Luxium-aware copies of the terrain shaders, so neither mod is changed.
- Moving Luxium black holes
- A Luxium black hole effect placed on an Iron's Spellbooks black hole entity follows it every frame when the black hole moves, as Gravity Fissure's does. When the entity ends, only its effect is removed.
- Placing the effect is done by the pack's KubeJS script; this mod only makes it follow. Without such a script it does nothing.
Map
- Waystones on Diorama
- Diorama only reads the newer Waystones events, so with Waystones 14 on 1.20.1 it showed no waystones.
- Known waystones now appear under their own names, disappear when forgotten or destroyed, and move when Waystones re-sends them.
- Diorama fog of war
- "Fog of war always" stays on and cannot be switched off in the settings.
- Wearing an item from the item tag `sharpsharp:diorama_fog_lifter` (in this pack, the Echolocator) in the Curios necklace slot lifts it.
- In dimensions with a ceiling, such as the Nether, the fog always stays on and the map uses its cave view.
Visual fixes
- TACZ work bench icon
- A TACZ work bench item with no table id (Ponder, recipe viewers and similar) is drawn as the default gun pack table instead of a missing texture.
- Signs
- Legendary Block Entities only keeps the vanilla signs it has models for. Farmer's Delight canvas signs and modded wood signs use their own renderer again, so their board no longer disappears.
- JER boss model
- One oversized boss model in the Just Enough Resources mob screen is scaled down.
Requirements
- Minecraft 1.20.1, Forge 47 or newer
- Client only
- All of these are optional: ExtraSounds Next, Inventory Essentials, GUI Tween, Smart Key Prompts, ImmediatelyFast, GeckoLib, TACZ, Overflowing Bars, Disappear GUI Overlay, Jade, Sodium Extras, Health Indicator TXF, Epic Fight, Luxium, MC2 Interactive Foliage, Iron's Spellbooks, Diorama, Waystones, Curios API, Legendary Block Entities, Farmer's Delight, Just Enough Resources
Credits
Thanks to Dara Adedeji (Diorama), sbom_xela (Alex's Mobs), Krampus (Legendary Block Entities), vectorwing (Farmer's Delight), KartO (MC2 Interactive Foliage), Fuzs (Overflowing Bars), roxxane (Disappear GUI Overlay), Snownee (Jade), JahirTrap (Health Indicator TXF), toni (Sodium Extras), Arborsm (ExtraSounds Next), BlayTheNinth (Inventory Essentials), remarxk (GUI Tween), Mafuyu404 (Smart Key Prompts), RaphiMC (ImmediatelyFast), the Epic Fight team, the GeckoLib team, the TACZ team, Vinlanx (Luxium) and the Just Enough Resources authors.
This is an independent add-on. It contains none of their code and does not modify their jars.
Good to know
Made for one modpack and tested there. If a target mod updates and changes the code these patches hook into, that part switches itself off instead of crashing.

