`monitor_touch` Event Misbehaving with 1x4 Multi-Block Advanced Monitors in 1.114.0
Closed this issue · 1 comments
Minecraft Version
1.20.1
Version
cc-tweaked-1.20.1-forge-1.114.0.jar
Details
The monitor_touch
event does not behave as expected when using a 1x4 advanced multi-block monitor in version cc-tweaked-1.20.1-forge-1.114.0.jar
. This issue is not present in version 1.113.1.
Steps to Reproduce
- Set up a 1x4 advanced multi-block monitor (4 blocks in a row horizontally) and connect it to the left side of an advanced computer.
- Use the example code provided at https://tweaked.cc/event/monitor_touch.html on the advanced computer.
- Interact with the monitor:
- Click on the outermost monitor block (furthest from the computer).
- Click on the monitor block directly adjacent to the computer.
Observed Behavior
- Clicking the outermost block results in no output – the
monitor_touch
event does not trigger. - Clicking the monitor block directly adjacent to the computer triggers the
monitor_touch
event four times. The coordinates (x, y) reflect the position only within the individual monitor block that was clicked, rather than the full 1x4 multi-block monitor.
Expected Behavior
- The
monitor_touch
event should trigger correctly for any block within the multi-block monitor. - The coordinates (
x, y
) should reflect the position within the entire monitor (1x4). - The event should be triggered only once per click.