-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cloning not targeting the player
- Loading branch information
1 parent
2d98833
commit 5aef25a
Showing
3 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
data/lt/functions/diguises/clone/stages/stage_three.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
tp @a[tag=diguises.cloned.to_tp] @e[tag=disguises.player.out,limit=1] | ||
tag @a remove diguises.cloned.to_tp | ||
tag @s remove diguises.cloned.target | ||
tp @a[tag=diguises.cloned.target] @e[tag=disguises.player.out,limit=1] | ||
tag @a remove diguises.cloned.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
execute as @e[type=ltextras:collectible,tag=disguises.player.cloned,limit=1] at @s run particle minecraft:portal ~ ~ ~ 0 1 0 0.5 1000 | ||
|
||
data modify entity @e[type=ltextras:collectible,tag=disguises.player.cloned,limit=1] collectible.tag.disguise.entity.tag.ProfileID set from entity @s UUID | ||
data modify entity @e[type=ltextras:collectible,tag=disguises.player.cloned,limit=1] collectible.tag.disguise.entity.tag.ProfileID set from entity @p[tag=diguises.cloned.target] UUID | ||
#Todo Modify Name of Disguise (And Other Deatils?) | ||
|
||
execute as @e[tag=disguises.player.sign_marker,limit=1] at @s run data modify entity @e[type=ltextras:collectible,tag=disguises.player.cloned,limit=1] collectible.tag.display.Name set from block ~ ~ ~ front_text.messages[0] | ||
execute as @e[tag=disguises.player.sign_marker,limit=1] at @s run data modify entity @e[type=ltextras:collectible,tag=disguises.player.cloned,limit=1] collectible.tag.display.Lore[6] set from block ~ ~ ~ front_text.messages[1] | ||
execute as @e[tag=disguises.player.sign_marker,limit=1] at @s run data modify entity @e[type=ltextras:collectible,tag=disguises.player.cloned,limit=1] collectible.tag.display.Lore[6] set from block ~ ~ ~ front_text.messages[1] | ||
|