2024-12-15 02:51:20|Myriagame |source:minecraft skins
Foreword
In the packet, the entity that needs to be detected in the line of sight is often encountered.However, using the predicate lookings to determine that you can only determine what entity the player sees, but it is impossible to mark the entity that the player sees.
So how can we become stronger?That's only poor!
Packet description
The UUID of the entity that the player is watching will be recorded on the four score boards of the player's scoring board, Weaila0 ~ Weaila3, and the real UUID will be recorded to its own Weaila_uuid0 ~ Weaila_uuid3.On the score board.This can easily judge the entity of the player when it is.
The data packet comes with the entity referred to by the highlight player, and the UUID of the entity is displayed in the fast bar.Therefore, the author of the data packet, please modify the label #Weaila: Action and cover the original content.
Code example
/scoreboard players operation #t Weila_uuid0 = @S Weaila0/Scoreboard Players #t Weaila_uuid1 = @S Weaila1/ Scoreboard Players Operation #t Weaila_uuid2 = @S Weaila2/Scoreboard Players Operation #TWeaila_uuid3 = @S Weaila3/Execute as @E If SCORE @S Weaila_uuid0 = #T Weaila_uuid0 if score @S Weaila_uuid1 = #T Weila_uid1 if score@ sweaila_uuid2 = #t Weila_uuid2 if score @S Weaila_uuid3 = #T Weila_uuid3 Run Effect Give@s Glowing 1 0 TRUE
principle
Each Bit of each entity corresponds to a label, and then judge whether the entity that the player watches is watching through the progress. If you have these labels, add the corresponding score to the player.Reset score at the end of each moment.
How to use
After downloading, put the file in the archive DataPacks folder.


The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |
![]()
![]()
In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57
The story between humans and
2025-01-28 09:16:27
Capture "Trinity 3: Artifact
2025-01-28 09:15:27
Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27
Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27
Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26
Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25
King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25
Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24
Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23
Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23
Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22
Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22
Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22