TransWikia.com

How to use /title in /execute

Arqade Asked by FireRoz on February 21, 2021

I’ve been trying for weeks to solve this problem.
I’m using Minecraft Java Edition 1.13.2, and I’m trying to use the following commands in /execute.

/title @p times 10 30 10
title @p title {"text":"Level 1","color":"red","bold":"true"}
title @p subtitle {"text":"Level 1","color":"red","bold":"true"}

It worked when I didn’t use my /execute command at the start.

(/execute as @a at @s if block ~ ~-0.35 ~ gold_block run (command))
but when I tried to the execute command, it didn’t show up. Also, when I tried doing it and turning the OP logs on, nothing popped up.enter image description here

Please I really need help with this.

3 Answers

There's a limit to how many commands you can put into 1 block, so for example, in gold block there can be 3 commands in max (every block in minecraft can be only 3 commands in max). So I tried adding commands into Purpur Block, and it worked.

Answered by FireRoz on February 21, 2021

From your logs, you appear to be teleporting. Wouldn't this mean you are no longer standing on the gold block, and therefore the title isn't shown?

Try show the title first before the player is teleported.

Answered by David Callanan on February 21, 2021

If you are running those commands every tick, then the issue is that the title command also plays every tick. And since it does, it does not have enough time for the title to fade in before the next title is played.

You can fix this issue by changing the fade in parameter from:

title @p times 10 30 10

to:

title @p times 1 30 10

Answered by ginkgo on February 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP