@markr, woops, yep, thank you so much for notifying, it is my fault.
I changed the orientation for checkup function but didn't change the structures themselves.
And I'm still not sure whether the textures match the orientation!!! Who ever decided that to be so... I don't like it in Minecraft and have strong desire to remove "
or node.param2 ~= ep_scheme[j].p" from
this line. But it would be not like in MC :((( So I won't do that.
I'll have fixed that asap. Thanks again, I do apologize.
upd.
fixed. a bit tricky. end portal block now rotates after you place it, so MC way of building (from the center) is cloned still, and it was easier than change the texture and the schematics and, moreover, all existing worlds