Skip to content

Directional block placement by turtles #204

@StefanJanssen95

Description

@StefanJanssen95

I would love to see a way for turtles to have more control over the placement of stairs, torches, logs, chests and other blocks that are influenced by the direction they are placed in.

How the feature/change should work
Currently there is some base logic on the way these blocks are placed. Example for slabs:
turtle.place() defaults to the bottom placement,
turtle.placeUp() defaults to the bottom placement
turtle.placeDown() defaults to the top placement.
When there is a block below the position the slab will be placed in it, the slab will be placed in the bottom
Otherwise when there is a block above the position the slab will be placed in it, the slab will be placed in the top

For stairs it also depends on the surrounding blocks, and maybe the direction of the turtle. In my opinion the way this works is really confusing. My suggestion would be to have the turtle.place*() functions allow for parameters x, y and z.
It should default to the way a turtle places at the moment so existing systems won't break down and things won't become more difficult for the beginners.

The effect of x, y and z should be decided by greater than 0, less than 0 and equals 0. How these values should be interpreted is up for discussion (see below)

Some rationale/use case for a feature.
Having more control over the placement of blocks we can make turtles build more advanced structures without having to do strange movements, block placing/destroying/placing.

Discussion points:
How should the values be interpreted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-MinecraftThis affects CC's Minecraft-specific content.enhancementAn extension of a feature or a new feature.help wantedI haven't got the knowledge or time to work on this.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions