Item Obliterator (Modpack Utils Series)

Item Obliterator (Modpack Utils Series)

23M Downloads

Disabling enchantments

UmbralCosmos opened this issue ยท 1 comments

commented

Minecraft 1.21.1
Fabric 0.17.2
Item Obliterator 3.1.1

This is the relevant debug output for a diamond pickaxe with silk touch I had in my hand:

[19:31:31] [Render thread/INFO]: minecraft:enchantments=>ItemEnchantments{enchantments={Reference{ResourceKey[minecraft:enchantment / minecraft:silk_touch]=Enchantment Silk Touch}=>1}, showInTooltip=true}

I've been experimenting for over 30 minutes now, and have given up.

"blacklisted_items": [
    "SILK TOUCH REMOVAL HERE,
    "minecraft:apple",
    "examplemod:example_item"
  ],

Please tell me how to actually do this.
I would really appreciate it.

commented

I got it working by doing this for my pack:

"blacklisted_nbt": [
	"!.*betterarcheology:soaring_winds.*",
	"!.*betterarcheology:tunneling.*",
	"!.*betterarcheology:penetrating_strike.*",
	"!.*create_sa:above_the_clouds.*",
	"!.*create_sa:hellfire.*"
],

Hope it helps!