Minecraft – How to set piston’s block direction with custom super flat preset in Minecraft 1.13

minecraft-java-edition

I am trying to create a custom super flat preset in Minecraft and when I try to have a piston layer they all point north. In the code, how would I make them face up?

Best Answer

i don't think that it's possible. things like block directions are all handled in their physical blockstates, and the preset code using in superflat generation doesn't have any handlers for that. as such, when you specify blocks like that, it'll use their default direction blockstate of north.