Industrial Foregoing

Industrial Foregoing

117M Downloads

[1.21] Enchantment Extractor Sometimes Ignores Curses

rux616 opened this issue ยท 0 comments

commented

Industrial Foregoing Version: 1.21.1-3.6.34

Titanium Version: 4.0.37

Crashlog If Applicable (Upload to pastebin/gist): n/a

NeoForge v21.1.174

When using the Enchantment Extractor, it doesn't seem to be able to pull off all enchantments and curses. What I've observed is that when a piece of equipment has only curses on it (for example, a chest armor with only "Curse of Binding" ) the Extractor doesn't seem to be able to pull it off into a book, instead processing it, then kicking it to the output like normal with the Curse of Binding still intact on the item. However, if the item ALSO has 2 non-curse enchantments (for our purposes here, that same chest armor with added "Blast Protection I" and "Unbreaking I" enchantments), it will pull all of them off.

To reproduce:

  • Creative mode with only IF and Titanium installed
  • put down an enchantment extractor
  • add tier 2 augments to extractor
  • put down a nether star generator next to extractor
  • throw in a stack of nether stars in the generator to keep things powered
  • get a curse of binding enchanted book
  • apply it to a leather chest piece via anvil
  • put a stack of books in the extractor
  • attempt to extract curse of binding from armor by putting it in extractor
  • observe that work appears to be done on leather armor
  • observe that leather armor pops over to the "done" side with the curse still intact
  • combine blast protection 1 and unbreaking 1 enchanted books in an anvil
  • apply to leather armor via anvil
  • put leather armor back in extractor
  • observe that all enchantments and curses are extracted into books

Basically, there's something a bit wonky going on with removing enchantments via the Extractor, and I suspect it's a bit more complicated than what I'm describing here. Maybe based on the enchantment ordering in the NBT data?