Storage Drawers

Storage Drawers

151M Downloads

compactingRules Ignoring Same Items

BlackBeltPanda opened this issue ยท 2 comments

commented

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.

commented

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?

commented

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.