Making the spawned mob have nbt data
I am trying to make a custom entity from a mod to spawn in a structure I tried doing so using jigsaw blocks, but they keep the exact same details each time, causing some issues I want to know if the issue can be avoided by using a script, that will generate the entity each time the structure spawns Also I don't really know how scripts work so might need some help with that