Minecraft – How to make a textbox appear in Minecraft Bedrock
minecraft-addonsminecraft-bedrock-edition
Does anyone know how to add a textbox like this one here (shown in image) into Minecraft Bedrock? Either with Vanilla or Addons.
I would not need the clickable menus but only the text.
Thanks
Best Answer
Use NPCs
I know it’s a bit late, but your best bet to display a text box would probably be to use NPCs.
Run the command /give @s spawn_egg 1 51.
Open the NPC UI.
Click “Edit Dialogue”
Enter the text you want to display.
If you do want to have clickable buttons (up to six), you can click “Add Command” and check the button mode option.
Unfortunately, you cannot check if a player is holding it, but you can check if a player has it on Bedrock Edition.
You can use this function to run it. Replace stick, stone, and ~ ~ ~ with what paintbrush item, what block you want, and the coordinates or where a player is looking, respectively.
Always active repeating command block
/clear <player> stick -1 0
This checks if a player has the paintbrush.
Chain conditional:
/tag <player> add brush
Chain conditionals:
/execute @a[tag=brush] setblock ~ ~ ~ stone
/tag <player> remove brush
Replace <player> with the player you want to target. I hope this helps.
It looks like you’re thinking that addons for bedrock work like mods in java. They don’t. Most of the things you see in Minecraft are not possible in the JSON/JavaScript Bedrock API. You can’t make a bow, sorry. The items in bedrock are limited to the following behaviors: blocks, seeds, ordinary items, foods, potions, or a combo of food and potions (like a gapple), and maybe some other random thing I forgot.
Best Answer
Use NPCs
I know it’s a bit late, but your best bet to display a text box would probably be to use NPCs.
/give @s spawn_egg 1 51
.If you do want to have clickable buttons (up to six), you can click “Add Command” and check the button mode option.