CyclopsMC / IntegratedDynamics

A Minecraft mod to take full and automated control of your appliances.
http://cyclopsmc.github.io/IntegratedDynamics/
MIT License
135 stars 62 forks source link

The wrong cable part data is exposed to The One Probe, showing different parts than targeted #1401

Closed Jack-McKalling closed 1 month ago

Jack-McKalling commented 2 months ago

Issue type:


Short description:

When looking at a cable part that is attached to a cable with more cable parts, The One Probe receives the data from the cable part that is on the side of the cable that is being targeted, regardless of what cable part is actually at the target. This shows conflicting information in the HUD.

integrated probe part sides

In other words, the "targeted side" of the block you're looking at, is not enough to determine at what cable part you're looking, since the hitbox isn't a full block and each side has multiple faces that don't all belong to the same cable part.

Steps to reproduce the problem:

  1. Place a cable
  2. Attach a mono-directional connector to it
  3. Also attach an omni-directional connector to it
  4. Look at the side of the mono-directional one that is the same side as where the omni-directional one is attached to
  5. The group ID from the omni connector is shown, but you're looking at the mono connector

Expected behaviour:

When looking at any cable part, the part you're looking at should be the one rendered data from in the HUD.


Versions:

Log file:

rubensworks commented 2 months ago

Thanks for reporting!

Jack-McKalling commented 2 months ago

This also applies to 1.20.1. So if you need more version numbers, let me know.