Place structure with rotation procedure block

Status
Migrated
Product/platform
MCreator/Windows
Priority
Normal
Issue description

Simple thing,

A procedure block like "Place at X Y Z Schematic with Rotation[ Here you can add something like east, west, north,south or something like TriggerDirectionFace]"

What do you say?

Issue comments

Is it also possible to get the rotation of the structures? If it's possible, it will be usefull in some cases.

Is it also possible to get the rotation of the structures? If it's possible, it will be usefull in some cases.

I don't think this is currently possible.

in the code for spawning structure via procedure, there's the line:
if (template != null) {
                template.addBlocksToWorldChunk(world, new BlockPos((int) x, (int) y, (int) z),
                        new PlacementSettings().setRotation(Rotation.NONE).setMirror(Mirror.NONE).setChunk((ChunkPos) null).setIgnoreEntities(false));

where you can see rotation and mirroring options
maybe make those accessible in the procedure block?



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.