Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart observer connected to display board sometimes misses items #5701

Closed
FireFragment opened this issue Nov 1, 2023 · 1 comment
Closed
Labels
type: bug Issue where something isn't working

Comments

@FireFragment
Copy link

FireFragment commented Nov 1, 2023

Describe the Bug

When using display link alongside with smart observer with filter to list items in chest on display board, it ignores some of the items, that the filter actually matches. According to my observation, it ignores everything after the first item in the inventory, that isn't matched by the filter.

Example:

If the filter on the smart observer is set to match only cobblestone, the display board should say 2 COBBLESTONE with the following chest inventory:

image

However, the display board says 1 COBBLESTONE, because the second one is ignored after the iron. You can see this on the video.

More detailed reproduction steps can be seen below

Reproduction Steps

Here are the exact steps I followed when reproducing the bug.

  1. Create a new creative world
  2. Move following items to your inventory - you will need them:
    • Chest
    • Smart observer
    • Display board
    • Small cogwheel
    • Creative motor
    • Display link
    • List filter
    • Cobblestone
    • Iron ingot

Building the contraption

  1. Place down a chest and a smart observer looking at it
  2. Near, create 2 block high and 4 blocks wide display board
  3. To the bottom-right corner of the board, add small cogwheel and connect it to creative motor
  4. Set the speed on the creative motor, so that it's at least 32RPM (to make the display board working)
  5. With display link in hand right-click the display board to make it its target. Then, place it on top of the smart observer
  6. Right-click the display link and set it to the "List matching Items" mode

The contraption

Setting it up

  1. With filter in hand, right click. This opens the filter GUI
  2. Move cobblestone to the filter GUI

Filter GUI

  1. Close the filter GUI
  2. Apply the filter to the smart observer
  3. Add the following items to the chest:
    • To the first slot of the chest, add 1 cobblestone.
    • To the second slot, add 1 iron
    • To the third slot, add 1 cobblestone again
    • Leave other slots empty

image

Observed result

You can now see, that the display board wrongly showed 1 COBBLESTONE

Expected Result

The display board should display all contents of the chest matching the filter, in this case, 2 COBBLESTONE

Screenshots and Videos

Here is a video summarizing the entire problem in a quick and clear manner:

Create.bug.mp4

Crash Report or Log

No response

Operating System

Linux

Mod Version

0.5.1d

Minecraft Version

1.20.1

Forge Version

I'm using fabric 0.14.23

Other Mods

Only Fabric API

Additional Context

No response

@FireFragment FireFragment added the type: bug Issue where something isn't working label Nov 1, 2023
@FireFragment
Copy link
Author

FireFragment commented Nov 1, 2023

Just discovered this only happens on fabric (on forge it works), closing the issue

@simibubi simibubi closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants