423: End crystal beam control Updated. [Minecraft Map Making]

Subscribers:
3,860
Published on ● Video Link: https://www.youtube.com/watch?v=phY1ZJ1t2To



Duration: 0:00
176 views
20


Membership:
Ep423: Updating ender crystal beam control to the new way that the target is stored.

00:00 Not Intro
00:50 Summon crystal
02:30 Merge target
03:35 Straight up
06:10 At entity

Version: 1.21

Command help: GalSergey

Previous Version: Episode 88:    • 88: End crystal beam control [Minecra...  

Commands, builds, hacks and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel:

Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" and "less than" with the appropriate angled bracket.

Commands used:

Summon:
IUN: summon end_crystal x y z {Tags:["beam_origin"], ShowBottom:false, beam_target:[I; x, y, z]}

Merge:
IUN: data merge entity @e[type=end_crystal, tag=beam_origin, limit=1] {beam_target:[I; x, y, z]}

Straight up:
IUN: execute as @e[type=end_crystal, tag=beam_origin] store result entity @s beam_target[0] int 1 run data get entity @s Pos[0]
CUA: execute as @e[type=end_crystal, tag=beam_origin] run data modify entity @s beam_target[1] set value 320
CUA: execute as @e[type=end_crystal, tag=beam_origin] store result entity @s beam_target[2] int 1 run data get entity @s Pos[2]

At entity:
IUN: execute as @e[type=end_crystal, tag=beam_origin] store result entity @s beam_target[0] int 1 run data get entity @p Pos[0]
CUA: execute as @e[type=end_crystal, tag=beam_origin] store result entity @s beam_target[1] int 1 run data get entity @p Pos[1]
CUA: execute as @e[type=end_crystal, tag=beam_origin] store result entity @s beam_target[2] int 1 run data get entity @p Pos[2]