McJtyMods / XNet

Advanced item/liquid/energy/... networking
MIT License
92 stars 53 forks source link

Connectors that are broken keep an empty NBT tag, so they won't stack with new connectors with no tag #6

Open ghost opened 7 years ago

ghost commented 7 years ago

2017-03-04_21 51 35 2017-03-04_21 51 36

McJty commented 7 years ago

Well a connector is a TE with complex data. It has energy and an optional name. I could try to detect that all values are equal to the defaults but I'm not doing this for any machine in RFTools either so not sure if I should make an exception for this?

ghost commented 7 years ago

The main reason I think it would be a good idea here is because typically you'll be making many more connectors than you would any particular RFT machine, but if not it's not the end of the world.

McJty commented 7 years ago

Yes perhaps you are right

BrianEdmonds commented 7 years ago

Some mods allow clearing of data by crafting the item (into itself, minus NBT). Or Refined Storage allows this by shift right clicking while holding the item. I prefer the crafting solution, but would be happy with either, or both. I'd be willing to lose any stored energy in the process, of course.

(Off topic, but speaking of stored energy, are connectors actually storing any energy? Whenever I look at one with theoneprobe it reports 0RF.)

DarkHelmet433 commented 7 years ago

Either option would be fine. A number of machines even have this on their tooltip.

novemix commented 2 years ago

Workaround: re-dye the connector the same color, it'll clear the nbt tags Playing Enigmatic 2 Expert, the problem was actually making it so that I couldn't pulled "used" connectors back out of AE2