Roguelike Dungeons

Roguelike Dungeons

33M Downloads

Mob nbt, ArmorItems [Closed]

Morinor opened this issue ยท 0 comments

commented

EDIT: And again I figured out after asking for help...
In case anybody has a similar problem:
it works when either laeving out the " or putting a backslash before it
id:"leather_boots"
or just
minecraft:leather_boots
EDIT2:
minecraft:leather_boots
this gets compiled, but ignored. the other one works tho


Im trying to add custom spawners with mobs that are equipped with customized armor,
but when copy-pasting the nbt string from ingame commands into the files, it doesnt quite work.

"nbt":"{ArmorItems:[{};{};{};{}]}"

is getting compiled, but when I add items into it it wont reload the settings anymore

"nbt":"{

ArmorItems:
[
{id:"leather_boots",Count:1b,tag:{display:{color:1908001}}},
{id:"leather_leggings",Count:1b,tag:{display:{color:1908001}}},
{id:"iceandfire:mountain_troll_leather_chestplate",Count:1b},
{id:"twilightforest:yeti_helmet",Count:1b}

]

}"

It says "Failure: Error in: spawners:ice.json : Unterminated object at(...)", whch usually meant that I forgot a comma somewhere, but I cant find any mistakes here, and in commands they worked flawlessly...