petrolpark / Destroy

A chemistry-themed add-on to the Minecraft mod, Create
https://modrinth.com/mod/destroy
94 stars 40 forks source link

[0.1.0 Snapshot 4] items in vat don't render correctly, entities on the far side of a vat are invisible #441

Open CDWimmer opened 2 months ago

CDWimmer commented 2 months ago

Describe the bug image above: can only see Logs and a placed, empty Test Tube Rack. below: can see there's Cod items on the ground, and Test Tubes in the rack. image image above; shadows cast by dropped items are still visible. Dropped items inside the vat itself (by dropping items and then forming the vat afterward) are also invisible within the bounds of the vat interior. below: edges of some items floating in the vat just clipping into the glass wall of the vat, becoming visible. image below: block items funnelled inside the vat are also invisible, unlike their dropped item counterparts. image

Non-block item entities are invisible when viewed through a vat. This also affecs items inside the vat inserted with a Funnel. Imagine an item-hiding magic box the size of the interior of the vat, through which items cannot be seen.

This appears to happen for any material used, vanilla Glass, Borosilicate Glass, Create's various glass blocks...

Visibility returns as soon as the vat is broken.

To Reproduce

  1. Make a vat at least partly out of a transparent material such that it can be seen through
  2. Use a funnel to place some items inside,
  3. Drop some items around the vat.
  4. Look inside/through vat
  5. See visuals above

Expected Behavior

All item entities to be visible through a transparent vat.

System Information

You should only report issues on the latest update of Destroy, or on the latest snapshot (if it is for an unreleased update). For snapshots, it would be useful if you also checked if the bug exists in the latest full update. No other versions are supported. Include the following information:

Additional context

Occurs both with and without Embeddium/Sodium.

Minecraft Username

gogglebot

petrolpark commented 2 months ago

This is an issue with Create:

2024-09-28_12 14 40 2024-09-28_12 14 35

As you can see, the Water Bucket Item is invisible behind the water.

CDWimmer commented 2 months ago

Weird, didn't notice in 0.0.8 so assumed it was 0.1's doing. The items inside a vat being bugged is almost definitely new... might've had a mod on that patched a bunch of rendering order issues so maybe I inadvertently fixed that by accident.