I am using Mob Properties, Twilight Forest, and Minefantasy2. I have written a .json for a Twilight Forest mob to drop the MF2 "iron sword" and have all the NBT data in there, but it's giving me "Any Sword" instead of an "Iron Sword" when I kill the mob.
Here's how the item I want the mob to drop displays with CraftTweaker's "/mt hand":
The only difference looks like the extra "tag" before "MF_CustomMaterials", but when I drop the "name": "tag", I still get "Any Sword", and I can't run the "/mt hand" command on the generated item because it gives an error. So something is still wrong but I'm at a loss.
EDIT: Hovering over the "Any Sword" in my inventory shows "Unnamed" and that's it. I am assuming I'm missing a "name" tag somewhere but I don't know where it goes or if that's all I'm missing.
I am using Mob Properties, Twilight Forest, and Minefantasy2. I have written a .json for a Twilight Forest mob to drop the MF2 "iron sword" and have all the NBT data in there, but it's giving me "Any Sword" instead of an "Iron Sword" when I kill the mob.
Here's how the item I want the mob to drop displays with CraftTweaker's "/mt hand":
<minefantasy2:standard_sword>.withTag({MF_CustomMaterials: {main_metal: "iron", haft_wood: "oakwood"}})
Here's what I'm getting it to drop instead:
<minefantasy2:standard_sword>.withTag({tag: {MF_CustomMaterials: {main_metal: "iron", haft_wood: "oakwood"}}})
The only difference looks like the extra "tag" before "MF_CustomMaterials", but when I drop the "name": "tag", I still get "Any Sword", and I can't run the "/mt hand" command on the generated item because it gives an error. So something is still wrong but I'm at a loss.
Here's what I have:
https://pastebin.com/j37NqHkc
EDIT: Hovering over the "Any Sword" in my inventory shows "Unnamed" and that's it. I am assuming I'm missing a "name" tag somewhere but I don't know where it goes or if that's all I'm missing.