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);
1 Comments
Please sign in to leave a comment.
Post a new comment: