-
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.
- Loading branch information
1 parent
99e9230
commit 352bc95
Showing
8 changed files
with
23 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
tp @a[tag=diguises.cloned.to_tp] @e[tag=disguises.player.out,limit=1] | ||
tag @a remove diguises.cloned.to_tp |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
particle minecraft:portal ~ ~ ~ 0 1 0 0.5 1000 | ||
data modify entity @e[type=dummyplayers:dummy_player,tag=disguises.player.cloned,limit=1] collectible.tag.disguise.entity.tag.ProfileID set from entity @s UUID | ||
#Todo Modify Name of Disguise (And Other Deatils?) | ||
#Clone Sound? | ||
tag @s add diguises.cloned.to_tp | ||
schedule function lt:diguises/clone/after_clone 2s |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
scoreboard players set Players disguise.cloneing 0 | ||
execute as @a[distance=..2] run scoreboard players add Players disguise.cloneing 1 | ||
#Todo Update Message | ||
execute if score Players disguise.cloneing matches 2.. run tellraw @a[distance=..2] {"translate":"lt.disguise.clone.to_many_players"} | ||
execute if score Players disguise.cloneing matches 1 run execute as @p at @p run function lt:diguises/clone/clone |
3 changes: 3 additions & 0 deletions
3
data/lt/functions/diguises/clone/util/create_cloned.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Todo Update this with brick style | ||
summon ltextras:collectible ~ ~ ~ {Tags:["disguises.player.cloned"],collectible:{item:"ltminigames:disguise",tag:{disguise:{entity:{type:"dummyplayers:dummy_player"}}}}} | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
summon marker ~ ~ ~ {Tags:["disguises.player.cloner"]} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
summon marker ~ ~ ~ {Tags:["disguises.player.out"]} |
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