StorageDrawers icon indicating copy to clipboard operation
StorageDrawers copied to clipboard

compactingRules Ignoring Same Items

Open BlackBeltPanda opened this issue 7 years ago • 2 comments

Using StorageDrawers 3.7.10 in 1.10.2.

Trying to get Compacting Drawers to work with log, planks, and sticks but hit a snag. When creating rules for the compactingRules in the config, if I specify two different rules containing the same item, only one of them is used and the others are ignored. For example, using:

        minecraft:planks:0, minecraft:stick, 2
        minecraft:planks:1, minecraft:stick, 2
        minecraft:planks:2, minecraft:stick, 2
        minecraft:planks:3, minecraft:stick, 2
        minecraft:planks:4, minecraft:stick, 2
        minecraft:planks:5, minecraft:stick, 2

Only planks:5 will actually display sticks in the Compacting Drawers. The other plank types will not. I tried minecraft:planks, minecraft:stick, 2 hoping that it would match all plank types but only oak planks would display sticks while birch, spruce, etc. would not.

BlackBeltPanda avatar Jan 08 '18 19:01 BlackBeltPanda

This is intended behavior. What happens if you place a stick into an empty drawer? What does it choose?

I might consider this a feature request to allow populating the drawers with single-direction mappings (so you can pop in a plank and it will populate sticks and keep the mapping for that drawer, but placing a stick into an empty drawer will do nothing). I will probably only consider this for 1.12+ though.

jaquadro avatar Jan 10 '18 05:01 jaquadro

This is intended behavior. What happens if you place a stick into an empty drawer? What does it choose?

I might consider this a feature request to allow populating the drawers with single-direction mappings (so you can pop in a plank and it will populate sticks and keep the mapping for that drawer, but placing a stick into an empty drawer will do nothing). I will probably only consider this for 1.12+ though.

did you ever end up doing this?

mycroftjr avatar Nov 13 '23 22:11 mycroftjr