AE2 Unofficial Extended Life

AE2 Unofficial Extended Life

3M Downloads

OreDict Storage Bus not (!) regex not working as expected past v0.52.2

sfcmgr opened this issue · 2 comments

commented

Describe the bug
Trying to block based on ore dict with the OreDict Storage Bus doesn't seem to be working at all, any regex like the following

(gem*&!siftable*)
(gem*&!crushedPurified*)

or even

!siftable

lets through siftable/crushedPurified ores or whichever tag you are trying to block with the filter.

To Reproduce
pack is https://www.curseforge.com/minecraft/modpacks/technologicaljourney

The pack version of ae2 is v0.52.2, where the behaviour is normal and blocks an OreDict tag with a ! as expected.
Updating to v0.53.2 or above breaks the OreDict Storage Busses in this manner.

While writing this bug report, just tested and the behaviour changes immediately when upgrading to v0.52.3

Have tried removing Lazy AE2 from the pack as well, no change in behaviour

Expected behavior
OreDict storage bus should block items which have a matching OreDict to a not (!) filter

Additional context

Environment
SP World, I believe most of the other relevant information is above, can provide more if needed that I'm not aware is useful.

Other changes/updates in the pack, I've not tested downgrading
HadEnoughItems_1.12.2-4.18.2.jar upgraded to HadEnoughItems_1.12.2-4.23.0
betterp2p-1.12.2-1.2.3-extended_life added
betterp2p-1.12.2-1.2.2.jar removed
JustEnoughEnergistics-1.12.2-1.0.8.jar removed
SmoothFont-mc1.12.2-2.1.3 added

  • Minecraft Version: 1.12.2
  • AE2 Version: v0.53.4 and others noted above
  • Forge Version: 14.23.5.260
commented

Sorry - little bit of a red herring here,

p2p tax coming from ae2 network shut off my ae2 system when testing with v0.52.2, which I didn't notice as I was only specifically putting in ores I expected to be blocked, they appeared to be blocked when the ae2 tax shut off the network and I didn't notice device offline as I wasn't testing that.

Behaviour is the same in all versions tested v0.52.2,v0.52.3, v0.53.2, v0.53.4

The OreDict Storage Bus with a filter like

(gem*&!siftable*)
(gem*&!crushedPurified*)

!siftable

will allow ores that match the deny

commented

Further testing seems to suggest that any allow matched rule is taking precedence over a deny rule, and you have to deny all oredicts an item has for it to not enter an OreDict Storage Bus,

for example

!crushedPurified*&!gem*&!siftable

will successfully block

javaw_8gmz8Hnlbm

however any combination of

!crushedPurified*&!gem*
!crushedPurified*&!siftable
!gem*&!siftable

will allow it.

The example in the Ore Dict Storage bus is

Redstone&!dustRedstone

so it seems like using that as a base we should be able to use

crushedPurified*&!siftable

to allow purified crushed ores which do not have the siftable tag into the destination?