Help with NBT Text tags

Started by frootloopgoop on

Topic category: Help with modding (Java Edition)

Last seen on 09:51, 8. Jun 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with NBT Text tags
Mon, 01/02/2023 - 07:41 (edited)

When I assign an NBT text tag for CustomPotionEffects, it adds quotations to the outside of the contents

Ex:

CustomPotionEffects:"[{Id:1,Duration:1200},{Id:5,Duration:1200}]"

 

What I want to happen instead is to assign the same contents, but without the quotations

Ex:

CustomPotionEffects:[{Id:1,Duration:1200},{Id:5,Duration:1200}]

 

How do I remove these quotations?

Edited by frootloopgoop on Mon, 01/02/2023 - 07:41