trulybestfriends-0.2.5-1.21.1.jar
Curse Maven Snippet
What's new
v0.2.5
Fix: Semi-transparent bevels on the wheel rendered as solid blocks
- On 1.21.1, GuiGraphics.innerBlit draws immediately, does not go through a RenderType,
and does not toggle blending itself, while the position_tex shader only discards
pixels with a == 0. Blending used to be enabled for the emblem layer only, so the
40% / 50% bevels of the pointer ring showed up as solid white and solid black blocks.
All three textures are now drawn with blending enabled.
Fix: Sneaking and sprinting did not work while the summon wheel was open
- Holding Shift / Ctrl while the wheel was open did nothing. Root cause: NeoForge / Forge
sets the conflict context of the movement keybinds (forward, jump, sneak, sprint) to
IN_GAME, whose isActive() is literally "no screen is open", while KeyMapping.isDown()
is isDown && conflict context active. So once a screen opens, isDown() for these two
keys is always false - writing the state into the key mapping alone has no effect.
Forward / jump kept working only because they are written straight into Input from
MovementInputUpdateEvent. The sneak and sprint keybinds are now switched to the
UNIVERSAL context while the wheel is open, and restored when it closes.
- Key syncing is now edge-triggered: the state is pushed to vanilla only when the
physical key state actually changes, so sneak / sprint are no longer flipped 20 times
per second when "toggle" mode is enabled.
- Keys already held at the moment the screen opens are restored only once (toggle-mode
state survives releaseAll()), so they are not toggled off.
Change: Radial backdrop drawn at 1:1 and centered
- The dark radial backdrop behind the wheel used to be drawn scaled to 480x480, which
nearly covered the whole GUI canvas at GUI scale 3 on a 1080p window. It is now drawn
at the texture's native 128x128 and centered, leaving only a soft shadow right behind
the wheel; the eight pet slots and the screen edges are no longer darkened.
Text
- Shorter action labels (Chinese): 收回该实体 / 放出该实体 / 该实体已死亡 -> 收回 / 放出 / 已死亡,
which read as Recall / Summon / Dead in English; 实体超出收回距离 -> 超出收回距离 (Out of range).
- Area recall hint reworded to "Recall all pets within %s blocks (Scroll wheel to adjust
range)", with the missing space before the parenthesis fixed in English.
- Team selector title shortened from "Current Team" to "Team".
This mod has no additional files