GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

Ore Dictionary Filters do not apply expressions correctly to items with more than one Ore Dict Entry

Spool5520 opened this issue ยท 1 comments

commented

GregTech CEu Version

v2.7.3-beta

Modpack Used

Gregtech Community Pack v1.7.2

Addons Installed

Gregicality Multiblocks v1.2.5

Environment

Singleplayer

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

Ore Dictionary Filter expressions with multiple Ore Dict Entries on a single item should apply expressions to both Entries as whole rather than separately.

EG:
item has ore dict entries [ crushedPurifiedTetrahedrite, platinumGroup ]
ore dictionary filter expression to allow other crushed ores but not ones that also have the platinumGroup ore dict entry
(crushed* & !platinumGroup)

Actual Behavior

screenshot

Purified Tetrahedrite has been added to the platinumGroup ore dict, so now it has both the crushedPurifiedTetrahedrite ore dict and the platinumGroup. Since one of its ore dicts passes the filter expression, its allowed to be extracted.

Steps to Reproduce

Add a second ore dict to an item, try to stop if from being accepted by an Ore Dictionary Filter expression by allowing one ore dict but not the other with the expression: (firstOreDict & !secondOreDict)

Additional Information

No response

commented

Effectively is asking for a new button or similar which can toggle between "match any oredict" (current) and "match all oredict"