How do I propose the interaction of shelves and comparator:
— If the item is in the first slot of the shelf and the other slots are empty, the comparator emits a redstone signal equal to 1
— If the item is in the second slot and the others are empty, it emits a signal equal to 2
— Similarly with the third slot
— If the first and second slots of the shelf are filled with items, but the third slot is empty, then the comparator emits a redstone signal equal to 4
— If the second and third slots are occupied, but the first slot is empty, it emits a signal equal to 5
— If the first and third slots are occupied, but the second slot is empty, comparator emits a signal equal to 6
— If all slots are occupied, it emits a signal equal to 7
Please sign in to leave a comment.
1 Comments