To add a link to text in a tellraw
command, add a "clickEvent"
object to each of the objects in your JSON of the tellraw. Then add a "action":"open_url"
and a "value":"URL_HERE"
value to each of the "clickEvent"
objects, replacing URL_HERE
with the url you want. So in the end it will look something like this:
/tellraw @p [{"text":"TEXT","clickEvent":{"action":"open_url","value":"http://example.com/"}}]
I ran your text through a tellraw generator, and added the clickEvent
object with the values to it. Here is your command:
/tellraw @p [{"color":"white","bold":true,"text":"InFinite 16x ","clickEvent":{"action":"open_url","value":"http://p.finsgraphics.com/15pVO"}},{"bold":true,"color":"dark_gray","text":"1.9 3D ","clickEvent":{"action":"open_url","value":"http://p.finsgraphics.com/15pVO"}},{"bold":true,"color":"gold","text":"[V1] ","clickEvent":{"action":"open_url","value":"http://p.finsgraphics.com/15pVO"}},{"bold":true,"color":"white","text":"Download Link: ","clickEvent":{"action":"open_url","value":"http://p.finsgraphics.com/15pVO"}},{"bold":false,"color":"white","text":"p.finsgraphics.com/15pVO","clickEvent":{"action":"open_url","value":"http://p.finsgraphics.com/15pVO"}}]
First place the following command in a normal (impulse) command block inside the boat, attached to a simple clock. The speed of the clock will determine the speed the boat moves.
/clone ~<x1> ~<y1> ~<z1> ~<x2> ~<y2> ~<z2> ~<x3> ~ ~<z3> replace move
To calculate the values:
x1 is the number of blocks in the negative x direction from the command block to the edge of the boat, not including the command block, multiplied by -1.
y1 is the number of blocks in the negative y direction from the command block to the bottom of the boat, not including the command block, multiplied by -1.
z1 is the number of blocks in the negative z direction from the command block to the edge of the boat, not including the command block, multiplied by -1.
x2 is the number of blocks in the positive x direction from the command block to the edge of the boat, not including the command block.
y2 is the number of blocks in the positive y direction from the command block to the top of the boat, not including the command block.
z2 is the number of blocks in the positive z direction from the command block to the edge of the boat, not including the command block.
If you want the boat to move in the positive x direction then x3 = 1, z3 = 0.
If you want the boat to move in the negative x direction then x3 = -1, z3 = 0.
If you want the boat to move in the positive z direction then x3 = 0, z3 = 1.
If you want the boat to move in the negative z direction then x3 = 0, z3 = -1.
Hope this helps.
Best Answer
no, don't use
/tellraw
, this prints out the raw product rather than running the command inside the quote. If you use/say
or/tell
then type something like, "welcome @p to my secret lair" it will come out as, "welcome [name of nearest player] to my secret lair". Command is below: