MysticMods / Druidcraft

Dedicated to the WIP Druidcraft mod for Minecraft.
Other
22 stars 16 forks source link

[1.18.2] Player Inventory Not Rendering While Inside Crate #147

Open SaltSouls opened 2 years ago

SaltSouls commented 2 years ago

General Information

Describe the bug: Currently when opening a crate to place items in it, the items in the players inventory will fail to render. This happens with both the singe crate, and larger ones, so I don't think the scrolling or anything is the cause of it. Also, considering this doesn't happen with any of the other inventory related mods I have, I can only assume it is coming from this mod.

To Reproduce:

  1. Set down a crate
  2. Open crate
  3. Watch as your items become gods at hide and seek

Expected behavior: Items should be rendering in the players inventory.


Environment Versions

Mystic Mods Versions

Other Versions:


Logging Information

latest.log


Additional Information

Inventory outside of crate: image Inventory inside of crate: image

SaltSouls commented 2 years ago

Quick update. This problem seems to only happen when an item is in the last slot of the hotbar. Though even when the items do render, damage bars on the items seem to not be rendering correctly for the players inventory.


With last slot empty: image

SaltSouls commented 2 years ago

Side note, opening a large crate in spectator mode will only show the inventory for that specific crate and not for the whole crate. Not sure if this is intentional or not, but is odd as chests and other storage blocks(that I know of) don't work like this.


image


Additionally, for some reason having the shears in the last slot allows for items to render in the players inventory? It seems to be the only item that doesn't cause the players inventory to fail to render, so I'm not sure what's going on there.

GeekBeam commented 2 years ago

I've found a few more items that also are okay in the last hotbar slot. shown in the player inventory. image

SaltSouls commented 2 years ago

I've found a few more items that also are okay in the last hotbar slot. shown in the player inventory

I've found that it is a random assortment of things that kinda work. Not sure what is specifying which items work, but my initial thought was anything with a damage bar, but I later found that wasn't always the case.

GeekBeam commented 2 years ago

damage bars are also rendered incorrectly as well, seems that it might be related. in slot image

and in hand image

SaimonWoidig commented 1 year ago

Can confirm this issue.