PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

43M Downloads

Amadron - Compass Trade

MuteTiefling opened this issue ยท 10 comments

commented

Minecraft Version

1.15.2

Forge Version

forge-31.1.74

Mod Version

pneumaticcraft-repressurized-1.15.2-1.1.1-8

Describe your problem, including steps to reproduce it

I assume this is an NBT issue. I had a Compass > Emerald trade pop up in Amadron that I couldn't complete because it didn't detect my compasses as valid. An auto crafted compass piped directly into my input chest does work, so the Item matching is probably too strict here.

Any other comments?

commented

Amadron does do strict NBT matching at this time, yes - it needs to since things like potions and enchanted gear can be traded (and player-player trades are a thing). I didn't think vanilla compasses could have NBT data? At least not before 1.16.

I guess I could add some kind of "match nbt" setting in Amadron recipes. Or possibly just not do NBT matching if the recipe item doesn't have any NBT...

commented

Update: I crafted a compass, and it doesn't have any NBT. And I didn't have any problem trading it via Amadron, either. Got a bit more info about these compasses you can't trade? The /dumpNBT command (added by PneumaticCraft) might be helpful here.

commented

Yeah, I'd held the compass and moved around with it, it still had no trouble being accepted by Amadron...

commented

Compass seems to get NBT data on it from Quark that isn't there on one dragged straight in from JEI. The JEI ones work, but not the ones that get tagged by quark.

https://streamable.com/vvb00h

{"quark:compass_calculated":1b,"quark:compass_in_nether":0b}

commented

I'd have to wait for it to come back I think. Perhaps NBT is the wrong term, but it's when the compass direction doesn't point straight up. When crafted, the compass needle is up, but once a player holds it it starts to spin. I had placed some of these in the chest and the trade was still red in Amadron.

commented

You could trigger this with just PneumaticCraft as well, by renaming the item in an anvil.

commented

Ah, Quark. OK. I'll see if I can work around this by not checking for NBT on items which don't naturally have it.

commented

Build 12 should resolve this. Would be useful if you could do some extra testing on this to ensure this change doesn't introduce any subtle problems...

commented

I'll drop in 12 tonight and let you know what I find.

commented

Fixed in 1.1.2 release