Skip to content

[DISCUSSION] Help needed with placing a sign :) #70

@vfosnar

Description

@vfosnar

Hi, I'm trying to place a sign with some text on it. So far I've tried the following code, but it only results in a sign hitbox with no texture. Properties do get recognized by Minecraft. For example if I set "waterlogged" to "true" the water appears, but still no sign.

let sign: once_cell::sync::Lazy<Block> =
    once_cell::sync::Lazy::new(|| {
        Block::new(
            "minecraft",
            "oak_sign",
            Some(nbt!({
                "rotation": "5",
                "waterlogged": "false"
            })),
        )
    });
editor.set_block(&sign, x, ground_level + 1, z, None, None);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions