Botania (Fabric/Quilt)

Botania (Fabric/Quilt)

5M Downloads

Corporea Crystal Cube HUD overlay renders item in wrong position

TheRealWormbo opened this issue ยท 1 comments

commented

Mod Loader

Both Fabric and Forge (I confirm that I have tested both loaders and will specify both loader versions below)

Minecraft Version

1.20.1

Botania version

444

Modloader version

(any)

Modpack info

(none)

The latest.log file

(n/a)

Issue description

The HUD overlay of the Corporea Crystal Cube renders its item icon way below where it should be:

Looking at a Corporea Crystal Cube set to Yellow Mystical Flower such that the HUD overlay is displayed

Steps to reproduce

Place a Corporea Crystal Cube, then right-click it with any item other than a Wand of the Forest.
The block itself looks fine, but when pointing the crosshair at it, the HUD overlay shows the item hanging off the bottom of the overlay background instead of vertically centered inside the dark box.

Other information

No response

commented

It may have been introduced in commit c92d5f0, accidentally dropping the minus sign when transitioning from a center offset calculation to directly specifying relative coordinates.