I'd love to have the ability to modify the text on signs in Minecraft Bedrock via Scipting API.
Would it be possible to make this possible via the "blockstate" component?
let SignBlock = ...;
let blockstate = this.getComponent(SignBlock, "minecraft:blockstate");
blockstate.data.text = "Hello World!";
this.applyComponentChanges(SignBlock, blockstate);
Please sign in to leave a comment.
1 Comments