Inventory Sorter

Inventory Sorter

60M Downloads

How do you use the slot type blacklist?

PlayfulPiano opened this issue ยท 2 comments

commented

I'm assuming this blacklist is so you can blacklist for example sorting your hotbar or inventory. Is there any documentation on the proper formatting for using this blacklist?

commented

Yes, how?

Im trying to disable this mod from our bmc4 server because of dupe glitches.

commented

Sorry, just kinda getting on top of old issues as I'm actively helping out on this project. I'd be interested to hear about dupe glitches!

Regards to the original issue. It looks like, from a rough reading of the code, the slot blacklist uses the ClassName of the slot type meaning this really only works if you implement your own version of the slot. Or the mod you're trying to block implements their own class for the slot.

For example: (These names were taking directly from the IDE meaning without in-game logging, this is not trivial to get)

  • A basic slot would look like this net.minecraft.world.inventory.Slot
  • A different slot might look like this, take one from the anvil net.minecraft.world.inventory.ItemCombinerMenu$1

This is not amazingly ideal to a user's perspective and likely needs more work to allow this kind of system to work fluidly