Skip to content

How to get available block types and set block orientation? #1

Closed
@javier-cantu

Description

@javier-cantu

Hello,

I have successfully placed blocks using the following command:

mc.setBlock("obsidian", pos)

I have two questions:

Is there any command or method available to get a list of all the block types that I can use with setBlock()? Because now I can't use numbers to guess.

How can I place blocks that need to face a specific direction, such as stairs? Is there a way to specify the orientation when placing these blocks?

Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions