Item Obliterator (Modpack Utils Series)

Item Obliterator (Modpack Utils Series)

15M Downloads

Crashes when using blacklisted_nbt

Galysso opened this issue · 8 comments

commented

I tried using the example from the config file Potion:"minecraft:regeneration" and the example given in #48 and both makes the game crashing at startup.

Here is a crash-report: https://mclo.gs/RV6u7P5

(Forge 1.20.1)

commented

Could you please elaborate a bit further? Neither "Potion:"minecraft:regeneration"" or Potion:"minecraft:regeneration" works. The former loads the game, but potions of regeneration are still present and the former straight up crashes.

commented
commented

My bad, github escaped the quotes. I tried "Potion:\"minecraft:regeneration\"" and Potion:\"minecraft:regeneration\", but to no avail. It really would have been easier if you have provided the correct way.

commented

Please escape the quotes using \

commented

Potion:"minecraft:regeneration"

also needing help with this

commented

Having same issues for removing a modded item:

{id: "botania:blood_pendant", tag: {brewKey: "botania:bloodthirst"}

Inserting the code in:

  "blacklisted_nbt": [
  // CODE HERE
    ],

Code that I've tried but is causing a crash:

brewKey:\"botania:bloodthirst\"
brewKey:\"botania:bloodthirst"
brewKey:\"botania:bloodthirst"\

Works but does not remove items:

"brewKey:\"botania:bloodthirst\""
commented

They seem to be using a JSON deserializer for a JSON5 file :)

commented

They seem to be using a JSON deserializer for a JSON5 file :)

soooo, what’s the correct way to format it?