Sophisticated Storage

Sophisticated Storage

28M Downloads

Suggestion - More display item translation controls

BenjaminLeSire opened this issue ยท 6 comments

commented

Thanks for such a great mod.

Would it be possible to add an option so that items shown in limited barrels are rendered the same way they are in the hotbar?

For example, here is lapis:

barrel_lapis

Left is another similar mod, Storage Drawers, right is Sophisticated Storage. It's subtle, but items are not rendered the same way. If I look at the lapis in my hotbar, it's similar to Storage Drawer's rendering, not Sophisticated Storage's.

It's even more visible with blocks, here is oak log:

barrel_oak

I see two benefits allowing to render as in the hotbar:

  • people are more familiar with it
  • if I insert oak wood (minecraft:oak_wood) and oak log (minecraft:oak_log), it's currently almost impossible to visually tell the difference with Sophisticated Storage. But, most of the time, there's no confusion when looking at the items in the hotbar.

Thanks.

commented

I am not really in favor of this

  • first I actually like blocks being rendered as blocks instead of how they look there
  • but this would also mean going away from much better performing render to dynamic rendering (because the item rendering needs to be rendered as flat or would look super ugly when rendered 3d) so would mean worse performance and I would need to follow up that with configurations / in game options to prevent rendering so that FPS isn't affected when people have larger walls of these
commented

I'm sort of seconding this suggestion. Or at least I'm agreeing that the current rendering has some issues.

2 examples:
2024-06-20_15 24 09
The top right shows pistons and sticky pistons next to each other. Due to the default rotation it's not possible to see which is which without something like WAILA.

Another example is with create:
2024-06-20_15 24 15
Due to the default rotation (and placement) of the item renders, you cannot differentiate small and large cogwheels (2nd row, 1st and 2nd column), the steam engine is almost invisible (bottom right), and lots of create blocks show a side with the rotation input side showing, which is often the least useful side for recognizing items.

I also agree with your previous comment. So maybe it would be possible to add some sort of rotation/translation controls to the item render? I thought something like this already existed, but it seems currently it's only possible to rotate displayed items for chests.

commented

That rotation setting is actually only hidden for limited barrels, but is available for all the other barrels, chests, shulker boxes. I should probably expose it there anyway. However that wouldn't help with the issues I am seeing here as it's the same rotation that you can get in item frame and for example those cogs would still show just the small bit only rotated.
So what would be needed here is a way to move the item forward and perhaps have another rotation along X axis to be able to rotate the top of the piston forward. I will probably add because I have seen other issues where items can even "not render" because they end up rendering inside the barrel.

commented

Will be bumping this suggestions as well, but in reason for resource pack creation. Some resource packs have implemented a feature that will render items differently in HUD from different states (player hand, dropped, armor stand, etc). As I had seen, this resource:

image
As you can see the book render on the armor-stand is different than on mine inventory.

I'm currently working on a fix resource pack (Faithless) that also make those items and blocks bigger when displayed on item frames:
image

But this results on a weird behavior when using any kinda of barrel:
image

As a note, I do not believe this issue is related to the mod itself, but since this customization are possible to be made in vanilla minecraft, a option that could use HUD models instead of fixed models would be appreciated.

commented

@MarcyLeite the reason that book is so big on the barrel is very likely because it's that big on the item frame (where it shows up larger than item frame). The reason those blocks show up that large is very likely because of forge bug (I have seen this bug I believe fairly early in 1.20) so you would want to upgrade for the blocks to show up correctly, maybe it will fix the book as well not sure about that.
Also when you say use HUD model I am not sure what you are referring to as the display contexts for the item don't have HUD in them, they do have GUI though so if you're referring to hotbar or how the items are displayed in inventory that would be the thing. Though that would likely not work for many things, definitely wouldn't work for blocks where it would show them with their corner sticking out of the barrel pretty far, same as they appear in GUI, but there you always see them from the "front".

commented

Sorry I said wrong, I was talking about GUI. Inot this texture pack, I did rotate the model to show only the icon, but the model of the book was rendered behind the block. For now, I'm just scaling down all these models on the resource, but I do believe a feature like this would solve this issue.