diff --git a/datapacks/stealth_game/data/chest_menu/functions/display_testers.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/display_testers.mcfunction index bee87e8..d302f07 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/display_testers.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/display_testers.mcfunction @@ -1,3 +1,3 @@ playsound minecraft:block.note_block.guitar master @s ~ ~ ~ 1 1.2 -tellraw @s {"text":"The testers were: pcgus, pcjim, Loefars, Purple_Reign__, Peeps__, jamknight, jimbob123789, TheMichaelPlunk, linkdogeman, KadenzHyper, Augustron2000, T_Man_Happy, theluco617, ZachEP, Lumahlin, Pulluxx, Moesh, 3letters_, 4953makcim, Ardak78, MousePlayerTwo, and Silent04_.","color":"yellow"} +tellraw @s {"translate":"The testers were: pcgus, pcjim, Loefars, Purple_Reign__, Peeps__, jamknight, jimbob123789, TheMichaelPlunk, linkdogeman, KadenzHyper, Augustron2000, T_Man_Happy, theluco617, ZachEP, Lumahlin, Pulluxx, Moesh, 3letters_, 4953makcim, Ardak78, MousePlayerTwo, and Silent04_.","color":"yellow"} function chest_menu:start_credits \ No newline at end of file diff --git a/datapacks/stealth_game/data/chest_menu/functions/start.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start.mcfunction index f893302..2d6d4f7 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start.mcfunction @@ -1,10 +1,10 @@ scoreboard players set @s screen 0 function chest_menu:clear -item replace entity @s enderchest.9 with golden_helmet{HideFlags:63,display:{Name:'[{"text":"Cosmetics","color":"yellow","italic":false,"bold":true}]'},clickable:1} -item replace entity @s enderchest.11 with book{HideFlags:63,display:{Name:'[{"text":"Tutorial","color":"blue","italic":false,"bold":true}]'},clickable:1} -item replace entity @s enderchest.13 with chiseled_deepslate{HideFlags:63,display:{Name:'[{"text":"Tournaments","color":"gold","italic":false,"bold":true}]'},clickable:1} -item replace entity @s enderchest.15 with nether_star{HideFlags:63,display:{Name:'[{"text":"Statistics","color":"green","italic":false,"bold":true}]'},clickable:1} -item replace entity @s enderchest.17 with command_block{HideFlags:63,display:{Name:'[{"text":"Credits","color":"aqua","italic":false,"bold":true}]'},clickable:1} +item replace entity @s enderchest.9 with golden_helmet{HideFlags:63,display:{Name:'[{"translate":"Cosmetics","color":"yellow","italic":false,"bold":true}]'},clickable:1} +item replace entity @s enderchest.11 with book{HideFlags:63,display:{Name:'[{"translate":"Tutorial","color":"blue","italic":false,"bold":true}]'},clickable:1} +item replace entity @s enderchest.13 with chiseled_deepslate{HideFlags:63,display:{Name:'[{"translate":"Tournaments","color":"gold","italic":false,"bold":true}]'},clickable:1} +item replace entity @s enderchest.15 with nether_star{HideFlags:63,display:{Name:'[{"translate":"Statistics","color":"green","italic":false,"bold":true}]'},clickable:1} +item replace entity @s enderchest.17 with command_block{HideFlags:63,display:{Name:'[{"translate":"Credits","color":"aqua","italic":false,"bold":true}]'},clickable:1} -execute unless entity @s[tag=!has_test,tag=!has_help,tag=!has_bld,tag=!has_srbld,tag=!has_prg,tag=!has_srprg,tag=!has_manager,tag=!has_lead,tag=!has_submitter,tag=!has_pc,tag=!has_cr,tag=!has_art] run item replace entity @s enderchest.26 with written_book{clickable:1,HideFlags:63,display:{Name:'[{"text":"Titles","bold":true,"italic":false,"color":"white"}]'}} +execute unless entity @s[tag=!has_test,tag=!has_help,tag=!has_bld,tag=!has_srbld,tag=!has_prg,tag=!has_srprg,tag=!has_manager,tag=!has_lead,tag=!has_submitter,tag=!has_pc,tag=!has_cr,tag=!has_art] run item replace entity @s enderchest.26 with written_book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"Titles","bold":true,"italic":false,"color":"white"}]'}} diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_advancement_unlocks.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_advancement_unlocks.mcfunction index df55708..67cee93 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_advancement_unlocks.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_advancement_unlocks.mcfunction @@ -1,24 +1,24 @@ scoreboard players set @s screen 7 function chest_menu:clear -item replace entity @s enderchest.10 with iron_bars{bar:1,HideFlags:63,display:{Name:'[{"text":"Exclusive Prefix","color":"dark_gray","italic":false,"bold":true}]',Lore:['[{"text":"Complete advancements to unlock.","color":"gray","italic":false}]']},clickable:1} -item replace entity @s[advancements={custom/unlock_prefix=true}] enderchest.10 with name_tag{HideFlags:63,display:{Name:'[{"text":"Exclusive Prefix","color":"dark_gray","italic":false,"bold":true}]',Lore:['[{"text":"Unlocked","color":"green","italic":false}]']},clickable:1} -item replace entity @s[advancements={custom/unlock_prefix=true},tag=prefix] enderchest.10 with name_tag{HideFlags:63,display:{Name:'[{"text":"Exclusive Prefix","color":"dark_gray","italic":false,"bold":true}]',Lore:['[{"text":"Unlocked","color":"green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.10 with iron_bars{bar:1,HideFlags:63,display:{Name:'[{"translate":"Exclusive Prefix","color":"dark_gray","italic":false,"bold":true}]',Lore:['[{"translate":"Complete advancements to unlock.","color":"gray","italic":false}]']},clickable:1} +item replace entity @s[advancements={custom/unlock_prefix=true}] enderchest.10 with name_tag{HideFlags:63,display:{Name:'[{"translate":"Exclusive Prefix","color":"dark_gray","italic":false,"bold":true}]',Lore:['[{"translate":"Unlocked","color":"green","italic":false}]']},clickable:1} +item replace entity @s[advancements={custom/unlock_prefix=true},tag=prefix] enderchest.10 with name_tag{HideFlags:63,display:{Name:'[{"translate":"Exclusive Prefix","color":"dark_gray","italic":false,"bold":true}]',Lore:['[{"translate":"Unlocked","color":"green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.12 with iron_bars{bar:2,HideFlags:63,display:{Name:'[{"text":"Exclusive Lobby Mount","color":"green","italic":false,"bold":true}]',Lore:['[{"text":"Complete advancements to unlock.","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[advancements={custom/unlock_lobby_mount=true}] enderchest.12 with saddle{HideFlags:63,display:{Name:'[{"text":"Exclusive Lobby Mount","color":"green","italic":false,"bold":true}]',Lore:['[{"text":"Unlocked","color":"green","italic":false}]']},clickable:1} -item replace entity @s[advancements={custom/unlock_lobby_mount=true},scores={lobby_mount=18}] enderchest.12 with saddle{HideFlags:63,display:{Name:'[{"text":"Exclusive Lobby Mount","color":"green","italic":false,"bold":true}]',Lore:['[{"text":"Unlocked","color":"green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.12 with iron_bars{bar:2,HideFlags:63,display:{Name:'[{"translate":"Exclusive Lobby Mount","color":"green","italic":false,"bold":true}]',Lore:['[{"translate":"Complete advancements to unlock.","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[advancements={custom/unlock_lobby_mount=true}] enderchest.12 with saddle{HideFlags:63,display:{Name:'[{"translate":"Exclusive Lobby Mount","color":"green","italic":false,"bold":true}]',Lore:['[{"translate":"Unlocked","color":"green","italic":false}]']},clickable:1} +item replace entity @s[advancements={custom/unlock_lobby_mount=true},scores={lobby_mount=18}] enderchest.12 with saddle{HideFlags:63,display:{Name:'[{"translate":"Exclusive Lobby Mount","color":"green","italic":false,"bold":true}]',Lore:['[{"translate":"Unlocked","color":"green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.14 with iron_bars{bar:3,HideFlags:63,display:{Name:'[{"text":"Exclusive Trident Effect","color":"gold","italic":false,"bold":true}]',Lore:['[{"text":"Complete advancements to unlock.","color":"#d2a800","italic":false}]']},clickable:1} -item replace entity @s[advancements={custom/unlock_trident_effect=true}] enderchest.14 with trident{HideFlags:63,display:{Name:'[{"text":"Exclusive Trident Effect","color":"gold","italic":false,"bold":true}]',Lore:['[{"text":"Unlocked","color":"green","italic":false}]']},clickable:1} -item replace entity @s[advancements={custom/unlock_trident_effect=true},scores={trident_effects=18}] enderchest.14 with trident{HideFlags:63,display:{Name:'[{"text":"Exclusive Trident Effect","color":"gold","italic":false,"bold":true}]',Lore:['[{"text":"Unlocked","color":"green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.14 with iron_bars{bar:3,HideFlags:63,display:{Name:'[{"translate":"Exclusive Trident Effect","color":"gold","italic":false,"bold":true}]',Lore:['[{"translate":"Complete advancements to unlock.","color":"#d2a800","italic":false}]']},clickable:1} +item replace entity @s[advancements={custom/unlock_trident_effect=true}] enderchest.14 with trident{HideFlags:63,display:{Name:'[{"translate":"Exclusive Trident Effect","color":"gold","italic":false,"bold":true}]',Lore:['[{"translate":"Unlocked","color":"green","italic":false}]']},clickable:1} +item replace entity @s[advancements={custom/unlock_trident_effect=true},scores={trident_effects=18}] enderchest.14 with trident{HideFlags:63,display:{Name:'[{"translate":"Exclusive Trident Effect","color":"gold","italic":false,"bold":true}]',Lore:['[{"translate":"Unlocked","color":"green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.16 with iron_bars{bar:4,HideFlags:63,display:{Name:'[{"text":"Exclusive Death Message","color":"red","italic":false,"bold":true}]',Lore:['[{"text":"Complete advancements to unlock.","color":"dark_red","italic":false}]']},clickable:1} -item replace entity @s[advancements={custom/unlock_death_message=true}] enderchest.16 with bone{HideFlags:63,display:{Name:'[{"text":"Exclusive Death Message","color":"red","italic":false,"bold":true}]',Lore:['[{"text":"Unlocked","color":"green","italic":false}]']},clickable:1} -item replace entity @s[advancements={custom/unlock_death_message=true},scores={death_msg=18}] enderchest.16 with bone{HideFlags:63,display:{Name:'[{"text":"Exclusive Death Message","color":"red","italic":false,"bold":true}]',Lore:['[{"text":"Unlocked","color":"green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.16 with iron_bars{bar:4,HideFlags:63,display:{Name:'[{"translate":"Exclusive Death Message","color":"red","italic":false,"bold":true}]',Lore:['[{"translate":"Complete advancements to unlock.","color":"dark_red","italic":false}]']},clickable:1} +item replace entity @s[advancements={custom/unlock_death_message=true}] enderchest.16 with bone{HideFlags:63,display:{Name:'[{"translate":"Exclusive Death Message","color":"red","italic":false,"bold":true}]',Lore:['[{"translate":"Unlocked","color":"green","italic":false}]']},clickable:1} +item replace entity @s[advancements={custom/unlock_death_message=true},scores={death_msg=18}] enderchest.16 with bone{HideFlags:63,display:{Name:'[{"translate":"Exclusive Death Message","color":"red","italic":false,"bold":true}]',Lore:['[{"translate":"Unlocked","color":"green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"text":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file +item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"translate":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_cosmetics.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_cosmetics.mcfunction index 0769d69..f199f00 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_cosmetics.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_cosmetics.mcfunction @@ -1,7 +1,7 @@ scoreboard players set @s screen 1 function chest_menu:clear -item replace entity @s enderchest.10 with saddle{HideFlags:63,display:{Name:'[{"text":"Lobby Mounts","color":"green","italic":false,"bold":true}]',Lore:['[{"text":"Controllable mobs to ride around the lobby.","color":"gray","italic":false}]','[{"text":"Click inside your inventory to summon yours.","color":"gray","italic":false}]']},clickable:1} -item replace entity @s enderchest.12 with trident{HideFlags:63,display:{Name:'[{"text":"Trident Effects","color":"gold","italic":false,"bold":true}]',Lore:['[{"text":"Particles and animations","color":"gray","italic":false}]','[{"text":"that display near your trident.","color":"gray","italic":false}]','[{"text":"You may test them in-game","color":"gray","italic":false}]','[{"text":"or at the training-course.","color":"gray","italic":false}]']},clickable:1} -item replace entity @s enderchest.14 with bone{HideFlags:63,display:{Name:'[{"text":"Death Messages","color":"red","italic":false,"bold":true}]',Lore:['[{"text":"Messages that display when you die.","color":"gray","italic":false}]']},clickable:1} -item replace entity @s enderchest.16 with gold_nugget{Enchantments:[{id:"j",lvl:1}],HideFlags:63,display:{Name:'[{"text":"Advancement Unlocks","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Cosmetics unlocked by completing advancements.","color":"gray","italic":false}]']},clickable:1} -item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"text":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file +item replace entity @s enderchest.10 with saddle{HideFlags:63,display:{Name:'[{"translate":"Lobby Mounts","color":"green","italic":false,"bold":true}]',Lore:['[{"translate":"Controllable mobs to ride around the lobby.","color":"gray","italic":false}]','[{"translate":"Click inside your inventory to summon yours.","color":"gray","italic":false}]']},clickable:1} +item replace entity @s enderchest.12 with trident{HideFlags:63,display:{Name:'[{"translate":"Trident Effects","color":"gold","italic":false,"bold":true}]',Lore:['[{"translate":"Particles and animations","color":"gray","italic":false}]','[{"translate":"that display near your trident.","color":"gray","italic":false}]','[{"translate":"You may test them in-game","color":"gray","italic":false}]','[{"translate":"or at the training-course.","color":"gray","italic":false}]']},clickable:1} +item replace entity @s enderchest.14 with bone{HideFlags:63,display:{Name:'[{"translate":"Death Messages","color":"red","italic":false,"bold":true}]',Lore:['[{"translate":"Messages that display when you die.","color":"gray","italic":false}]']},clickable:1} +item replace entity @s enderchest.16 with gold_nugget{Enchantments:[{id:"j",lvl:1}],HideFlags:63,display:{Name:'[{"translate":"Advancement Unlocks","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Cosmetics unlocked by completing advancements.","color":"gray","italic":false}]']},clickable:1} +item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"translate":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_credits.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_credits.mcfunction index f47c2fb..07b0376 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_credits.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_credits.mcfunction @@ -1,36 +1,36 @@ scoreboard players set @s screen 5 function chest_menu:clear -item replace entity @s enderchest.0 with player_head{SkullOwner:{Id:[I;-2017505640,75779443,-1419364653,-635355468],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI3Njk1YWZlZDhiMzI0N2VjYTVhYzBkZTEyZjNkYTBiMmFmOWMxNjg4NTk5MThkODA0NDA5MzYwMTczMDJjNiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"TheTypicalMex","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} -item replace entity @s enderchest.1 with player_head{SkullOwner:{Id:[I;1786544878,-342276452,-2099545357,727450708],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmE4ZGZlMGU3ZmM0ODlhZjgwMmU0MWRhMjI0YjNkYzc5YzA5MTZkMjRmMWNjMWM4YzVkMzI4OTE0MTEyNzJkNCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"CheckMC","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} -item replace entity @s enderchest.2 with player_head{SkullOwner:{Id:[I;-542578861,925451033,-1620810784,1330621180],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmIyOWE0NTc4ZjZmY2RjN2RjMGM0ZTc3NmMyOTMxMjJkODFkZGI2NTE4Y2NlZTUyOTAxN2UyNDZjMDI0YjY3YyJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"FalconReign","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"{","color":"dark_purple","italic":false,"bold":true},{"text":"Project Lead","bold":false},{"text":"}","bold":true}]']},clickable:1} -item replace entity @s enderchest.3 with player_head{SkullOwner:{Id:[I;506904861,1102006167,-1783545058,-1314269631],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWQ2ODgxYTg5YTcyOWFhNDc3ZWE1ZWRiYTA5MjNiY2UyOWM1NGU0MGI0MGExNTlkNTBmNTZmZDJiNDAxMTk4MSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"Focii_","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} -item replace entity @s enderchest.4 with player_head{SkullOwner:{Id:[I;-426686968,1113671829,-1326863441,-1892523758],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmEyYzBhNGJkZGFkMjA0NjAyNjE1MDkxMWVlNjE0NGFjNTE2NmMyNGU1MzY0YWQwZWRmMmM2ZjVmNDBjNWNlZiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"Connop","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} -item replace entity @s enderchest.5 with player_head{SkullOwner:{Id:[I;1339664503,-1849536689,-1665787916,1231199656],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzAyYjBiN2U1ZWVmZGVmOTUxYWIyZDczMTk4NzkwMTM1YWNkOGU2Yzc2OTc1Y2I0ZmUyMGNjNThiMGYwYzJjMiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"ChipChase","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} -item replace entity @s enderchest.6 with player_head{SkullOwner:{Id:[I;-462253018,-1616690705,-1426138911,-1237149960],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzg2ZGJmOTIyNmU1OWE2NGQ2MzAzMzgxYzJmMThhNTcyOWM5ZjYyYzAxNmJhNGQ5ZmI3NDMzYzUyOGIyNmZlNCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"TheRegularMex","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.7 with player_head{SkullOwner:{Id:[I;-1898470114,-552317064,-1664696481,-716027914],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTlmMTMwOGUxNzQxY2IzZTg4YzdlZjE5YzQwOGE5OTQ1MWM1NjI4YThiZTY3ZmU1NWE2YzU2ZmZiMDMzOWM0In19fQ=="}]}},HideFlags:63,display:{Name:'[{"text":"GlytchIsYes","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.8 with player_head{SkullOwner:{Id:[I;-653341673,157107281,-1611724811,-508213494],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTIwZGI5YzFiNDg1YjZhNDE0ZWU4MGFkY2RjNWFlYTkzMjhiMzYyZTJlNjExOWQ0MDVmYTQyNzQ1MGUxMzQ4ZCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"Calverin","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.9 with player_head{SkullOwner:{Id:[I;-960292183,1665944565,-1303514587,-1989108493],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTA5Y2NiM2U5YWNiZWE5NzI0ZjNhNjMzZTFmNWViMWYwOTU5MmJhYzQ0YTZhZWU3YTA5ODM1MWViNjU5ZWJmZSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"SmallDeemo","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.10 with player_head{SkullOwner:{Id:[I;1289296922,104809250,-1935242476,-738446393],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTIyZjNiNmYwMThiMDY3ODEyZjdiM2QwNDg3OWRjZjZhYjhlMjA3OWE0ODAzY2U5MWJhZDYzYTdlZjAxYmE4NSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"Bodi25","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.11 with player_head{SkullOwner:{Id:[I;-969580694,-973058647,-1920220721,-378031360],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGE3YWQ4NmJmZDJjNzc3NzA2MmQ3NWI2YTE3MTQ2MmQzM2M4OGIyOGNlNzIxYWIzZGZhYWVjNDEwMWYyMzc1OCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"Boppo_","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.12 with player_head{SkullOwner:{Id:[I;-2044928392,-1115404219,-1643265589,-759525106],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWUwNGUwOGJhZjkyNjVhOWRmNWVmYmI4ZGU3M2RjN2RmMzhiMDIyMzljODk1ZWJiMDkyOTNjMTJhNzQ0Y2I1ZCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"TheRangerMark","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.13 with player_head{SkullOwner:{Id:[I;-1579740398,-1602336209,-1247844552,-502208026],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODBlYmE2YzM1ODc5MDUzZmRiMGUwMTgzMGU5YzVlYzdkZTc5YTg2NjMwNDFhMzM5ZDU5NjNkZTg0ZmYyODRkOCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"II_Owen_II","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.14 with player_head{SkullOwner:{Id:[I;296893790,-569357200,-2001123684,-1826694826],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFkODI1YTZmNWRlZTJkODg0OWNiZmQ4OTcxODc5MTk2YjdkZjBjMzZmNGUzZDI5N2U3MDY0NTM1NzZjYzRkZiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"Captonium","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.0 with player_head{SkullOwner:{Id:[I;-2017505640,75779443,-1419364653,-635355468],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI3Njk1YWZlZDhiMzI0N2VjYTVhYzBkZTEyZjNkYTBiMmFmOWMxNjg4NTk5MThkODA0NDA5MzYwMTczMDJjNiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"TheTypicalMex","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} +item replace entity @s enderchest.1 with player_head{SkullOwner:{Id:[I;1786544878,-342276452,-2099545357,727450708],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmE4ZGZlMGU3ZmM0ODlhZjgwMmU0MWRhMjI0YjNkYzc5YzA5MTZkMjRmMWNjMWM4YzVkMzI4OTE0MTEyNzJkNCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"CheckMC","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} +item replace entity @s enderchest.2 with player_head{SkullOwner:{Id:[I;-542578861,925451033,-1620810784,1330621180],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmIyOWE0NTc4ZjZmY2RjN2RjMGM0ZTc3NmMyOTMxMjJkODFkZGI2NTE4Y2NlZTUyOTAxN2UyNDZjMDI0YjY3YyJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"FalconReign","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"{","color":"dark_purple","italic":false,"bold":true},{"translate":"Project Lead","bold":false},{"translate":"}","bold":true}]']},clickable:1} +item replace entity @s enderchest.3 with player_head{SkullOwner:{Id:[I;506904861,1102006167,-1783545058,-1314269631],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWQ2ODgxYTg5YTcyOWFhNDc3ZWE1ZWRiYTA5MjNiY2UyOWM1NGU0MGI0MGExNTlkNTBmNTZmZDJiNDAxMTk4MSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"Focii_","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} +item replace entity @s enderchest.4 with player_head{SkullOwner:{Id:[I;-426686968,1113671829,-1326863441,-1892523758],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmEyYzBhNGJkZGFkMjA0NjAyNjE1MDkxMWVlNjE0NGFjNTE2NmMyNGU1MzY0YWQwZWRmMmM2ZjVmNDBjNWNlZiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"Connop","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} +item replace entity @s enderchest.5 with player_head{SkullOwner:{Id:[I;1339664503,-1849536689,-1665787916,1231199656],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzAyYjBiN2U1ZWVmZGVmOTUxYWIyZDczMTk4NzkwMTM1YWNkOGU2Yzc2OTc1Y2I0ZmUyMGNjNThiMGYwYzJjMiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"ChipChase","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Sr. Builder}","color":"dark_blue","italic":false}']},clickable:1} +item replace entity @s enderchest.6 with player_head{SkullOwner:{Id:[I;-462253018,-1616690705,-1426138911,-1237149960],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzg2ZGJmOTIyNmU1OWE2NGQ2MzAzMzgxYzJmMThhNTcyOWM5ZjYyYzAxNmJhNGQ5ZmI3NDMzYzUyOGIyNmZlNCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"TheRegularMex","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.7 with player_head{SkullOwner:{Id:[I;-1898470114,-552317064,-1664696481,-716027914],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTlmMTMwOGUxNzQxY2IzZTg4YzdlZjE5YzQwOGE5OTQ1MWM1NjI4YThiZTY3ZmU1NWE2YzU2ZmZiMDMzOWM0In19fQ=="}]}},HideFlags:63,display:{Name:'[{"translate":"GlytchIsYes","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.8 with player_head{SkullOwner:{Id:[I;-653341673,157107281,-1611724811,-508213494],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTIwZGI5YzFiNDg1YjZhNDE0ZWU4MGFkY2RjNWFlYTkzMjhiMzYyZTJlNjExOWQ0MDVmYTQyNzQ1MGUxMzQ4ZCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"Calverin","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.9 with player_head{SkullOwner:{Id:[I;-960292183,1665944565,-1303514587,-1989108493],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTA5Y2NiM2U5YWNiZWE5NzI0ZjNhNjMzZTFmNWViMWYwOTU5MmJhYzQ0YTZhZWU3YTA5ODM1MWViNjU5ZWJmZSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"SmallDeemo","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.10 with player_head{SkullOwner:{Id:[I;1289296922,104809250,-1935242476,-738446393],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTIyZjNiNmYwMThiMDY3ODEyZjdiM2QwNDg3OWRjZjZhYjhlMjA3OWE0ODAzY2U5MWJhZDYzYTdlZjAxYmE4NSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"Bodi25","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.11 with player_head{SkullOwner:{Id:[I;-969580694,-973058647,-1920220721,-378031360],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGE3YWQ4NmJmZDJjNzc3NzA2MmQ3NWI2YTE3MTQ2MmQzM2M4OGIyOGNlNzIxYWIzZGZhYWVjNDEwMWYyMzc1OCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"Boppo_","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.12 with player_head{SkullOwner:{Id:[I;-2044928392,-1115404219,-1643265589,-759525106],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWUwNGUwOGJhZjkyNjVhOWRmNWVmYmI4ZGU3M2RjN2RmMzhiMDIyMzljODk1ZWJiMDkyOTNjMTJhNzQ0Y2I1ZCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"TheRangerMark","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.13 with player_head{SkullOwner:{Id:[I;-1579740398,-1602336209,-1247844552,-502208026],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODBlYmE2YzM1ODc5MDUzZmRiMGUwMTgzMGU5YzVlYzdkZTc5YTg2NjMwNDFhMzM5ZDU5NjNkZTg0ZmYyODRkOCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"II_Owen_II","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.14 with player_head{SkullOwner:{Id:[I;296893790,-569357200,-2001123684,-1826694826],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODFkODI1YTZmNWRlZTJkODg0OWNiZmQ4OTcxODc5MTk2YjdkZjBjMzZmNGUzZDI5N2U3MDY0NTM1NzZjYzRkZiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"Captonium","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.15 with player_head{SkullOwner:{Id:[I;1798341831,-1261220093,-1508884147,-927605361],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTc4ZDcyOWJiNTBjZmU2YmM3YTYwYzg4ZWI5OTM4NGIwMGY3NTU0NGRiYmU5NDZmNDdmNjJiYjU5YjIyZGU5In19fQ=="}]}},HideFlags:63,display:{Name:'[{"text":"Bagee","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.16 with player_head{SkullOwner:{Id:[I;-1516001582,1276265760,-2143227989,1207741916],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzAzYTI0MThlNzA0NzVjODdkNmY2Yjg1NzBjMGVkNTk3ZWRhNDllMWY3YzhhZDEwMjQ1ODk4Mjk0MjFlNDFmNSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"EdLePug","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.17 with player_head{SkullOwner:{Id:[I;245357747,-72397142,-1143097676,-744294877],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTZmYTdiYjJlZDA3YTNhNGI0ZTEzY2UwMzYzNjY2M2QzNGQyMmZjYzljZDc4NWVmYjdjMTllZDEwNGI5N2MzMSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"BobaFate","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.19 with player_head{SkullOwner:{Id:[I;1141317183,-202357704,-1316780291,1480860083],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWQ3Y2Y3NzBlOTA0Y2MzMzE4M2Q1MDJkNDkwMDg1NWE5MjNhNmYxODAwNjQ1ZDA1ZjQ5MDRmYWMwODQ4ODIzOSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"admius","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.21 with player_head{SkullOwner:{Id:[I;-660049888,-788577538,-1442988549,-317993533],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2Y5NzcxMDVlNzFkMTE3ZWZlNjE1ODU0NzYxMDEzNDlhOTBiOTZmN2E4ZGM5NGE3OGViM2EwOGQ1Y2ZjYTg4ZCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"Beybwug","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.20 with player_head{SkullOwner:{Id:[I;1400832465,-1200075031,-1385218992,-747844537],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDRjN2ZmY2JhNWVjNjY3OWNkYzk0Nzk2M2QwNTEyMmEzNTgyOTlkY2JiZDE4OGM0ZGYwYzYwNmU1NjZmOWViZCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"TheTurtleDan","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"{Builder}","color":"blue","italic":false}']},clickable:1} -item replace entity @s enderchest.22 with player_head{SkullOwner:{Id:[I;1773483130,-1796977986,-1714188404,-1164126288],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODE0OWY1MzJjOTJiYTQ0Njg2ODI0MDlhYzExZDhkMTI2NWQ2Y2ZhNDBlZjRhY2RlOGZmMDBkNWU1MjdmMjUxOCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"pcgus","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"[Helper]","color":"dark_gray","italic":false}']},clickable:1} -item replace entity @s enderchest.23 with player_head{SkullOwner:{Id:[I;523945645,807226552,-1671227795,-155888958],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTI4ZDFiOTM3MjU4MmE2NjcxODkwYzE1NDFjMDk3Nzc2ZTZhNDZkZTE3NDM0OTNkM2NmMzU1MzhhNWZmOGFiMiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"J70","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"[Helper]","color":"dark_gray","italic":false}']},clickable:1} -item replace entity @s enderchest.25 with player_head{SkullOwner:{Id:[I;865162570,873811038,-1690983482,-1369813986],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTFhNTA1NDRhZTAyMWVmMmUyMjRlYjM5ODRkYTZjOTZkMzY4M2I5Zjg3NDM0ZGE5NTViY2JkNTQ1YzZkNGZkMCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"CheeseUnused","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"[Helper]","color":"dark_gray","italic":false}']},clickable:1} +item replace entity @s enderchest.15 with player_head{SkullOwner:{Id:[I;1798341831,-1261220093,-1508884147,-927605361],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTc4ZDcyOWJiNTBjZmU2YmM3YTYwYzg4ZWI5OTM4NGIwMGY3NTU0NGRiYmU5NDZmNDdmNjJiYjU5YjIyZGU5In19fQ=="}]}},HideFlags:63,display:{Name:'[{"translate":"Bagee","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.16 with player_head{SkullOwner:{Id:[I;-1516001582,1276265760,-2143227989,1207741916],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzAzYTI0MThlNzA0NzVjODdkNmY2Yjg1NzBjMGVkNTk3ZWRhNDllMWY3YzhhZDEwMjQ1ODk4Mjk0MjFlNDFmNSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"EdLePug","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.17 with player_head{SkullOwner:{Id:[I;245357747,-72397142,-1143097676,-744294877],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTZmYTdiYjJlZDA3YTNhNGI0ZTEzY2UwMzYzNjY2M2QzNGQyMmZjYzljZDc4NWVmYjdjMTllZDEwNGI5N2MzMSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"BobaFate","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.19 with player_head{SkullOwner:{Id:[I;1141317183,-202357704,-1316780291,1480860083],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWQ3Y2Y3NzBlOTA0Y2MzMzE4M2Q1MDJkNDkwMDg1NWE5MjNhNmYxODAwNjQ1ZDA1ZjQ5MDRmYWMwODQ4ODIzOSJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"admius","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.21 with player_head{SkullOwner:{Id:[I;-660049888,-788577538,-1442988549,-317993533],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2Y5NzcxMDVlNzFkMTE3ZWZlNjE1ODU0NzYxMDEzNDlhOTBiOTZmN2E4ZGM5NGE3OGViM2EwOGQ1Y2ZjYTg4ZCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"Beybwug","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.20 with player_head{SkullOwner:{Id:[I;1400832465,-1200075031,-1385218992,-747844537],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDRjN2ZmY2JhNWVjNjY3OWNkYzk0Nzk2M2QwNTEyMmEzNTgyOTlkY2JiZDE4OGM0ZGYwYzYwNmU1NjZmOWViZCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"TheTurtleDan","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"{Builder}","color":"blue","italic":false}']},clickable:1} +item replace entity @s enderchest.22 with player_head{SkullOwner:{Id:[I;1773483130,-1796977986,-1714188404,-1164126288],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODE0OWY1MzJjOTJiYTQ0Njg2ODI0MDlhYzExZDhkMTI2NWQ2Y2ZhNDBlZjRhY2RlOGZmMDBkNWU1MjdmMjUxOCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"pcgus","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"[Helper]","color":"dark_gray","italic":false}']},clickable:1} +item replace entity @s enderchest.23 with player_head{SkullOwner:{Id:[I;523945645,807226552,-1671227795,-155888958],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTI4ZDFiOTM3MjU4MmE2NjcxODkwYzE1NDFjMDk3Nzc2ZTZhNDZkZTE3NDM0OTNkM2NmMzU1MzhhNWZmOGFiMiJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"J70","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"[Helper]","color":"dark_gray","italic":false}']},clickable:1} +item replace entity @s enderchest.25 with player_head{SkullOwner:{Id:[I;865162570,873811038,-1690983482,-1369813986],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTFhNTA1NDRhZTAyMWVmMmUyMjRlYjM5ODRkYTZjOTZkMzY4M2I5Zjg3NDM0ZGE5NTViY2JkNTQ1YzZkNGZkMCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"CheeseUnused","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"[Helper]","color":"dark_gray","italic":false}']},clickable:1} -item replace entity @s enderchest.24 with player_head{SkullOwner:{Id:[I;-1292448882,511593644,-2013165758,119732558],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGFjM2Y1ZDAzMzBmNDQwNTk3MTM2ZWZkM2JjZmQ0OTNmYWQ1ZjI3Y2FlMDFlYTVmNmNmMDk4OTg0MzRmN2MzMCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"text":"joelzoboyo","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"[Helper]","color":"dark_gray","italic":false}']},clickable:1} +item replace entity @s enderchest.24 with player_head{SkullOwner:{Id:[I;-1292448882,511593644,-2013165758,119732558],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGFjM2Y1ZDAzMzBmNDQwNTk3MTM2ZWZkM2JjZmQ0OTNmYWQ1ZjI3Y2FlMDFlYTVmNmNmMDk4OTg0MzRmN2MzMCJ9fX0="}]}},HideFlags:63,display:{Name:'[{"translate":"joelzoboyo","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"[Helper]","color":"dark_gray","italic":false}']},clickable:1} -item replace entity @s enderchest.26 with book{HideFlags:63,display:{Name:'[{"text":"Special thanks to all the testers.","color":"yellow","italic":false,"bold":true}]',Lore:['{"text":"Click to view all the playtesters.","color":"gray","italic":false}']},clickable:1} +item replace entity @s enderchest.26 with book{HideFlags:63,display:{Name:'[{"translate":"Special thanks to all the testers.","color":"yellow","italic":false,"bold":true}]',Lore:['{"translate":"Click to view all the playtesters.","color":"gray","italic":false}']},clickable:1} -item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"text":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file +item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"translate":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_death_messages.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_death_messages.mcfunction index 40b3671..5492d77 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_death_messages.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_death_messages.mcfunction @@ -1,69 +1,69 @@ scoreboard players set @s screen 4 function chest_menu:clear -item replace entity @s enderchest.0 with paper{HideFlags:63,display:{Name:'[{"text":"Out","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=0}] enderchest.0 with paper{HideFlags:63,display:{Name:'[{"text":"Out","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.0 with paper{HideFlags:63,display:{Name:'[{"translate":"Out","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=0}] enderchest.0 with paper{HideFlags:63,display:{Name:'[{"translate":"Out","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.1 with paper{HideFlags:63,display:{Name:'[{"text":"Stopped","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=1}] enderchest.1 with paper{HideFlags:63,display:{Name:'[{"text":"Stopped","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.1 with paper{HideFlags:63,display:{Name:'[{"translate":"Stopped","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=1}] enderchest.1 with paper{HideFlags:63,display:{Name:'[{"translate":"Stopped","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.2 with paper{HideFlags:63,display:{Name:'[{"text":"Vanished","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=2}] enderchest.2 with paper{HideFlags:63,display:{Name:'[{"text":"Vanished","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.2 with paper{HideFlags:63,display:{Name:'[{"translate":"Vanished","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=2}] enderchest.2 with paper{HideFlags:63,display:{Name:'[{"translate":"Vanished","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.3 with paper{HideFlags:63,display:{Name:'[{"text":"Tutorial","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=3}] enderchest.3 with paper{HideFlags:63,display:{Name:'[{"text":"Tutorial","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.3 with paper{HideFlags:63,display:{Name:'[{"translate":"Tutorial","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=3}] enderchest.3 with paper{HideFlags:63,display:{Name:'[{"translate":"Tutorial","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.4 with paper{HideFlags:63,display:{Name:'[{"text":"Different Game","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=4}] enderchest.4 with paper{HideFlags:63,display:{Name:'[{"text":"Different Game","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.4 with paper{HideFlags:63,display:{Name:'[{"translate":"Different Game","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=4}] enderchest.4 with paper{HideFlags:63,display:{Name:'[{"translate":"Different Game","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.5 with paper{HideFlags:63,display:{Name:'[{"text":"Doomed","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=5}] enderchest.5 with paper{HideFlags:63,display:{Name:'[{"text":"Doomed","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.5 with paper{HideFlags:63,display:{Name:'[{"translate":"Doomed","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=5}] enderchest.5 with paper{HideFlags:63,display:{Name:'[{"translate":"Doomed","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.6 with paper{HideFlags:63,display:{Name:'[{"text":"Left","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=6}] enderchest.6 with paper{HideFlags:63,display:{Name:'[{"text":"Left","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.6 with paper{HideFlags:63,display:{Name:'[{"translate":"Left","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=6}] enderchest.6 with paper{HideFlags:63,display:{Name:'[{"translate":"Left","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.7 with paper{HideFlags:63,display:{Name:'[{"text":"Just Plain Died","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=7}] enderchest.7 with paper{HideFlags:63,display:{Name:'[{"text":"Just Plain Died","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.7 with paper{HideFlags:63,display:{Name:'[{"translate":"Just Plain Died","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=7}] enderchest.7 with paper{HideFlags:63,display:{Name:'[{"translate":"Just Plain Died","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.8 with paper{HideFlags:63,display:{Name:'[{"text":"Found","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=8}] enderchest.8 with paper{HideFlags:63,display:{Name:'[{"text":"Found","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.8 with paper{HideFlags:63,display:{Name:'[{"translate":"Found","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=8}] enderchest.8 with paper{HideFlags:63,display:{Name:'[{"translate":"Found","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.9 with paper{HideFlags:63,display:{Name:'[{"text":"Spectate","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=9}] enderchest.9 with paper{HideFlags:63,display:{Name:'[{"text":"Spectate","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.9 with paper{HideFlags:63,display:{Name:'[{"translate":"Spectate","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=9}] enderchest.9 with paper{HideFlags:63,display:{Name:'[{"translate":"Spectate","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.10 with paper{HideFlags:63,display:{Name:'[{"text":"Casualty","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=10}] enderchest.10 with paper{HideFlags:63,display:{Name:'[{"text":"Casualty","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.10 with paper{HideFlags:63,display:{Name:'[{"translate":"Casualty","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=10}] enderchest.10 with paper{HideFlags:63,display:{Name:'[{"translate":"Casualty","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.11 with paper{HideFlags:63,display:{Name:'[{"text":"Stand","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=11}] enderchest.11 with paper{HideFlags:63,display:{Name:'[{"text":"Stand","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.11 with paper{HideFlags:63,display:{Name:'[{"translate":"Stand","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=11}] enderchest.11 with paper{HideFlags:63,display:{Name:'[{"translate":"Stand","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.12 with iron_bars{bar:1,HideFlags:63,display:{Name:'[{"text":"Hugged","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_d_12] enderchest.12 with paper{HideFlags:63,display:{Name:'[{"text":"Hugged","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=12}] enderchest.12 with paper{HideFlags:63,display:{Name:'[{"text":"Hugged","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.12 with iron_bars{bar:1,HideFlags:63,display:{Name:'[{"translate":"Hugged","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_d_12] enderchest.12 with paper{HideFlags:63,display:{Name:'[{"translate":"Hugged","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=12}] enderchest.12 with paper{HideFlags:63,display:{Name:'[{"translate":"Hugged","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.13 with iron_bars{bar:2,HideFlags:63,display:{Name:'[{"text":"Tried","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_d_13] enderchest.13 with paper{HideFlags:63,display:{Name:'[{"text":"Tried","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=13}] enderchest.13 with paper{HideFlags:63,display:{Name:'[{"text":"Tried","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.13 with iron_bars{bar:2,HideFlags:63,display:{Name:'[{"translate":"Tried","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_d_13] enderchest.13 with paper{HideFlags:63,display:{Name:'[{"translate":"Tried","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=13}] enderchest.13 with paper{HideFlags:63,display:{Name:'[{"translate":"Tried","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.14 with iron_bars{bar:3,HideFlags:63,display:{Name:'[{"text":"Medic","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_d_14] enderchest.14 with paper{HideFlags:63,display:{Name:'[{"text":"Medic","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=14}] enderchest.14 with paper{HideFlags:63,display:{Name:'[{"text":"Medic","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.14 with iron_bars{bar:3,HideFlags:63,display:{Name:'[{"translate":"Medic","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_d_14] enderchest.14 with paper{HideFlags:63,display:{Name:'[{"translate":"Medic","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=14}] enderchest.14 with paper{HideFlags:63,display:{Name:'[{"translate":"Medic","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.15 with iron_bars{bar:4,HideFlags:63,display:{Name:'[{"text":"Learned","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_d_15] enderchest.15 with paper{HideFlags:63,display:{Name:'[{"text":"Learned","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=15}] enderchest.15 with paper{HideFlags:63,display:{Name:'[{"text":"Learned","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.15 with iron_bars{bar:4,HideFlags:63,display:{Name:'[{"translate":"Learned","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_d_15] enderchest.15 with paper{HideFlags:63,display:{Name:'[{"translate":"Learned","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=15}] enderchest.15 with paper{HideFlags:63,display:{Name:'[{"translate":"Learned","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.16 with iron_bars{bar:5,HideFlags:63,display:{Name:'[{"text":"Forgot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_d_16] enderchest.16 with paper{HideFlags:63,display:{Name:'[{"text":"Forgot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=16}] enderchest.16 with paper{HideFlags:63,display:{Name:'[{"text":"Forgot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.16 with iron_bars{bar:5,HideFlags:63,display:{Name:'[{"translate":"Forgot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_d_16] enderchest.16 with paper{HideFlags:63,display:{Name:'[{"translate":"Forgot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=16}] enderchest.16 with paper{HideFlags:63,display:{Name:'[{"translate":"Forgot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.17 with iron_bars{bar:6,HideFlags:63,display:{Name:'[{"text":"Lacked Stealth","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_d_17] enderchest.17 with paper{HideFlags:63,display:{Name:'[{"text":"Lacked Stealth","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} -item replace entity @s[scores={death_msg=17}] enderchest.17 with paper{HideFlags:63,display:{Name:'[{"text":"Lacked Stealth","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.17 with iron_bars{bar:6,HideFlags:63,display:{Name:'[{"translate":"Lacked Stealth","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_d_17] enderchest.17 with paper{HideFlags:63,display:{Name:'[{"translate":"Lacked Stealth","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} +item replace entity @s[scores={death_msg=17}] enderchest.17 with paper{HideFlags:63,display:{Name:'[{"translate":"Lacked Stealth","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"text":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file +item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"translate":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_mounts.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_mounts.mcfunction index 78cd458..b6eadc7 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_mounts.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_mounts.mcfunction @@ -1,61 +1,61 @@ scoreboard players set @s screen 2 function chest_menu:clear -item replace entity @s enderchest.0 with horse_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Horse","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=0}] enderchest.0 with horse_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Horse","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.1 with donkey_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Donkey","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=1}] enderchest.1 with donkey_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Donkey","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.2 with cow_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Cow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=2}] enderchest.2 with cow_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Cow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.3 with mooshroom_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Mooshroom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=3}] enderchest.3 with mooshroom_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Mooshroom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.4 with slime_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Slime","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=4}] enderchest.4 with slime_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Slime","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.0 with horse_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Horse","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=0}] enderchest.0 with horse_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Horse","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.1 with donkey_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Donkey","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=1}] enderchest.1 with donkey_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Donkey","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.2 with cow_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Cow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=2}] enderchest.2 with cow_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Cow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.3 with mooshroom_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Mooshroom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=3}] enderchest.3 with mooshroom_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Mooshroom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.4 with slime_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Slime","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=4}] enderchest.4 with slime_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Slime","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.5 with chicken_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Chicken Jockey","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=5}] enderchest.5 with chicken_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Chicken Jockey","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.5 with chicken_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Chicken Jockey","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=5}] enderchest.5 with chicken_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Chicken Jockey","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.6 with spider_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Stack of Spiders","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=6}] enderchest.6 with spider_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Stack of Spiders","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.6 with spider_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Stack of Spiders","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=6}] enderchest.6 with spider_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Stack of Spiders","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.7 with polar_bear_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Polar Bear","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=7}] enderchest.7 with polar_bear_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Polar Bear","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.7 with polar_bear_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Polar Bear","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=7}] enderchest.7 with polar_bear_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Polar Bear","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.8 with skeleton_horse_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Skeleton Horse","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=8}] enderchest.8 with skeleton_horse_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Skeleton Horse","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.8 with skeleton_horse_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Skeleton Horse","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=8}] enderchest.8 with skeleton_horse_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Skeleton Horse","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.9 with bee_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Bee","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=9}] enderchest.9 with bee_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Bee","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.9 with bee_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Bee","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=9}] enderchest.9 with bee_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Bee","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.10 with parrot_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Parrot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=10}] enderchest.10 with parrot_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Parrot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.10 with parrot_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Parrot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=10}] enderchest.10 with parrot_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Parrot","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.11 with vex_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Vex","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=11}] enderchest.11 with vex_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Vex","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.11 with vex_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Vex","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=11}] enderchest.11 with vex_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Vex","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.12 with iron_bars{bar:1,HideFlags:63,display:{Name:'[{"text":"Panda","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_m_12] enderchest.12 with panda_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Panda","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=12}] enderchest.12 with panda_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Panda","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.12 with iron_bars{bar:1,HideFlags:63,display:{Name:'[{"translate":"Panda","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_m_12] enderchest.12 with panda_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Panda","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=12}] enderchest.12 with panda_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Panda","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.13 with iron_bars{bar:2,HideFlags:63,display:{Name:'[{"text":"Hoglin","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_m_13] enderchest.13 with hoglin_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Hoglin","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=13}] enderchest.13 with hoglin_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Hoglin","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.13 with iron_bars{bar:2,HideFlags:63,display:{Name:'[{"translate":"Hoglin","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_m_13] enderchest.13 with hoglin_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Hoglin","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=13}] enderchest.13 with hoglin_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Hoglin","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.14 with iron_bars{bar:3,HideFlags:63,display:{Name:'[{"text":"Jeb Sheep","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_m_14] enderchest.14 with sheep_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Jeb Sheep","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=14}] enderchest.14 with sheep_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Jeb Sheep","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.14 with iron_bars{bar:3,HideFlags:63,display:{Name:'[{"translate":"Jeb Sheep","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_m_14] enderchest.14 with sheep_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Jeb Sheep","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=14}] enderchest.14 with sheep_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Jeb Sheep","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.15 with iron_bars{bar:4,HideFlags:63,display:{Name:'[{"text":"Phantom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_m_15] enderchest.15 with phantom_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Phantom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=15}] enderchest.15 with phantom_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Phantom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.15 with iron_bars{bar:4,HideFlags:63,display:{Name:'[{"translate":"Phantom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_m_15] enderchest.15 with phantom_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Phantom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=15}] enderchest.15 with phantom_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Phantom","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.16 with iron_bars{bar:5,HideFlags:63,display:{Name:'[{"text":"Stack of Turtles","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_m_16] enderchest.16 with turtle_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Stack of Turtles","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=16}] enderchest.16 with turtle_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Stack of Turtles","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.16 with iron_bars{bar:5,HideFlags:63,display:{Name:'[{"translate":"Stack of Turtles","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_m_16] enderchest.16 with turtle_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Stack of Turtles","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=16}] enderchest.16 with turtle_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Stack of Turtles","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.17 with iron_bars{bar:6,HideFlags:63,display:{Name:'[{"text":"Cloud","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_m_17] enderchest.17 with ghast_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Cloud","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} -item replace entity @s[scores={lobby_mount=17}] enderchest.17 with ghast_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Cloud","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.17 with iron_bars{bar:6,HideFlags:63,display:{Name:'[{"translate":"Cloud","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_m_17] enderchest.17 with ghast_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Cloud","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} +item replace entity @s[scores={lobby_mount=17}] enderchest.17 with ghast_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Cloud","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"text":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file +item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"translate":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_stats.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_stats.mcfunction index aee3418..b1a6d06 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_stats.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_stats.mcfunction @@ -8,4 +8,4 @@ loot replace entity @s enderchest.14 loot minecraft:stats/bands loot replace entity @s enderchest.15 loot minecraft:stats/punches loot replace entity @s enderchest.16 loot minecraft:stats/highscore -item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"text":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file +item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"translate":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_titles.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_titles.mcfunction index 1a9f9f1..b1457d8 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_titles.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_titles.mcfunction @@ -8,39 +8,39 @@ scoreboard players set @s screen 99 ##Middle row -item replace entity @s[tag=has_test] enderchest.0 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"(Tester)","bold":false,"italic":false,"color":"gray"}]'}} -item replace entity @s[tag=has_help] enderchest.1 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"[Helper]","bold":false,"italic":false,"color":"dark_gray"}]'}} -item replace entity @s[tag=has_bld] enderchest.2 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"{Builder}","bold":false,"italic":false,"color":"blue"}]'}} -item replace entity @s[tag=has_srbld] enderchest.3 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"{Sr. Builder}","bold":false,"italic":false,"color":"dark_blue"}]'}} -item replace entity @s[tag=has_prg] enderchest.4 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"{Programmer}","bold":false,"italic":false,"color":"red"}]'}} -item replace entity @s[tag=has_srprg] enderchest.5 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"{Sr. Programmer}","bold":false,"italic":false,"color":"dark_red"}]'}} -item replace entity @s[tag=has_manager] enderchest.6 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"{Manager}","bold":false,"italic":false,"color":"yellow"}]'}} -item replace entity @s[tag=has_lead] enderchest.7 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"{","color":"dark_purple","bold":true,"italic":false},{"text":"Project Lead","bold":false},{"text":"}","bold":true}]'}} -item replace entity @s[tag=has_cr] enderchest.8 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"{","color":"white","bold":true,"italic":false},{"text":"C","color":"aqua","bold":true},{"text":"R","color":"dark_aqua","bold":true},{"text":"}","color":"white","bold":true}]'}} -item replace entity @s[tag=has_art] enderchest.9 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"{Artist}","bold":false,"italic":false,"color":"green"}]'}} -item replace entity @s[tag=has_pc] enderchest.26 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"(","color":"dark_gray","italic":false},{"text":"pc","color":"green","bold":true},{"text":")","color":"dark_gray"}]'}} -item replace entity @s[tag=has_melon] enderchest.25 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"(","color":"red","italic":false},{"text":"Melon","color":"green","bold":true},{"text":")","color":"red"}]'}} -item replace entity @s[tag=has_tournament] enderchest.24 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"(","color":"dark_gray","italic":false,"bold":true},{"text":"Tournament","color":"gray","bold":false},{"text":")","color":"dark_gray","bold":true}]'}} - -item replace entity @s[tag=has_submitter] enderchest.23 with book{clickable:1,HideFlags:63,display:{Name:'[{"text":"(","color":"gold","italic":false,"bold":true},{"text":"Submitter","color":"gray","bold":false},{"text":")","color":"gold","bold":true}]'}} - -item replace entity @s[scores={prefix=0}] enderchest.0 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"(Tester)","bold":false,"italic":false,"color":"gray"}]'}} -item replace entity @s[scores={prefix=1}] enderchest.1 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"[Helper]","bold":false,"italic":false,"color":"dark_gray"}]'}} -item replace entity @s[scores={prefix=2}] enderchest.2 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"{Builder}","bold":false,"italic":false,"color":"blue"}]'}} -item replace entity @s[scores={prefix=3}] enderchest.3 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"{Sr. Builder}","bold":false,"italic":false,"color":"dark_blue"}]'}} -item replace entity @s[scores={prefix=4}] enderchest.4 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"{Programmer}","bold":false,"italic":false,"color":"red"}]'}} -item replace entity @s[scores={prefix=5}] enderchest.5 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"{Sr. Programmer}","bold":false,"italic":false,"color":"dark_red"}]'}} -item replace entity @s[scores={prefix=6}] enderchest.6 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"{Manager}","bold":false,"italic":false,"color":"yellow"}]'}} -item replace entity @s[scores={prefix=7}] enderchest.7 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"{","color":"dark_purple","bold":true,"italic":false},{"text":"Project Lead","bold":false},{"text":"}","bold":true}]'}} -item replace entity @s[scores={prefix=99}] enderchest.8 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"{","color":"white","bold":true,"italic":false},{"text":"C","color":"aqua","bold":true},{"text":"R","color":"dark_aqua","bold":true},{"text":"}","color":"white","bold":true}]'}} -item replace entity @s[scores={prefix=8}] enderchest.9 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"{Artist}","bold":false,"italic":false,"color":"green"}]'}} -item replace entity @s[scores={prefix=-2}] enderchest.26 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"(","color":"dark_gray","italic":false},{"text":"pc","color":"green","bold":true},{"text":")","color":"dark_gray"}]'}} -item replace entity @s[scores={prefix=-3}] enderchest.25 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"(","color":"red","italic":false},{"text":"Melon","color":"green","bold":true},{"text":")","color":"red"}]'}} -item replace entity @s[scores={prefix=98}] enderchest.24 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"(","color":"dark_gray","italic":false,"bold":true},{"text":"Tournament","color":"gray","bold":false},{"text":")","color":"dark_gray","bold":true}]'}} - -item replace entity @s[scores={prefix=50}] enderchest.23 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"text":"(","color":"gold","italic":false,"bold":true},{"text":"Submitter","color":"gray","bold":false},{"text":")","color":"gold","bold":true}]'}} +item replace entity @s[tag=has_test] enderchest.0 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"(Tester)","bold":false,"italic":false,"color":"gray"}]'}} +item replace entity @s[tag=has_help] enderchest.1 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"[Helper]","bold":false,"italic":false,"color":"dark_gray"}]'}} +item replace entity @s[tag=has_bld] enderchest.2 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Builder}","bold":false,"italic":false,"color":"blue"}]'}} +item replace entity @s[tag=has_srbld] enderchest.3 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Sr. Builder}","bold":false,"italic":false,"color":"dark_blue"}]'}} +item replace entity @s[tag=has_prg] enderchest.4 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Programmer}","bold":false,"italic":false,"color":"red"}]'}} +item replace entity @s[tag=has_srprg] enderchest.5 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Sr. Programmer}","bold":false,"italic":false,"color":"dark_red"}]'}} +item replace entity @s[tag=has_manager] enderchest.6 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Manager}","bold":false,"italic":false,"color":"yellow"}]'}} +item replace entity @s[tag=has_lead] enderchest.7 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"{","color":"dark_purple","bold":true,"italic":false},{"translate":"Project Lead","bold":false},{"translate":"}","bold":true}]'}} +item replace entity @s[tag=has_cr] enderchest.8 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"{","color":"white","bold":true,"italic":false},{"translate":"C","color":"aqua","bold":true},{"translate":"R","color":"dark_aqua","bold":true},{"translate":"}","color":"white","bold":true}]'}} +item replace entity @s[tag=has_art] enderchest.9 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Artist}","bold":false,"italic":false,"color":"green"}]'}} +item replace entity @s[tag=has_pc] enderchest.26 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"(","color":"dark_gray","italic":false},{"translate":"pc","color":"green","bold":true},{"translate":")","color":"dark_gray"}]'}} +item replace entity @s[tag=has_melon] enderchest.25 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"(","color":"red","italic":false},{"translate":"Melon","color":"green","bold":true},{"translate":")","color":"red"}]'}} +item replace entity @s[tag=has_tournament] enderchest.24 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"(","color":"dark_gray","italic":false,"bold":true},{"translate":"Tournament","color":"gray","bold":false},{"translate":")","color":"dark_gray","bold":true}]'}} + +item replace entity @s[tag=has_submitter] enderchest.23 with book{clickable:1,HideFlags:63,display:{Name:'[{"translate":"(","color":"gold","italic":false,"bold":true},{"translate":"Submitter","color":"gray","bold":false},{"translate":")","color":"gold","bold":true}]'}} + +item replace entity @s[scores={prefix=0}] enderchest.0 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"(Tester)","bold":false,"italic":false,"color":"gray"}]'}} +item replace entity @s[scores={prefix=1}] enderchest.1 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"[Helper]","bold":false,"italic":false,"color":"dark_gray"}]'}} +item replace entity @s[scores={prefix=2}] enderchest.2 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Builder}","bold":false,"italic":false,"color":"blue"}]'}} +item replace entity @s[scores={prefix=3}] enderchest.3 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Sr. Builder}","bold":false,"italic":false,"color":"dark_blue"}]'}} +item replace entity @s[scores={prefix=4}] enderchest.4 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Programmer}","bold":false,"italic":false,"color":"red"}]'}} +item replace entity @s[scores={prefix=5}] enderchest.5 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Sr. Programmer}","bold":false,"italic":false,"color":"dark_red"}]'}} +item replace entity @s[scores={prefix=6}] enderchest.6 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Manager}","bold":false,"italic":false,"color":"yellow"}]'}} +item replace entity @s[scores={prefix=7}] enderchest.7 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"{","color":"dark_purple","bold":true,"italic":false},{"translate":"Project Lead","bold":false},{"translate":"}","bold":true}]'}} +item replace entity @s[scores={prefix=99}] enderchest.8 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"{","color":"white","bold":true,"italic":false},{"translate":"C","color":"aqua","bold":true},{"translate":"R","color":"dark_aqua","bold":true},{"translate":"}","color":"white","bold":true}]'}} +item replace entity @s[scores={prefix=8}] enderchest.9 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"{Artist}","bold":false,"italic":false,"color":"green"}]'}} +item replace entity @s[scores={prefix=-2}] enderchest.26 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"(","color":"dark_gray","italic":false},{"translate":"pc","color":"green","bold":true},{"translate":")","color":"dark_gray"}]'}} +item replace entity @s[scores={prefix=-3}] enderchest.25 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"(","color":"red","italic":false},{"translate":"Melon","color":"green","bold":true},{"translate":")","color":"red"}]'}} +item replace entity @s[scores={prefix=98}] enderchest.24 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"(","color":"dark_gray","italic":false,"bold":true},{"translate":"Tournament","color":"gray","bold":false},{"translate":")","color":"dark_gray","bold":true}]'}} + +item replace entity @s[scores={prefix=50}] enderchest.23 with written_book{invalid_click:1,clickable:1,HideFlags:63,display:{Name:'[{"translate":"(","color":"gold","italic":false,"bold":true},{"translate":"Submitter","color":"gray","bold":false},{"translate":")","color":"gold","bold":true}]'}} # -item replace entity @s enderchest.18 with barrier{clickable:1,HideFlags:63,display:{Name:'[{"text":"Back","bold":true,"italic":false,"color":"#ff0000"}]'}} +item replace entity @s enderchest.18 with barrier{clickable:1,HideFlags:63,display:{Name:'[{"translate":"Back","bold":true,"italic":false,"color":"#ff0000"}]'}} diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_tournaments.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_tournaments.mcfunction index 587d46a..7ef2c91 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_tournaments.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_tournaments.mcfunction @@ -1,6 +1,6 @@ scoreboard players set @s screen 8 function chest_menu:clear -item replace entity @s enderchest.0 with player_head{SkullOwner:"FalconReign",HideFlags:63,display:{Name:'[{"text":"Tick By Tick 4","color":"dark_purple","italic":false,"bold":true}]',Lore:['[{"text":"Date: ","color":"gray","italic":false},{"text":"February 27th, 2021","color":"light_purple"}]','[{"text":"=-= ","color":"gold","italic":false},{"text":" Placements ","color":"blue","bold":true},{"text":"=-= ","color":"gold"}]','[{"text":"1st","color":"yellow","italic":false},{"text":": ","color":"gray"},{"text":"FalconReign","color":"gold"}]','[{"text":"2nd","color":"yellow","italic":false},{"text":": ","color":"gray"},{"text":"TheViralMelon","color":"gold"}]','[{"text":"3rd","color":"yellow","italic":false},{"text":": ","color":"gray"},{"text":"Silent04_","color":"gold"}]']},clickable:1} +item replace entity @s enderchest.0 with player_head{SkullOwner:"FalconReign",HideFlags:63,display:{Name:'[{"translate":"Tick By Tick 4","color":"dark_purple","italic":false,"bold":true}]',Lore:['[{"translate":"Date: ","color":"gray","italic":false},{"translate":"February 27th, 2021","color":"light_purple"}]','[{"translate":"=-= ","color":"gold","italic":false},{"translate":" Placements ","color":"blue","bold":true},{"translate":"=-= ","color":"gold"}]','[{"translate":"1st","color":"yellow","italic":false},{"translate":": ","color":"gray"},{"translate":"FalconReign","color":"gold"}]','[{"translate":"2nd","color":"yellow","italic":false},{"translate":": ","color":"gray"},{"translate":"TheViralMelon","color":"gold"}]','[{"translate":"3rd","color":"yellow","italic":false},{"translate":": ","color":"gray"},{"translate":"Silent04_","color":"gold"}]']},clickable:1} -item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"text":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file +item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"translate":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/chest_menu/functions/start_tridents.mcfunction b/datapacks/stealth_game/data/chest_menu/functions/start_tridents.mcfunction index f84ecba..58fb4cc 100644 --- a/datapacks/stealth_game/data/chest_menu/functions/start_tridents.mcfunction +++ b/datapacks/stealth_game/data/chest_menu/functions/start_tridents.mcfunction @@ -1,69 +1,69 @@ scoreboard players set @s screen 3 function chest_menu:clear -item replace entity @s enderchest.0 with white_stained_glass{HideFlags:63,display:{Name:'[{"text":"None","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Default","color":"dark_gray","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=0}] enderchest.0 with white_stained_glass{HideFlags:63,display:{Name:'[{"text":"None","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Default","color":"dark_gray","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.0 with white_stained_glass{HideFlags:63,display:{Name:'[{"translate":"None","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Default","color":"dark_gray","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=0}] enderchest.0 with white_stained_glass{HideFlags:63,display:{Name:'[{"translate":"None","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Default","color":"dark_gray","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.1 with purple_concrete{HideFlags:63,display:{Name:'[{"text":"Portal","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=1}] enderchest.1 with purple_concrete{HideFlags:63,display:{Name:'[{"text":"Portal","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.1 with purple_concrete{HideFlags:63,display:{Name:'[{"translate":"Portal","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=1}] enderchest.1 with purple_concrete{HideFlags:63,display:{Name:'[{"translate":"Portal","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.2 with blue_concrete{HideFlags:63,display:{Name:'[{"text":"Rain","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=2}] enderchest.2 with blue_concrete{HideFlags:63,display:{Name:'[{"text":"Rain","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.2 with blue_concrete{HideFlags:63,display:{Name:'[{"translate":"Rain","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=2}] enderchest.2 with blue_concrete{HideFlags:63,display:{Name:'[{"translate":"Rain","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.3 with black_concrete{HideFlags:63,display:{Name:'[{"text":"Hearts","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=3}] enderchest.3 with black_concrete{HideFlags:63,display:{Name:'[{"text":"Hearts","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.3 with black_concrete{HideFlags:63,display:{Name:'[{"translate":"Hearts","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=3}] enderchest.3 with black_concrete{HideFlags:63,display:{Name:'[{"translate":"Hearts","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.4 with red_tulip{HideFlags:63,display:{Name:'[{"text":"Flowers","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=4}] enderchest.4 with red_tulip{HideFlags:63,display:{Name:'[{"text":"Flowers","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.4 with red_tulip{HideFlags:63,display:{Name:'[{"translate":"Flowers","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=4}] enderchest.4 with red_tulip{HideFlags:63,display:{Name:'[{"translate":"Flowers","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.5 with end_rod{HideFlags:63,display:{Name:'[{"text":"Dots","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=5}] enderchest.5 with end_rod{HideFlags:63,display:{Name:'[{"text":"Dots","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.5 with end_rod{HideFlags:63,display:{Name:'[{"translate":"Dots","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=5}] enderchest.5 with end_rod{HideFlags:63,display:{Name:'[{"translate":"Dots","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.6 with zombie_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Spawn Eggs","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=6}] enderchest.6 with zombie_spawn_egg{HideFlags:63,display:{Name:'[{"text":"Spawn Eggs","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.6 with zombie_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Spawn Eggs","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=6}] enderchest.6 with zombie_spawn_egg{HideFlags:63,display:{Name:'[{"translate":"Spawn Eggs","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.7 with flint_and_steel{HideFlags:63,display:{Name:'[{"text":"Fire","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=7}] enderchest.7 with flint_and_steel{HideFlags:63,display:{Name:'[{"text":"Fire","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.7 with flint_and_steel{HideFlags:63,display:{Name:'[{"translate":"Fire","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=7}] enderchest.7 with flint_and_steel{HideFlags:63,display:{Name:'[{"translate":"Fire","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.8 with emerald{HideFlags:63,display:{Name:'[{"text":"Emerald","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=8}] enderchest.8 with emerald{HideFlags:63,display:{Name:'[{"text":"Emerald","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.8 with emerald{HideFlags:63,display:{Name:'[{"translate":"Emerald","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=8}] enderchest.8 with emerald{HideFlags:63,display:{Name:'[{"translate":"Emerald","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.9 with white_concrete_powder{HideFlags:63,display:{Name:'[{"text":"Storm","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=9}] enderchest.9 with white_concrete_powder{HideFlags:63,display:{Name:'[{"text":"Storm","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.9 with white_concrete_powder{HideFlags:63,display:{Name:'[{"translate":"Storm","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=9}] enderchest.9 with white_concrete_powder{HideFlags:63,display:{Name:'[{"translate":"Storm","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.10 with ink_sac{HideFlags:63,display:{Name:'[{"text":"Ink","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=10}] enderchest.10 with ink_sac{HideFlags:63,display:{Name:'[{"text":"Ink","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.10 with ink_sac{HideFlags:63,display:{Name:'[{"translate":"Ink","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=10}] enderchest.10 with ink_sac{HideFlags:63,display:{Name:'[{"translate":"Ink","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.11 with potato{HideFlags:63,display:{Name:'[{"text":"Potatoes","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=11}] enderchest.11 with potato{HideFlags:63,display:{Name:'[{"text":"Potatoes","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Common","color":"dark_green","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.11 with potato{HideFlags:63,display:{Name:'[{"translate":"Potatoes","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=11}] enderchest.11 with potato{HideFlags:63,display:{Name:'[{"translate":"Potatoes","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Common","color":"dark_green","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.12 with iron_bars{bar:1,HideFlags:63,display:{Name:'[{"text":"Rainbow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_t_12] enderchest.12 with red_concrete{HideFlags:63,display:{Name:'[{"text":"Rainbow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=12}] enderchest.12 with red_concrete{HideFlags:63,display:{Name:'[{"text":"Rainbow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.12 with iron_bars{bar:1,HideFlags:63,display:{Name:'[{"translate":"Rainbow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_t_12] enderchest.12 with red_concrete{HideFlags:63,display:{Name:'[{"translate":"Rainbow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=12}] enderchest.12 with red_concrete{HideFlags:63,display:{Name:'[{"translate":"Rainbow","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.13 with iron_bars{bar:2,HideFlags:63,display:{Name:'[{"text":"Weeeeee!","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_t_13] enderchest.13 with cake{HideFlags:63,display:{Name:'[{"text":"Weeeeee!","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=13}] enderchest.13 with cake{HideFlags:63,display:{Name:'[{"text":"Weeeeee!","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.13 with iron_bars{bar:2,HideFlags:63,display:{Name:'[{"translate":"Weeeeee!","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_t_13] enderchest.13 with cake{HideFlags:63,display:{Name:'[{"translate":"Weeeeee!","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=13}] enderchest.13 with cake{HideFlags:63,display:{Name:'[{"translate":"Weeeeee!","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.14 with iron_bars{bar:3,HideFlags:63,display:{Name:'[{"text":"Red Plus","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_t_14] enderchest.14 with redstone{HideFlags:63,display:{Name:'[{"text":"Red Plus","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=14}] enderchest.14 with redstone{HideFlags:63,display:{Name:'[{"text":"Red Plus","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.14 with iron_bars{bar:3,HideFlags:63,display:{Name:'[{"translate":"Red Plus","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_t_14] enderchest.14 with redstone{HideFlags:63,display:{Name:'[{"translate":"Red Plus","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=14}] enderchest.14 with redstone{HideFlags:63,display:{Name:'[{"translate":"Red Plus","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.15 with iron_bars{bar:4,HideFlags:63,display:{Name:'[{"text":"Flame Bar","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_t_15] enderchest.15 with soul_lantern{HideFlags:63,display:{Name:'[{"text":"Flame Bar","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=15}] enderchest.15 with soul_lantern{HideFlags:63,display:{Name:'[{"text":"Flame Bar","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"Epic","color":"dark_purple","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.15 with iron_bars{bar:4,HideFlags:63,display:{Name:'[{"translate":"Flame Bar","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_t_15] enderchest.15 with soul_lantern{HideFlags:63,display:{Name:'[{"translate":"Flame Bar","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=15}] enderchest.15 with soul_lantern{HideFlags:63,display:{Name:'[{"translate":"Flame Bar","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"Epic","color":"dark_purple","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.16 with iron_bars{bar:5,HideFlags:63,display:{Name:'[{"text":"Melons","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_t_16] enderchest.16 with melon_slice{HideFlags:63,display:{Name:'[{"text":"Melons","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=16}] enderchest.16 with melon_slice{HideFlags:63,display:{Name:'[{"text":"Melons","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.16 with iron_bars{bar:5,HideFlags:63,display:{Name:'[{"translate":"Melons","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_t_16] enderchest.16 with melon_slice{HideFlags:63,display:{Name:'[{"translate":"Melons","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=16}] enderchest.16 with melon_slice{HideFlags:63,display:{Name:'[{"translate":"Melons","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.17 with iron_bars{bar:6,HideFlags:63,display:{Name:'[{"text":"Players","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Locked","color":"red","italic":false}]']},clickable:1} -item replace entity @s[tag=unlock_t_17] enderchest.17 with player_head{HideFlags:63,display:{Name:'[{"text":"Players","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} -item replace entity @s[scores={trident_effects=17}] enderchest.17 with player_head{SkullOwner:{Id:[I;-1972142756,-781105624,-1100736939,-2109347485],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2NkYTA0NzYyMzBlNjRhOTE3ZWMxY2YyNmRmOWI2OTZlMjcxNmVmZTk2YWUzNGI5NjY5YTZlYzUyNWJhYWEifX19"}]}},HideFlags:63,display:{Name:'[{"text":"Players","color":"yellow","italic":false,"bold":true}]',Lore:['[{"text":"LEGENDARY","color":"gold","italic":false}]','[{"text":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} +item replace entity @s enderchest.17 with iron_bars{bar:6,HideFlags:63,display:{Name:'[{"translate":"Players","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Locked","color":"red","italic":false}]']},clickable:1} +item replace entity @s[tag=unlock_t_17] enderchest.17 with player_head{HideFlags:63,display:{Name:'[{"translate":"Players","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]']},clickable:1} +item replace entity @s[scores={trident_effects=17}] enderchest.17 with player_head{SkullOwner:{Id:[I;-1972142756,-781105624,-1100736939,-2109347485],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2NkYTA0NzYyMzBlNjRhOTE3ZWMxY2YyNmRmOWI2OTZlMjcxNmVmZTk2YWUzNGI5NjY5YTZlYzUyNWJhYWEifX19"}]}},HideFlags:63,display:{Name:'[{"translate":"Players","color":"yellow","italic":false,"bold":true}]',Lore:['[{"translate":"LEGENDARY","color":"gold","italic":false}]','[{"translate":"Selected","color":"blue","italic":false}]']},clickable:1,Enchantments:[{id:"x",lvl:1}]} -item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"text":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file +item replace entity @s enderchest.18 with barrier{HideFlags:63,display:{Name:'[{"translate":"Back","color":"red","italic":false,"bold":true}]'},clickable:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_12.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_12.mcfunction index 6122d59..ad88a2d 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_12.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_12.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_d_12 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nDeath Message ","color":"red","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Hugged","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nDeath Message ","color":"red","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Hugged","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_13.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_13.mcfunction index 7a4d8ee..368f795 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_13.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_13.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_d_13 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nDeath Message ","color":"red","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Tried","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nDeath Message ","color":"red","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Tried","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_14.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_14.mcfunction index 540d6df..b815edc 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_14.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_14.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_d_14 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nDeath Message ","color":"red","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Medic","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nDeath Message ","color":"red","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Medic","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_15.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_15.mcfunction index 4488b00..acb1656 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_15.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_15.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_d_15 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nDeath Message ","color":"red","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Learned","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nDeath Message ","color":"red","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Learned","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_16.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_16.mcfunction index 3a68fa4..fb4372a 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_16.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_16.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_d_16 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"text":"\nDeath Message ","color":"red","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Forgot","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"translate":"\nDeath Message ","color":"red","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Forgot","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_17.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_17.mcfunction index 73886c8..5ad0c52 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_d_17.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_d_17.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_d_17 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"text":"\nDeath Message ","color":"red","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Lacked Stealth","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"translate":"\nDeath Message ","color":"red","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Lacked Stealth","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_12.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_12.mcfunction index 5b8ed09..06b95ee 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_12.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_12.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_m_12 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nLobby Mount ","color":"green","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Panda","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nLobby Mount ","color":"green","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Panda","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_13.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_13.mcfunction index de812f4..492cdae 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_13.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_13.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_m_13 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nLobby Mount ","color":"green","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Hoglin","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nLobby Mount ","color":"green","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Hoglin","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_14.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_14.mcfunction index 184e077..239b477 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_14.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_14.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_m_14 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nLobby Mount ","color":"green","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Jeb Sheep","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nLobby Mount ","color":"green","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Jeb Sheep","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_15.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_15.mcfunction index 3d54392..78d8b43 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_15.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_15.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_m_15 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nLobby Mount ","color":"green","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Phantom","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nLobby Mount ","color":"green","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Phantom","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_16.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_16.mcfunction index 5517b04..5eeeca7 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_16.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_16.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_m_16 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"text":"\nLobby Mount ","color":"green","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Stack of turtles","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"translate":"\nLobby Mount ","color":"green","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Stack of turtles","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_17.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_17.mcfunction index 38797a7..975b0ed 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_m_17.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_m_17.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_m_17 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"text":"\nLobby Mount ","color":"green","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Cloud","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"translate":"\nLobby Mount ","color":"green","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Cloud","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_12.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_12.mcfunction index e79af14..843b589 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_12.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_12.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_t_12 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nTrident Effect ","color":"gold","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Rainbow","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nTrident Effect ","color":"gold","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Rainbow","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_13.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_13.mcfunction index 590909c..c2833b5 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_13.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_13.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_t_13 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nTrident Effect ","color":"gold","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Weeeeee!","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nTrident Effect ","color":"gold","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Weeeeee!","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_14.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_14.mcfunction index 3c2fcce..ea973f7 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_14.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_14.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_t_14 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nTrident Effect ","color":"gold","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Red Plus","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nTrident Effect ","color":"gold","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Red Plus","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_15.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_15.mcfunction index af71f27..6deb229 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_15.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_15.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_t_15 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"text":"\nTrident Effect ","color":"gold","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Flame Bar","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked an EPIC cosmetic!","color":"dark_purple","bold":false},{"translate":"\nTrident Effect ","color":"gold","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Flame Bar","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_16.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_16.mcfunction index a680d47..d1d67c5 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_16.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_16.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_t_16 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"text":"\nTrident Effect ","color":"gold","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Melons","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"translate":"\nTrident Effect ","color":"gold","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Melons","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_17.mcfunction b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_17.mcfunction index d014860..2d0fa99 100644 --- a/datapacks/stealth_game/data/cosmetic/functions/unlock_t_17.mcfunction +++ b/datapacks/stealth_game/data/cosmetic/functions/unlock_t_17.mcfunction @@ -1,2 +1,2 @@ tag @s add unlock_t_17 -tellraw @s [{"text":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"text":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"text":"\nTrident Effect ","color":"gold","bold":true},{"text":"- ","color":"gray","bold":true},{"text":"Players","color":"yellow","bold":true},{"text":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file +tellraw @s [{"translate":"- - - - - - - - - - - - - - - - - - - - - - - - - - -","color":"gray","bold":true},{"translate":"\nYou have unlocked a LEGENDARY cosmetic!","color":"gold","bold":false},{"translate":"\nTrident Effect ","color":"gold","bold":true},{"translate":"- ","color":"gray","bold":true},{"translate":"Players","color":"yellow","bold":true},{"translate":"\nYou can select it inside the ender chest!","color":"gray","bold":false}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/credits/functions/show_text.mcfunction b/datapacks/stealth_game/data/credits/functions/show_text.mcfunction index 23a99ee..eefffef 100644 --- a/datapacks/stealth_game/data/credits/functions/show_text.mcfunction +++ b/datapacks/stealth_game/data/credits/functions/show_text.mcfunction @@ -1,56 +1,56 @@ -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=pl,distance=..0.5] run title @s title {"text":"FalconReign","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=hippeh,distance=..0.5] run title @s title {"text":"Connop","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=focii,distance=..0.5] run title @s title {"text":"Focii_","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=check,distance=..0.5] run title @s title {"text":"CheckMC","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=typs,distance=..0.5] run title @s title {"text":"TheTypicalMex","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=pl,distance=..0.5] run title @s title {"translate":"FalconReign","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=hippeh,distance=..0.5] run title @s title {"translate":"Connop","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=focii,distance=..0.5] run title @s title {"translate":"Focii_","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=check,distance=..0.5] run title @s title {"translate":"CheckMC","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=typs,distance=..0.5] run title @s title {"translate":"TheTypicalMex","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=pl,distance=..0.5] run title @s subtitle {"text":"Project Lead, Programmer, and Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=hippeh,distance=..0.5] run title @s subtitle {"text":"Senior Builder and Manager","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=focii,distance=..0.5] run title @s subtitle {"text":"Senior Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=check,distance=..0.5] run title @s subtitle {"text":"Senior Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=typs,distance=..0.5] run title @s subtitle {"text":"Senior Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=pl,distance=..0.5] run title @s subtitle {"translate":"Project Lead, Programmer, and Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=hippeh,distance=..0.5] run title @s subtitle {"translate":"Senior Builder and Manager","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=focii,distance=..0.5] run title @s subtitle {"translate":"Senior Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=check,distance=..0.5] run title @s subtitle {"translate":"Senior Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=typs,distance=..0.5] run title @s subtitle {"translate":"Senior Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_chip,distance=..0.5] run title @s title {"text":"ChipChase","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_regs,distance=..0.5] run title @s title {"text":"TheRegularMex","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_glytch,distance=..0.5] run title @s title {"text":"GlytchIsYes","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_calverin,distance=..0.5] run title @s title {"text":"Calverin","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_deemo,distance=..0.5] run title @s title {"text":"SmallDeemo","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_bodi,distance=..0.5] run title @s title {"text":"Bodi25","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_boppo,distance=..0.5] run title @s title {"text":"Boppo_","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_mark,distance=..0.5] run title @s title {"text":"TheRangerMark","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_owen,distance=..0.5] run title @s title {"text":"II_Owen_II","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_j70,distance=..0.5] run title @s title {"text":"J70","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_captain,distance=..0.5] run title @s title {"text":"Captonium","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_cheese,distance=..0.5] run title @s title {"text":"CheeseUnused","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_chip,distance=..0.5] run title @s title {"translate":"ChipChase","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_regs,distance=..0.5] run title @s title {"translate":"TheRegularMex","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_glytch,distance=..0.5] run title @s title {"translate":"GlytchIsYes","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_calverin,distance=..0.5] run title @s title {"translate":"Calverin","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_deemo,distance=..0.5] run title @s title {"translate":"SmallDeemo","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_bodi,distance=..0.5] run title @s title {"translate":"Bodi25","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_boppo,distance=..0.5] run title @s title {"translate":"Boppo_","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_mark,distance=..0.5] run title @s title {"translate":"TheRangerMark","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_owen,distance=..0.5] run title @s title {"translate":"II_Owen_II","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_j70,distance=..0.5] run title @s title {"translate":"J70","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_captain,distance=..0.5] run title @s title {"translate":"Captonium","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_cheese,distance=..0.5] run title @s title {"translate":"CheeseUnused","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_bagee,distance=..0.5] run title @s title {"text":"Bagee","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_pug,distance=..0.5] run title @s title {"text":"EdLePug","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_knad,distance=..0.5] run title @s title {"text":"admius","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_boba,distance=..0.5] run title @s title {"text":"BobaFate","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_beybwug,distance=..0.5] run title @s title {"text":"Beybwug","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_gus,distance=..0.5] run title @s title {"text":"pcgus","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_bagee,distance=..0.5] run title @s title {"translate":"Bagee","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_pug,distance=..0.5] run title @s title {"translate":"EdLePug","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_knad,distance=..0.5] run title @s title {"translate":"admius","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_boba,distance=..0.5] run title @s title {"translate":"BobaFate","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_beybwug,distance=..0.5] run title @s title {"translate":"Beybwug","color":"#9c9558"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_gus,distance=..0.5] run title @s title {"translate":"pcgus","color":"#9c9558"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_chip,distance=..0.5] run title @s subtitle {"text":"Senior Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_regs,distance=..0.5] run title @s subtitle {"text":"Builder, Voice Actor, & Trailer Maker","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_glytch,distance=..0.5] run title @s subtitle {"text":"Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_calverin,distance=..0.5] run title @s subtitle {"text":"Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_deemo,distance=..0.5] run title @s subtitle {"text":"Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_bodi,distance=..0.5] run title @s subtitle {"text":"Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_boppo,distance=..0.5] run title @s subtitle {"text":"Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_mark,distance=..0.5] run title @s subtitle {"text":"Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_owen,distance=..0.5] run title @s subtitle {"text":"Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_j70,distance=..0.5] run title @s subtitle {"text":"Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_captain,distance=..0.5] run title @s subtitle {"text":"Builder & Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_cheese,distance=..0.5] run title @s subtitle {"text":"Helper","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_chip,distance=..0.5] run title @s subtitle {"translate":"Senior Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_regs,distance=..0.5] run title @s subtitle {"translate":"Builder, Voice Actor, & Trailer Maker","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_glytch,distance=..0.5] run title @s subtitle {"translate":"Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_calverin,distance=..0.5] run title @s subtitle {"translate":"Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_deemo,distance=..0.5] run title @s subtitle {"translate":"Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_bodi,distance=..0.5] run title @s subtitle {"translate":"Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_boppo,distance=..0.5] run title @s subtitle {"translate":"Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_mark,distance=..0.5] run title @s subtitle {"translate":"Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_owen,distance=..0.5] run title @s subtitle {"translate":"Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_j70,distance=..0.5] run title @s subtitle {"translate":"Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_captain,distance=..0.5] run title @s subtitle {"translate":"Builder & Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_cheese,distance=..0.5] run title @s subtitle {"translate":"Helper","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_bagee,distance=..0.5] run title @s subtitle {"text":"Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_pug,distance=..0.5] run title @s subtitle {"text":"Artist & Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_knad,distance=..0.5] run title @s subtitle {"text":"Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_boba,distance=..0.5] run title @s subtitle {"text":"Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_beybwug,distance=..0.5] run title @s subtitle {"text":"Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_gus,distance=..0.5] run title @s subtitle {"text":"Voice Actor","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_bagee,distance=..0.5] run title @s subtitle {"translate":"Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_pug,distance=..0.5] run title @s subtitle {"translate":"Artist & Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_knad,distance=..0.5] run title @s subtitle {"translate":"Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_boba,distance=..0.5] run title @s subtitle {"translate":"Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_beybwug,distance=..0.5] run title @s subtitle {"translate":"Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_gus,distance=..0.5] run title @s subtitle {"translate":"Voice Actor","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_dan,distance=..0.5] run title @s subtitle {"text":"Builder","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_joel,distance=..0.5] run title @s subtitle {"text":"Helper","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_dan,distance=..0.5] run title @s title {"text":"TheTurtleDan","color":"white"} -execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_joel,distance=..0.5] run title @s title {"text":"Joelzoboyo","color":"white"} \ No newline at end of file +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_dan,distance=..0.5] run title @s subtitle {"translate":"Builder","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_joel,distance=..0.5] run title @s subtitle {"translate":"Helper","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_dan,distance=..0.5] run title @s title {"translate":"TheTurtleDan","color":"white"} +execute at @e[type=armor_stand,tag=show_details,sort=nearest,limit=1] if entity @e[type=armor_stand,tag=show_details,sort=nearest,limit=1,tag=credits_joel,distance=..0.5] run title @s title {"translate":"Joelzoboyo","color":"white"} \ No newline at end of file diff --git a/datapacks/stealth_game/data/end/functions/gladiators_win.mcfunction b/datapacks/stealth_game/data/end/functions/gladiators_win.mcfunction index cd3cfac..20f1345 100644 --- a/datapacks/stealth_game/data/end/functions/gladiators_win.mcfunction +++ b/datapacks/stealth_game/data/end/functions/gladiators_win.mcfunction @@ -5,8 +5,8 @@ scoreboard players set $winners calculate 0 execute as @a[tag=winner] at @s run scoreboard players add $winners calculate 1 team join gold @a[team=won] team join red @a[team=gladiator] -execute if score $winners calculate matches 2.. run tellraw @a [{"text":"Gladiators win!","color":"red"},{"text":"\nThe winners were: ","color":"#ba666a"},{"selector":"@a[tag=winner]"}] -execute if score $winners calculate matches ..1 run tellraw @a [{"text":"Gladiators win!","color":"red"},{"text":"\nThe winner was: ","color":"#ba666a"},{"selector":"@a[tag=winner]"}] +execute if score $winners calculate matches 2.. run tellraw @a [{"translate":"Gladiators win!","color":"red"},{"translate":"\nThe winners were: ","color":"#ba666a"},{"selector":"@a[tag=winner]"}] +execute if score $winners calculate matches ..1 run tellraw @a [{"translate":"Gladiators win!","color":"red"},{"translate":"\nThe winner was: ","color":"#ba666a"},{"selector":"@a[tag=winner]"}] advancement grant @a[tag=winner,tag=playing] only minecraft:custom/win_on_classic tag @a remove winner execute as @a at @s run playsound minecraft:entity.wither.death master @s ~ ~ ~ 1000000 0.75 diff --git a/datapacks/stealth_game/data/end/functions/insufficient_players.mcfunction b/datapacks/stealth_game/data/end/functions/insufficient_players.mcfunction index 8ccbd32..944c37d 100644 --- a/datapacks/stealth_game/data/end/functions/insufficient_players.mcfunction +++ b/datapacks/stealth_game/data/end/functions/insufficient_players.mcfunction @@ -1,3 +1,3 @@ -tellraw @a {"text":"Insufficient amount of players to complete the game.","color":"red"} +tellraw @a {"translate":"Insufficient amount of players to complete the game.","color":"red"} function end:players execute as @a at @s run playsound minecraft:block.note_block.flute master @s ~ ~ ~ 100000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/end/functions/players.mcfunction b/datapacks/stealth_game/data/end/functions/players.mcfunction index 9cb774b..b0cb413 100644 --- a/datapacks/stealth_game/data/end/functions/players.mcfunction +++ b/datapacks/stealth_game/data/end/functions/players.mcfunction @@ -30,5 +30,5 @@ scoreboard objectives setdisplay sidebar scoreboard players set $button pregame 5 -data modify entity @e[type=area_effect_cloud,tag=start_button_text,limit=1] CustomName set value '[{"text":"- ","color":"gray"},{"text":"🗡","color":"#9c9558","bold":true},{"text":" Start ","color":"gold"},{"text":"🗡","color":"#9c9558","bold":true},{"text":" -","color":"gray"}]' +data modify entity @e[type=area_effect_cloud,tag=start_button_text,limit=1] CustomName set value '[{"translate":"- ","color":"gray"},{"translate":"🗡","color":"#9c9558","bold":true},{"translate":" Start ","color":"gold"},{"translate":"🗡","color":"#9c9558","bold":true},{"translate":" -","color":"gray"}]' data modify entity @e[type=area_effect_cloud,tag=start_button_text,limit=1] CustomNameVisible set value 1b \ No newline at end of file diff --git a/datapacks/stealth_game/data/end/functions/sneakers_win.mcfunction b/datapacks/stealth_game/data/end/functions/sneakers_win.mcfunction index 7740022..a300377 100644 --- a/datapacks/stealth_game/data/end/functions/sneakers_win.mcfunction +++ b/datapacks/stealth_game/data/end/functions/sneakers_win.mcfunction @@ -2,8 +2,8 @@ scoreboard players set $winners calculate 0 # team join won @a[team=dead] execute as @a[team=won] at @s run scoreboard players add $winners calculate 1 team join gold @a[team=won] -execute if score $winners calculate matches 2.. run tellraw @a [{"text":"Runners win!\n","color":"dark_gray"},{"text":"The winners were: ","color":"gray"},{"selector":"@a[team=gold]"}] -execute if score $winners calculate matches ..1 run tellraw @a [{"text":"Runners win!\n","color":"dark_gray"},{"text":"The winner was: ","color":"gray"},{"selector":"@a[team=gold]"}] +execute if score $winners calculate matches 2.. run tellraw @a [{"translate":"Runners win!\n","color":"dark_gray"},{"translate":"The winners were: ","color":"gray"},{"selector":"@a[team=gold]"}] +execute if score $winners calculate matches ..1 run tellraw @a [{"translate":"Runners win!\n","color":"dark_gray"},{"translate":"The winner was: ","color":"gray"},{"selector":"@a[team=gold]"}] advancement grant @a[team=gold,tag=playing] only minecraft:custom/win_on_classic execute as @a at @s run playsound minecraft:ui.toast.challenge_complete master @s ~ ~ ~ 1 2 tag @a[tag=playing] add potential_cosmetic diff --git a/datapacks/stealth_game/data/game/functions/animation/1.mcfunction b/datapacks/stealth_game/data/game/functions/animation/1.mcfunction index fe0035c..f61e62d 100644 --- a/datapacks/stealth_game/data/game/functions/animation/1.mcfunction +++ b/datapacks/stealth_game/data/game/functions/animation/1.mcfunction @@ -1,2 +1,2 @@ -title @a[tag=playing] title [{"text":"1","color":"#c5c3b4","bold":true}] +title @a[tag=playing] title [{"translate":"1","color":"#c5c3b4","bold":true}] execute as @a[tag=playing] at @s run playsound minecraft:entity.arrow.hit master @s ~ ~ ~ 1000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/animation/2.mcfunction b/datapacks/stealth_game/data/game/functions/animation/2.mcfunction index cc14e6c..c2e47ab 100644 --- a/datapacks/stealth_game/data/game/functions/animation/2.mcfunction +++ b/datapacks/stealth_game/data/game/functions/animation/2.mcfunction @@ -1,2 +1,2 @@ -title @a[tag=playing] title [{"text":"2","color":"#b2af96","bold":true}] +title @a[tag=playing] title [{"translate":"2","color":"#b2af96","bold":true}] execute as @a[tag=playing] at @s run playsound minecraft:entity.arrow.hit master @s ~ ~ ~ 1000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/animation/3.mcfunction b/datapacks/stealth_game/data/game/functions/animation/3.mcfunction index 753f59f..a10009f 100644 --- a/datapacks/stealth_game/data/game/functions/animation/3.mcfunction +++ b/datapacks/stealth_game/data/game/functions/animation/3.mcfunction @@ -1,2 +1,2 @@ -title @a[tag=playing] title [{"text":"3","color":"#b2ae88","bold":true}] +title @a[tag=playing] title [{"translate":"3","color":"#b2ae88","bold":true}] execute as @a[tag=playing] at @s run playsound minecraft:entity.arrow.hit master @s ~ ~ ~ 1000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/animation/4.mcfunction b/datapacks/stealth_game/data/game/functions/animation/4.mcfunction index fb2a52c..1f84301 100644 --- a/datapacks/stealth_game/data/game/functions/animation/4.mcfunction +++ b/datapacks/stealth_game/data/game/functions/animation/4.mcfunction @@ -1,2 +1,2 @@ -title @a[tag=playing] title [{"text":"4","color":"#b2ac79","bold":true}] +title @a[tag=playing] title [{"translate":"4","color":"#b2ac79","bold":true}] execute as @a[tag=playing] at @s run playsound minecraft:entity.arrow.hit master @s ~ ~ ~ 1000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/animation/5.mcfunction b/datapacks/stealth_game/data/game/functions/animation/5.mcfunction index f616907..9d6608f 100644 --- a/datapacks/stealth_game/data/game/functions/animation/5.mcfunction +++ b/datapacks/stealth_game/data/game/functions/animation/5.mcfunction @@ -1,2 +1,2 @@ -title @a[tag=playing] title [{"text":"5","color":"#b0a96a","bold":true}] +title @a[tag=playing] title [{"translate":"5","color":"#b0a96a","bold":true}] execute as @a[tag=playing] at @s run playsound minecraft:entity.arrow.hit master @s ~ ~ ~ 1000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/animation/go.mcfunction b/datapacks/stealth_game/data/game/functions/animation/go.mcfunction index 4e2a3c5..e589afa 100644 --- a/datapacks/stealth_game/data/game/functions/animation/go.mcfunction +++ b/datapacks/stealth_game/data/game/functions/animation/go.mcfunction @@ -1,4 +1,4 @@ -title @a[tag=playing] title [{"text":"Go!","color":"#f9f0a2","bold":true,"underlined":false}] +title @a[tag=playing] title [{"translate":"Go!","color":"#f9f0a2","bold":true,"underlined":false}] execute as @a[tag=playing] at @s run playsound minecraft:entity.arrow.hit master @s ~ ~ ~ 1000 0 execute as @a[tag=playing] at @s run playsound minecraft:entity.arrow.hit master @s ~ ~ ~ 1000 0.75 execute as @a[tag=playing] at @s run playsound minecraft:entity.arrow.hit master @s ~ ~ ~ 1000 1 diff --git a/datapacks/stealth_game/data/game/functions/animation/lock_position.mcfunction b/datapacks/stealth_game/data/game/functions/animation/lock_position.mcfunction index 387e8d3..50da901 100644 --- a/datapacks/stealth_game/data/game/functions/animation/lock_position.mcfunction +++ b/datapacks/stealth_game/data/game/functions/animation/lock_position.mcfunction @@ -1,9 +1,9 @@ execute positioned 1021 153 -35 run tp @a[team=sneaker,distance=0.05..] 1021 152 -35 execute positioned 1021 162 75 run tp @a[team=gladiator,distance=0.05..] 1021 162 75 scoreboard players remove $time side_animation 1 -execute if score $time side_animation matches 2 run scoreboard objectives modify points displayname [{"text":"|","color":"red"},{"text":" • ","color":"yellow","bold":false},{"text":"POINTS","color":"gold","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"|","color":"red"}] -execute if score $time side_animation matches 4 run scoreboard objectives modify points displayname [{"text":"/","color":"red"},{"text":" • ","color":"yellow","bold":false},{"text":"POINTS","color":"gold","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"\\","color":"red"}] -execute if score $time side_animation matches 6 run scoreboard objectives modify points displayname [{"text":"-","color":"red","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"POINTS","color":"gold","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"-","color":"red","bold":true}] +execute if score $time side_animation matches 2 run scoreboard objectives modify points displayname [{"translate":"|","color":"red"},{"translate":" • ","color":"yellow","bold":false},{"translate":"POINTS","color":"gold","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"|","color":"red"}] +execute if score $time side_animation matches 4 run scoreboard objectives modify points displayname [{"translate":"/","color":"red"},{"translate":" • ","color":"yellow","bold":false},{"translate":"POINTS","color":"gold","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"\\","color":"red"}] +execute if score $time side_animation matches 6 run scoreboard objectives modify points displayname [{"translate":"-","color":"red","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"POINTS","color":"gold","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"-","color":"red","bold":true}] execute if score $time side_animation matches 0 run function game:gameplay/rotation/update_points_sidebar execute as @a[team=sneaker] at @s unless entity @s[nbt={Inventory:[{Slot:0b,id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:10}}]}] run function game:class/pregame/get_brawler diff --git a/datapacks/stealth_game/data/game/functions/class/alchemist/cooldown.mcfunction b/datapacks/stealth_game/data/game/functions/class/alchemist/cooldown.mcfunction index fbc51b4..700cea5 100644 --- a/datapacks/stealth_game/data/game/functions/class/alchemist/cooldown.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/alchemist/cooldown.mcfunction @@ -3,4 +3,4 @@ execute as @a[tag=playing,team=sneaker,scores={blind_cooldown=0}] at @s run func execute as @a[tag=playing,team=sneaker,scores={blind_cooldown=1..}] at @s run scoreboard players operation @s display_cooldown = @s blind_cooldown execute as @a[tag=playing,team=sneaker,scores={blind_cooldown=1..}] at @s run scoreboard players operation @s display_cooldown /= 20 number scoreboard players add @a[tag=playing,team=sneaker,scores={blind_cooldown=1..}] display_cooldown 1 -execute as @a[tag=playing,team=sneaker,scores={blind_cooldown=1..,alchemist_limit=1..}] run title @s actionbar [{"text":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"text":"]","color":"gold","bold":true}] \ No newline at end of file +execute as @a[tag=playing,team=sneaker,scores={blind_cooldown=1..,alchemist_limit=1..}] run title @s actionbar [{"translate":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"translate":"]","color":"gold","bold":true}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/alchemist/cooldown_over.mcfunction b/datapacks/stealth_game/data/game/functions/class/alchemist/cooldown_over.mcfunction index a36068d..e404c50 100644 --- a/datapacks/stealth_game/data/game/functions/class/alchemist/cooldown_over.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/alchemist/cooldown_over.mcfunction @@ -1,3 +1,3 @@ scoreboard players reset @s blind_cooldown -item replace entity @s hotbar.0 with snowball{HideFlags:63,display:{Name:'[{"text":"Smoke Bomb","color":"#6c6c6c","italic":false}]',Lore:['[{"text":"Throw at a gladiator to blind them.","color":"dark_gray"}]']}} +item replace entity @s hotbar.0 with snowball{HideFlags:63,display:{Name:'[{"translate":"Smoke Bomb","color":"#6c6c6c","italic":false}]',Lore:['[{"translate":"Throw at a gladiator to blind them.","color":"dark_gray"}]']}} title @s actionbar " " \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/alchemist/drop_snowball.mcfunction b/datapacks/stealth_game/data/game/functions/class/alchemist/drop_snowball.mcfunction index fb4352e..0b5d36a 100644 --- a/datapacks/stealth_game/data/game/functions/class/alchemist/drop_snowball.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/alchemist/drop_snowball.mcfunction @@ -1,4 +1,4 @@ kill @e[type=item,nbt={Item:{id:"minecraft:snowball"}}] clear @s snowball -give @s snowball{HideFlags:63,display:{Name:'[{"text":"Smoke Bomb","color":"#6c6c6c","italic":false}]',Lore:['[{"text":"Throw at a gladiator to blind them.","color":"dark_gray"}]']}} +give @s snowball{HideFlags:63,display:{Name:'[{"translate":"Smoke Bomb","color":"#6c6c6c","italic":false}]',Lore:['[{"translate":"Throw at a gladiator to blind them.","color":"dark_gray"}]']}} scoreboard players reset @s drop_snowball \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/alchemist/hit.mcfunction b/datapacks/stealth_game/data/game/functions/class/alchemist/hit.mcfunction index aa9563b..5696eb0 100644 --- a/datapacks/stealth_game/data/game/functions/class/alchemist/hit.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/alchemist/hit.mcfunction @@ -1,5 +1,5 @@ effect give @s blindness 5 255 particle smoke ~ ~.5 ~ 2 2 2 0.5 100 normal @s playsound minecraft:entity.illusioner.prepare_blindness master @s ~ ~ ~ 10000 2 -tellraw @a[tag=playing] {"text":"A gladiator has been blinded!","color":"#6e4891"} +tellraw @a[tag=playing] {"translate":"A gladiator has been blinded!","color":"#6e4891"} playsound minecraft:entity.illusioner.mirror_move master @a[tag=playing] ~ ~ ~ 10000 1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/alchemist/use_snowball.mcfunction b/datapacks/stealth_game/data/game/functions/class/alchemist/use_snowball.mcfunction index 10674c7..26e3397 100644 --- a/datapacks/stealth_game/data/game/functions/class/alchemist/use_snowball.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/alchemist/use_snowball.mcfunction @@ -8,5 +8,5 @@ tag @e[type=snowball,tag=alchemist_snowball] add die # removing limit scoreboard players remove @s alchemist_limit 1 -tellraw @s[scores={alchemist_limit=1..}] [{"text":"You have ","color":"gray"},{"score":{"objective":"alchemist_limit","name":"@s"},"color":"gold","bold":true},{"text":" smoke bombs","color":"dark_gray"},{"text":" remaining.","color":"gray"}] -tellraw @s[scores={alchemist_limit=0}] [{"text":"You are now out of ","color":"gray"},{"text":"smoke bombs","color":"dark_gray"},{"text":".","color":"gray"}] \ No newline at end of file +tellraw @s[scores={alchemist_limit=1..}] [{"translate":"You have ","color":"gray"},{"score":{"objective":"alchemist_limit","name":"@s"},"color":"gold","bold":true},{"translate":" smoke bombs","color":"dark_gray"},{"translate":" remaining.","color":"gray"}] +tellraw @s[scores={alchemist_limit=0}] [{"translate":"You are now out of ","color":"gray"},{"translate":"smoke bombs","color":"dark_gray"},{"translate":".","color":"gray"}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/arbalist/get_crossbow.mcfunction b/datapacks/stealth_game/data/game/functions/class/arbalist/get_crossbow.mcfunction index fa46594..cd391bc 100644 --- a/datapacks/stealth_game/data/game/functions/class/arbalist/get_crossbow.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/arbalist/get_crossbow.mcfunction @@ -1,3 +1,3 @@ clear @s crossbow kill @e[type=item,nbt={Item:{id:"minecraft:crossbow"}}] -item replace entity @a[team=gladiator,tag=playing,scores={g_class=4}] hotbar.3 with crossbow{ChargedProjectiles:[{id:"minecraft:arrow",Count:1b}],Charged:1b,display:{Name:'{"text":"Loaded Crossbow","color":"red","italic":false}'},HideFlags:63} 1 \ No newline at end of file +item replace entity @a[team=gladiator,tag=playing,scores={g_class=4}] hotbar.3 with crossbow{ChargedProjectiles:[{id:"minecraft:arrow",Count:1b}],Charged:1b,display:{Name:'{"translate":"Loaded Crossbow","color":"red","italic":false}'},HideFlags:63} 1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/arbalist/main.mcfunction b/datapacks/stealth_game/data/game/functions/class/arbalist/main.mcfunction index 979695c..aa04c4d 100644 --- a/datapacks/stealth_game/data/game/functions/class/arbalist/main.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/arbalist/main.mcfunction @@ -1,7 +1,7 @@ execute as @a[team=gladiator,scores={arbalist_arrow=1..,g_class=4},nbt={Inventory:[{id:"minecraft:crossbow",tag:{Damage:1}}]}] run function game:class/arbalist/shoot kill @e[type=arrow,nbt={inGround:1b}] execute as @a[team=gladiator,scores={arbalist_arrow=1..,g_class=4}] at @s unless entity @s[nbt={Inventory:[{Slot:3b,id:"minecraft:crossbow"}]}] run function game:class/arbalist/get_crossbow -execute as @a[team=gladiator,scores={g_class=4}] run title @s actionbar [{"text":"Arrow Count: ","color":"red"},{"score":{"objective":"arbalist_arrow","name":"@s"}}] +execute as @a[team=gladiator,scores={g_class=4}] run title @s actionbar [{"translate":"Arrow Count: ","color":"red"},{"score":{"objective":"arbalist_arrow","name":"@s"}}] execute as @a[team=gladiator,tag=playing,advancements={game:arbalist_kill=true}] at @s run function game:class/arbalist/get_kill \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/brawler/get_kb_item.mcfunction b/datapacks/stealth_game/data/game/functions/class/brawler/get_kb_item.mcfunction index 8b6c7c8..22f6c25 100644 --- a/datapacks/stealth_game/data/game/functions/class/brawler/get_kb_item.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/brawler/get_kb_item.mcfunction @@ -1,11 +1,11 @@ clear @s stone_button kill @e[type=item,nbt={Item:{id:"minecraft:stone_button"}}] -item replace entity @s hotbar.0 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} -item replace entity @s hotbar.1 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} -item replace entity @s hotbar.2 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} -item replace entity @s hotbar.3 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} -item replace entity @s hotbar.4 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} -item replace entity @s hotbar.5 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} -item replace entity @s hotbar.6 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} -item replace entity @s hotbar.7 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} -item replace entity @s hotbar.8 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"text":" "}'},HideFlags:63} \ No newline at end of file +item replace entity @s hotbar.0 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} +item replace entity @s hotbar.1 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} +item replace entity @s hotbar.2 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} +item replace entity @s hotbar.3 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} +item replace entity @s hotbar.4 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} +item replace entity @s hotbar.5 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} +item replace entity @s hotbar.6 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} +item replace entity @s hotbar.7 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} +item replace entity @s hotbar.8 with minecraft:stone_button{CustomModelData:1,Enchantments:[{id:"knockback",lvl:2}],display:{Name:'{"translate":" "}'},HideFlags:63} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/foreseer/cooldown.mcfunction b/datapacks/stealth_game/data/game/functions/class/foreseer/cooldown.mcfunction index 2f52bdc..48a0ba4 100644 --- a/datapacks/stealth_game/data/game/functions/class/foreseer/cooldown.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/foreseer/cooldown.mcfunction @@ -5,7 +5,7 @@ scoreboard players remove @a[team=gladiator,tag=playing,scores={g_class=6,forese execute as @a[scores={foreseer_cool=1..},tag=playing] at @s run scoreboard players operation @s display_cooldown = @s foreseer_cool execute as @a[scores={foreseer_cool=1..},tag=playing] at @s run scoreboard players operation @s display_cooldown /= 20 number scoreboard players add @a[scores={foreseer_cool=1..},tag=playing] display_cooldown 1 -execute as @a[scores={foreseer_cool=1..},tag=playing] run title @s actionbar [{"text":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"text":"]","color":"gold","bold":true}] +execute as @a[scores={foreseer_cool=1..},tag=playing] run title @s actionbar [{"translate":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"translate":"]","color":"gold","bold":true}] # cooldown execute as @a[tag=playing,team=gladiator,scores={foreseer_cool=0}] at @s run function game:class/foreseer/cooldown_over \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/foreseer/get_arrow.mcfunction b/datapacks/stealth_game/data/game/functions/class/foreseer/get_arrow.mcfunction index 32945a4..ea3e1ef 100644 --- a/datapacks/stealth_game/data/game/functions/class/foreseer/get_arrow.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/foreseer/get_arrow.mcfunction @@ -1,4 +1,4 @@ # called to give the arrow clear @s spectral_arrow kill @e[type=item,nbt={Item:{id:"minecraft:spectral_arrow"}}] -item replace entity @s hotbar.8 with spectral_arrow{display:{Name:'[{"text":"Arrow","color":"gold","italic":false}]'}} \ No newline at end of file +item replace entity @s hotbar.8 with spectral_arrow{display:{Name:'[{"translate":"Arrow","color":"gold","italic":false}]'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/foreseer/get_bow.mcfunction b/datapacks/stealth_game/data/game/functions/class/foreseer/get_bow.mcfunction index 9a8576d..c4c89b9 100644 --- a/datapacks/stealth_game/data/game/functions/class/foreseer/get_bow.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/foreseer/get_bow.mcfunction @@ -1,3 +1,3 @@ clear @s bow kill @e[type=item,nbt={Item:{id:"minecraft:bow"}}] -item replace entity @s hotbar.3 with bow{display:{Name:'[{"text":"Bow","color":"green","italic":false}]'},Unbreakable:1b,HideFlags:63} +item replace entity @s hotbar.3 with bow{display:{Name:'[{"translate":"Bow","color":"green","italic":false}]'},Unbreakable:1b,HideFlags:63} diff --git a/datapacks/stealth_game/data/game/functions/class/jumper/jump.mcfunction b/datapacks/stealth_game/data/game/functions/class/jumper/jump.mcfunction index c3644ce..b9540e9 100644 --- a/datapacks/stealth_game/data/game/functions/class/jumper/jump.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/jumper/jump.mcfunction @@ -14,4 +14,4 @@ effect clear @s jump_boost # clearing action bar -title @s actionbar [{"text":""}] \ No newline at end of file +title @s actionbar [{"translate":""}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/jumper/main.mcfunction b/datapacks/stealth_game/data/game/functions/class/jumper/main.mcfunction index 084f4a6..6dfe00c 100644 --- a/datapacks/stealth_game/data/game/functions/class/jumper/main.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/jumper/main.mcfunction @@ -10,4 +10,4 @@ execute as @a[team=sneaker,tag=playing,scores={r_class=6,jump_charge=7..}] at @s execute as @a[team=sneaker,tag=playing,scores={r_class=6,jumper_jump=1..}] at @s run function game:class/jumper/jump # displaying jumper level -execute as @a[team=sneaker,tag=playing,scores={r_class=6}] at @s run title @s actionbar [{"text":"[","color":"gold","bold":true},{"score":{"objective":"jump_level","name":"@s"},"bold":false,"color":"green"},{"text":"]","color":"gold","bold":true}] \ No newline at end of file +execute as @a[team=sneaker,tag=playing,scores={r_class=6}] at @s run title @s actionbar [{"translate":"[","color":"gold","bold":true},{"score":{"objective":"jump_level","name":"@s"},"bold":false,"color":"green"},{"translate":"]","color":"gold","bold":true}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/locator/cooldown.mcfunction b/datapacks/stealth_game/data/game/functions/class/locator/cooldown.mcfunction index 3434324..6d3edb9 100644 --- a/datapacks/stealth_game/data/game/functions/class/locator/cooldown.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/locator/cooldown.mcfunction @@ -4,4 +4,4 @@ kill @e[type=item,nbt={Item:{id:"minecraft:compass"}}] execute as @a[scores={locator=1..},tag=playing] at @s run scoreboard players operation @s display_cooldown = @s locator execute as @a[scores={locator=1..},tag=playing] at @s run scoreboard players operation @s display_cooldown /= 20 number scoreboard players add @a[scores={locator=1..},tag=playing] display_cooldown 1 -execute as @a[scores={locator=1..},tag=playing] run title @s actionbar [{"text":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"text":"]","color":"gold","bold":true}] \ No newline at end of file +execute as @a[scores={locator=1..},tag=playing] run title @s actionbar [{"translate":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"translate":"]","color":"gold","bold":true}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/locator/get_item.mcfunction b/datapacks/stealth_game/data/game/functions/class/locator/get_item.mcfunction index 6228727..3625f97 100644 --- a/datapacks/stealth_game/data/game/functions/class/locator/get_item.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/locator/get_item.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:6} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:6}}}] -item replace entity @a[tag=playing,team=gladiator,scores={g_class=2}] hotbar.3 with carrot_on_a_stick{CustomModelData:6,display:{Name:'[{"text":"Click to see the location of the nearest runner.","color":"#b1a370","italic":false}]'}} +item replace entity @a[tag=playing,team=gladiator,scores={g_class=2}] hotbar.3 with carrot_on_a_stick{CustomModelData:6,display:{Name:'[{"translate":"Click to see the location of the nearest runner.","color":"#b1a370","italic":false}]'}} playsound minecraft:block.iron_trapdoor.close master @s ~ ~ ~ 100 2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/locator/track.mcfunction b/datapacks/stealth_game/data/game/functions/class/locator/track.mcfunction index 95c7893..280767a 100644 --- a/datapacks/stealth_game/data/game/functions/class/locator/track.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/locator/track.mcfunction @@ -2,12 +2,12 @@ scoreboard players reset @s right_click clear @s carrot_on_a_stick{CustomModelData:6} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:6}}}] data remove block 0 0 0 Items[] -data modify block 0 0 0 Items[] set value {id:"minecraft:compass",Count:1b,tag:{LodestoneTracked:0b,LodestoneDimension:"minecraft:overworld",LodestonePos:{X:0,Y:0,Z:0},display:{Name:'[{"text":"Pointing to a runner\'s location at time of use.","color":"gold","italic":false}]'}}} +data modify block 0 0 0 Items[] set value {id:"minecraft:compass",Count:1b,tag:{LodestoneTracked:0b,LodestoneDimension:"minecraft:overworld",LodestonePos:{X:0,Y:0,Z:0},display:{Name:'[{"translate":"Pointing to a runner\'s location at time of use.","color":"gold","italic":false}]'}}} execute store result block 0 0 0 Items[0].tag.LodestonePos.X int 1 run data get entity @p[tag=playing,team=sneaker,gamemode=adventure] Pos[0] execute store result block 0 0 0 Items[0].tag.LodestonePos.Y int 1 run data get entity @p[tag=playing,team=sneaker,gamemode=adventure] Pos[1] execute store result block 0 0 0 Items[0].tag.LodestonePos.Z int 1 run data get entity @p[tag=playing,team=sneaker,gamemode=adventure] Pos[2] loot replace entity @s hotbar.3 1 mine 0 0 0 stone{drop_contents:true} scoreboard players set @s locator 700 -# tellraw @p[tag=playing,team=sneaker,gamemode=adventure] {"text":"The gladiator has tracked your location! Reposition yourself!","color":"dark_red"} +# tellraw @p[tag=playing,team=sneaker,gamemode=adventure] {"translate":"The gladiator has tracked your location! Reposition yourself!","color":"dark_red"} # execute as @p[tag=playing,team=sneaker,gamemode=adventure] at @s run playsound minecraft:entity.zombie.death master @s ~ ~ ~ 1 0 # playsound minecraft:block.iron_trapdoor.close master @s ~ ~ ~ 100 2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/medic/main.mcfunction b/datapacks/stealth_game/data/game/functions/class/medic/main.mcfunction index 85605ae..9341b73 100644 --- a/datapacks/stealth_game/data/game/functions/class/medic/main.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/medic/main.mcfunction @@ -2,8 +2,8 @@ execute if entity @a[team=sneaker,tag=!used_revive,scores={r_class=4}] if entity execute as @a[team=sneaker,tag=using_revive,scores={r_class=4}] at @s unless entity @e[tag=revive_spot,type=area_effect_cloud,distance=..2] run tag @s remove using_revive scoreboard players add $time heartbeat 1 execute if score $time heartbeat matches 10 run scoreboard players set $time heartbeat 0 -execute if score $time heartbeat matches 1 as @a[team=sneaker,tag=!used_revive,scores={r_class=4,revives=2..},gamemode=adventure] at @s unless entity @e[type=area_effect_cloud,scores={revive_timer=1..},distance=..2] run title @s actionbar [{"text":"❤","color":"red"},{"text":" ","color":"red"},{"text":"❤","color":"red"}] -execute if score $time heartbeat matches 6 as @a[team=sneaker,tag=!used_revive,scores={r_class=4,revives=2..},gamemode=adventure] at @s unless entity @e[type=area_effect_cloud,scores={revive_timer=1..},distance=..2] run title @s actionbar [{"text":"♥","color":"red"},{"text":" ","color":"red"},{"text":"♥","color":"red"}] -execute if score $time heartbeat matches 1 as @a[team=sneaker,tag=!used_revive,scores={r_class=4,revives=1},gamemode=adventure] at @s unless entity @e[type=area_effect_cloud,scores={revive_timer=1..},distance=..2] run title @s actionbar [{"text":"❤","color":"red"}] -execute if score $time heartbeat matches 6 as @a[team=sneaker,tag=!used_revive,scores={r_class=4,revives=1},gamemode=adventure] at @s unless entity @e[type=area_effect_cloud,scores={revive_timer=1..},distance=..2] run title @s actionbar [{"text":"♥","color":"red"}] -execute as @a[team=sneaker,tag=used_revive,scores={r_class=4}] at @s run title @s actionbar [{"text":"♥","color":"dark_gray"}] +execute if score $time heartbeat matches 1 as @a[team=sneaker,tag=!used_revive,scores={r_class=4,revives=2..},gamemode=adventure] at @s unless entity @e[type=area_effect_cloud,scores={revive_timer=1..},distance=..2] run title @s actionbar [{"translate":"❤","color":"red"},{"translate":" ","color":"red"},{"translate":"❤","color":"red"}] +execute if score $time heartbeat matches 6 as @a[team=sneaker,tag=!used_revive,scores={r_class=4,revives=2..},gamemode=adventure] at @s unless entity @e[type=area_effect_cloud,scores={revive_timer=1..},distance=..2] run title @s actionbar [{"translate":"♥","color":"red"},{"translate":" ","color":"red"},{"translate":"♥","color":"red"}] +execute if score $time heartbeat matches 1 as @a[team=sneaker,tag=!used_revive,scores={r_class=4,revives=1},gamemode=adventure] at @s unless entity @e[type=area_effect_cloud,scores={revive_timer=1..},distance=..2] run title @s actionbar [{"translate":"❤","color":"red"}] +execute if score $time heartbeat matches 6 as @a[team=sneaker,tag=!used_revive,scores={r_class=4,revives=1},gamemode=adventure] at @s unless entity @e[type=area_effect_cloud,scores={revive_timer=1..},distance=..2] run title @s actionbar [{"translate":"♥","color":"red"}] +execute as @a[team=sneaker,tag=used_revive,scores={r_class=4}] at @s run title @s actionbar [{"translate":"♥","color":"dark_gray"}] diff --git a/datapacks/stealth_game/data/game/functions/class/medic/revived.mcfunction b/datapacks/stealth_game/data/game/functions/class/medic/revived.mcfunction index d3a69ee..1242cb6 100644 --- a/datapacks/stealth_game/data/game/functions/class/medic/revived.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/medic/revived.mcfunction @@ -1,14 +1,14 @@ clear @s effect clear @s team join red -tellraw @a[tag=playing] [{"selector":"@s"},{"text":" has been revived! ","color":"gold"},{"text":"They are now ","color":"gray"},{"text":"soul","color":"red"},{"text":"-","color":"gray"},{"text":"linked","color":"red"},{"text":" to ","color":"gray"},{"selector":"@a[scores={r_class=4,revive_crouch=1..},tag=playing,gamemode=adventure,team=sneaker,distance=..2,tag=using_revive]"}] +tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" has been revived! ","color":"gold"},{"translate":"They are now ","color":"gray"},{"translate":"soul","color":"red"},{"translate":"-","color":"gray"},{"translate":"linked","color":"red"},{"translate":" to ","color":"gray"},{"selector":"@a[scores={r_class=4,revive_crouch=1..},tag=playing,gamemode=adventure,team=sneaker,distance=..2,tag=using_revive]"}] gamemode adventure @s team join sneaker effect give @s invisibility 1000000 255 true effect give @s regeneration 100000 255 true scoreboard players set @s r_class 0 tp @s ~ ~0.5 ~ -tellraw @s {"text":"You have been revived! From this moment on, you have no class. Good luck!","color":"red"} +tellraw @s {"translate":"You have been revived! From this moment on, you have no class. Good luck!","color":"red"} execute at @s run playsound minecraft:entity.zombie.infect master @s ~ ~ ~ 1000 0 effect give @s invisibility 100000 255 true diff --git a/datapacks/stealth_game/data/game/functions/class/medic/update_actionbar.mcfunction b/datapacks/stealth_game/data/game/functions/class/medic/update_actionbar.mcfunction index 51baa50..289bbca 100644 --- a/datapacks/stealth_game/data/game/functions/class/medic/update_actionbar.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/medic/update_actionbar.mcfunction @@ -1,15 +1,15 @@ -execute if entity @s[scores={revive_timer=1}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛⬛⬛⬛⬛⬛","color":"dark_gray"}] -execute if entity @s[scores={revive_timer=20}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛","color":"red"},{"text":"⬛⬛⬛⬛⬛⬛⬛","color":"dark_gray"}] -execute if entity @s[scores={revive_timer=40}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛","color":"red"},{"text":"⬛⬛⬛⬛⬛⬛","color":"dark_gray"}] -execute if entity @s[scores={revive_timer=60}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛","color":"red"},{"text":"⬛⬛⬛⬛⬛","color":"dark_gray"}] -execute if entity @s[scores={revive_timer=80}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛⬛","color":"red"},{"text":"⬛⬛⬛⬛","color":"dark_gray"}] -execute if entity @s[scores={revive_timer=100}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛⬛⬛","color":"red"},{"text":"⬛⬛⬛","color":"dark_gray"}] -execute if entity @s[scores={revive_timer=120}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛⬛⬛⬛","color":"red"},{"text":"⬛⬛","color":"dark_gray"}] -execute if entity @s[scores={revive_timer=140}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛⬛⬛⬛⬛","color":"red"},{"text":"⬛","color":"dark_gray"}] -execute if entity @s[scores={revive_timer=160}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛⬛⬛⬛⬛⬛","color":"red"},{"text":"","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=1}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛⬛⬛⬛⬛⬛","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=20}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛","color":"red"},{"translate":"⬛⬛⬛⬛⬛⬛⬛","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=40}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛","color":"red"},{"translate":"⬛⬛⬛⬛⬛⬛","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=60}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛","color":"red"},{"translate":"⬛⬛⬛⬛⬛","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=80}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛⬛","color":"red"},{"translate":"⬛⬛⬛⬛","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=100}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛⬛⬛","color":"red"},{"translate":"⬛⬛⬛","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=120}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛⬛⬛⬛","color":"red"},{"translate":"⬛⬛","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=140}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛⬛⬛⬛⬛","color":"red"},{"translate":"⬛","color":"dark_gray"}] +execute if entity @s[scores={revive_timer=160}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛⬛⬛⬛⬛⬛","color":"red"},{"translate":"","color":"dark_gray"}] ##to add two seconds add two squares to each above title -##execute if entity @s[scores={revive_timer=180}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛⬛⬛⬛⬛⬛⬛","color":"red"},{"text":"⬛","color":"dark_gray"}] -##execute if entity @s[scores={revive_timer=200}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"text":"⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛","color":"red"}] +##execute if entity @s[scores={revive_timer=180}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛⬛⬛⬛⬛⬛⬛","color":"red"},{"translate":"⬛","color":"dark_gray"}] +##execute if entity @s[scores={revive_timer=200}] run title @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] actionbar [{"translate":"⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛","color":"red"}] execute if entity @s[scores={revive_timer=1}] as @a[team=sneaker,gamemode=adventure,distance=..1,scores={r_class=4,revive_crouch=1..}] at @s run playsound minecraft:item.flintandsteel.use master @s ~ ~ ~ 1 0.5 diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_alchemist.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_alchemist.mcfunction index f94b4c5..7a49967 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_alchemist.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_alchemist.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:11} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:11}}}] -execute unless entity @s[scores={r_class=2}] run item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:11,display:{Name:'[{"text":"Click to select ","color":"dark_gray","italic":false},{"text":"Alchemist","color":"gray","bold":true}]',Lore:['[{"text":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={r_class=2}] run item replace entity @s hotbar.1 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:11,display:{Name:'[{"text":"You have selected ","color":"dark_gray","italic":false},{"text":"Alchemist","color":"gray","bold":true}]',Lore:['[{"text":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={r_class=2}] run item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:11,display:{Name:'[{"translate":"Click to select ","color":"dark_gray","italic":false},{"translate":"Alchemist","color":"gray","bold":true}]',Lore:['[{"translate":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={r_class=2}] run item replace entity @s hotbar.1 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:11,display:{Name:'[{"translate":"You have selected ","color":"dark_gray","italic":false},{"translate":"Alchemist","color":"gray","bold":true}]',Lore:['[{"translate":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_arbalist.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_arbalist.mcfunction index 11afa0a..b98df9c 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_arbalist.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_arbalist.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:15} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:15}}}] -execute unless entity @s[scores={g_class=4}] run item replace entity @s hotbar.3 with carrot_on_a_stick{CustomModelData:15,display:{Name:'[{"text":"Click to select ","color":"#ba666a","italic":false},{"text":"Arbalist","color":"red","bold":true}]',Lore:['[{"text":"The Arbalist starts with a preloaded crossbow.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={g_class=4}] run item replace entity @s hotbar.3 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:15,display:{Name:'[{"text":"You have selected ","color":"#ba666a","italic":false},{"text":"Arbalist","color":"red","bold":true}]',Lore:['[{"text":"The Arbalist starts with a preloaded crossbow.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={g_class=4}] run item replace entity @s hotbar.3 with carrot_on_a_stick{CustomModelData:15,display:{Name:'[{"translate":"Click to select ","color":"#ba666a","italic":false},{"translate":"Arbalist","color":"red","bold":true}]',Lore:['[{"translate":"The Arbalist starts with a preloaded crossbow.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={g_class=4}] run item replace entity @s hotbar.3 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:15,display:{Name:'[{"translate":"You have selected ","color":"#ba666a","italic":false},{"translate":"Arbalist","color":"red","bold":true}]',Lore:['[{"translate":"The Arbalist starts with a preloaded crossbow.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_athlete.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_athlete.mcfunction index c968fe3..71de06c 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_athlete.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_athlete.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:13} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:13}}}] -execute unless entity @s[scores={g_class=1}] run item replace entity @s hotbar.0 with carrot_on_a_stick{CustomModelData:13,display:{Name:'[{"text":"Click to select ","color":"#ba666a","italic":false},{"text":"Athlete","color":"red","bold":true}]',Lore:['[{"text":"The Athlete has a shorter dash cooldown.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={g_class=1}] run item replace entity @s hotbar.0 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:13,display:{Name:'[{"text":"You have selected ","color":"#ba666a","italic":false},{"text":"Athlete","color":"red","bold":true}]',Lore:['[{"text":"The Athlete has a shorter dash cooldown.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={g_class=1}] run item replace entity @s hotbar.0 with carrot_on_a_stick{CustomModelData:13,display:{Name:'[{"translate":"Click to select ","color":"#ba666a","italic":false},{"translate":"Athlete","color":"red","bold":true}]',Lore:['[{"translate":"The Athlete has a shorter dash cooldown.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={g_class=1}] run item replace entity @s hotbar.0 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:13,display:{Name:'[{"translate":"You have selected ","color":"#ba666a","italic":false},{"translate":"Athlete","color":"red","bold":true}]',Lore:['[{"translate":"The Athlete has a shorter dash cooldown.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_brawler.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_brawler.mcfunction index a184b13..0e9cc76 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_brawler.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_brawler.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:10} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:10}}}] -execute unless entity @s[scores={r_class=1}] run item replace entity @s hotbar.0 with carrot_on_a_stick{CustomModelData:10,display:{Name:'[{"text":"Click to select ","color":"dark_gray","italic":false},{"text":"Brawler","color":"gray","bold":true}]',Lore:['[{"text":"The Brawler can stun gladiators by punching.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={r_class=1}] run item replace entity @s hotbar.0 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:10,display:{Name:'[{"text":"You have selected ","color":"dark_gray","italic":false},{"text":"Brawler","color":"gray","bold":true}]',Lore:['[{"text":"The Brawler can stun gladiators by punching.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={r_class=1}] run item replace entity @s hotbar.0 with carrot_on_a_stick{CustomModelData:10,display:{Name:'[{"translate":"Click to select ","color":"dark_gray","italic":false},{"translate":"Brawler","color":"gray","bold":true}]',Lore:['[{"translate":"The Brawler can stun gladiators by punching.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={r_class=1}] run item replace entity @s hotbar.0 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:10,display:{Name:'[{"translate":"You have selected ","color":"dark_gray","italic":false},{"translate":"Brawler","color":"gray","bold":true}]',Lore:['[{"translate":"The Brawler can stun gladiators by punching.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_foreseer.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_foreseer.mcfunction index f2c0aec..ae1a9f8 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_foreseer.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_foreseer.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:20} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:20}}}] -execute unless entity @s[scores={g_class=6}] run item replace entity @s hotbar.5 with carrot_on_a_stick{CustomModelData:20,display:{Name:'[{"text":"Click to select ","color":"#ba666a","italic":false},{"text":"Foreseer","color":"red","bold":true}]',Lore:['[{"text":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={g_class=6}] run item replace entity @s hotbar.5 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:20,display:{Name:'[{"text":"You have selected ","color":"#ba666a","italic":false},{"text":"Foreseer","color":"red","bold":true}]',Lore:['[{"text":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={g_class=6}] run item replace entity @s hotbar.5 with carrot_on_a_stick{CustomModelData:20,display:{Name:'[{"translate":"Click to select ","color":"#ba666a","italic":false},{"translate":"Foreseer","color":"red","bold":true}]',Lore:['[{"translate":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={g_class=6}] run item replace entity @s hotbar.5 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:20,display:{Name:'[{"translate":"You have selected ","color":"#ba666a","italic":false},{"translate":"Foreseer","color":"red","bold":true}]',Lore:['[{"translate":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_jumper.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_jumper.mcfunction index d7bf25c..598965b 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_jumper.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_jumper.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:22} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:22}}}] -execute unless entity @s[scores={r_class=6}] run item replace entity @s hotbar.5 with carrot_on_a_stick{CustomModelData:22,display:{Name:'[{"text":"Click to select ","color":"dark_gray","italic":false},{"text":"Jumper","color":"gray","bold":true}]',Lore:['[{"text":"The Jumper can charge up their next jump by crouching.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={r_class=6}] run item replace entity @s hotbar.5 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:22,display:{Name:'[{"text":"You have selected ","color":"dark_gray","italic":false},{"text":"Jumper","color":"gray","bold":true}]',Lore:['[{"text":"The Jumper can charge up their next jump by crouching.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={r_class=6}] run item replace entity @s hotbar.5 with carrot_on_a_stick{CustomModelData:22,display:{Name:'[{"translate":"Click to select ","color":"dark_gray","italic":false},{"translate":"Jumper","color":"gray","bold":true}]',Lore:['[{"translate":"The Jumper can charge up their next jump by crouching.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={r_class=6}] run item replace entity @s hotbar.5 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:22,display:{Name:'[{"translate":"You have selected ","color":"dark_gray","italic":false},{"translate":"Jumper","color":"gray","bold":true}]',Lore:['[{"translate":"The Jumper can charge up their next jump by crouching.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_locator.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_locator.mcfunction index ce2a161..a160c13 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_locator.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_locator.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:17} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:17}}}] -execute unless entity @s[scores={g_class=2}] run item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:17,display:{Name:'[{"text":"Click to select ","color":"#ba666a","italic":false},{"text":"Locator","color":"red","bold":true}]',Lore:['[{"text":"The Locator gets a compass that points to the nearest runner at the time of use.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={g_class=2}] run item replace entity @s hotbar.1 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:17,display:{Name:'[{"text":"You have selected ","color":"#ba666a","italic":false},{"text":"Locator","color":"red","bold":true}]',Lore:['[{"text":"The Locator gets a compass that points to the nearest runner at the time of use.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={g_class=2}] run item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:17,display:{Name:'[{"translate":"Click to select ","color":"#ba666a","italic":false},{"translate":"Locator","color":"red","bold":true}]',Lore:['[{"translate":"The Locator gets a compass that points to the nearest runner at the time of use.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={g_class=2}] run item replace entity @s hotbar.1 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:17,display:{Name:'[{"translate":"You have selected ","color":"#ba666a","italic":false},{"translate":"Locator","color":"red","bold":true}]',Lore:['[{"translate":"The Locator gets a compass that points to the nearest runner at the time of use.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_medic.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_medic.mcfunction index cadabb2..001c5fd 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_medic.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_medic.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:12} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:12}}}] -execute unless entity @s[scores={r_class=4}] run item replace entity @s hotbar.3 with carrot_on_a_stick{CustomModelData:12,display:{Name:'[{"text":"Click to select ","color":"dark_gray","italic":false},{"text":"Medic","color":"gray","bold":true}]',Lore:['[{"text":"The Medic can revive up to two caught runners by crouching where they died.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={r_class=4}] run item replace entity @s hotbar.3 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:12,display:{Name:'[{"text":"You have selected ","color":"dark_gray","italic":false},{"text":"Medic","color":"gray","bold":true}]',Lore:['[{"text":"The Medic can revive up to two caught runners by crouching where they died.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={r_class=4}] run item replace entity @s hotbar.3 with carrot_on_a_stick{CustomModelData:12,display:{Name:'[{"translate":"Click to select ","color":"dark_gray","italic":false},{"translate":"Medic","color":"gray","bold":true}]',Lore:['[{"translate":"The Medic can revive up to two caught runners by crouching where they died.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={r_class=4}] run item replace entity @s hotbar.3 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:12,display:{Name:'[{"translate":"You have selected ","color":"dark_gray","italic":false},{"translate":"Medic","color":"gray","bold":true}]',Lore:['[{"translate":"The Medic can revive up to two caught runners by crouching where they died.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_puppeteer.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_puppeteer.mcfunction index 7d79d12..bff1adb 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_puppeteer.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_puppeteer.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:21} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:21}}}] -execute unless entity @s[scores={r_class=5}] run item replace entity @s hotbar.4 with carrot_on_a_stick{CustomModelData:21,display:{Name:'[{"text":"Click to select ","color":"dark_gray","italic":false},{"text":"Puppeteer","color":"gray","bold":true}]',Lore:['[{"text":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={r_class=5}] run item replace entity @s hotbar.4 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:21,display:{Name:'[{"text":"You have selected ","color":"dark_gray","italic":false},{"text":"Puppeteer","color":"gray","bold":true}]',Lore:['[{"text":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={r_class=5}] run item replace entity @s hotbar.4 with carrot_on_a_stick{CustomModelData:21,display:{Name:'[{"translate":"Click to select ","color":"dark_gray","italic":false},{"translate":"Puppeteer","color":"gray","bold":true}]',Lore:['[{"translate":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={r_class=5}] run item replace entity @s hotbar.4 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:21,display:{Name:'[{"translate":"You have selected ","color":"dark_gray","italic":false},{"translate":"Puppeteer","color":"gray","bold":true}]',Lore:['[{"translate":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_random_gladiator.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_random_gladiator.mcfunction index da6bd1a..8f844c7 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_random_gladiator.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_random_gladiator.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:23} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:23}}}] -execute unless entity @s[scores={sel_g_class=7}] run item replace entity @s hotbar.6 with carrot_on_a_stick{CustomModelData:23,display:{Name:'[{"text":"Click to select ","color":"#ba666a","italic":false},{"text":"Random","color":"red","bold":true}]',Lore:['[{"text":"You will be a random class every round.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={sel_g_class=7}] run item replace entity @s hotbar.6 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:23,display:{Name:'[{"text":"You have selected ","color":"#ba666a","italic":false},{"text":"Random","color":"red","bold":true}]',Lore:['[{"text":"You will be a random class every round.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={sel_g_class=7}] run item replace entity @s hotbar.6 with carrot_on_a_stick{CustomModelData:23,display:{Name:'[{"translate":"Click to select ","color":"#ba666a","italic":false},{"translate":"Random","color":"red","bold":true}]',Lore:['[{"translate":"You will be a random class every round.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={sel_g_class=7}] run item replace entity @s hotbar.6 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:23,display:{Name:'[{"translate":"You have selected ","color":"#ba666a","italic":false},{"translate":"Random","color":"red","bold":true}]',Lore:['[{"translate":"You will be a random class every round.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_random_runner.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_random_runner.mcfunction index 484db94..eaa275f 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_random_runner.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_random_runner.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:23} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:23}}}] -execute unless entity @s[scores={sel_r_class=7}] run item replace entity @s hotbar.6 with carrot_on_a_stick{CustomModelData:23,display:{Name:'[{"text":"Click to select ","color":"dark_gray","italic":false},{"text":"Random","color":"gray","bold":true}]',Lore:['[{"text":"You will be a random class every round.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={sel_r_class=7}] run item replace entity @s hotbar.6 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:23,display:{Name:'[{"text":"You have selected ","color":"dark_gray","italic":false},{"text":"Random","color":"gray","bold":true}]',Lore:['[{"text":"You will be a random class every round.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={sel_r_class=7}] run item replace entity @s hotbar.6 with carrot_on_a_stick{CustomModelData:23,display:{Name:'[{"translate":"Click to select ","color":"dark_gray","italic":false},{"translate":"Random","color":"gray","bold":true}]',Lore:['[{"translate":"You will be a random class every round.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={sel_r_class=7}] run item replace entity @s hotbar.6 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:23,display:{Name:'[{"translate":"You have selected ","color":"dark_gray","italic":false},{"translate":"Random","color":"gray","bold":true}]',Lore:['[{"translate":"You will be a random class every round.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_specter.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_specter.mcfunction index 543c4a6..5c2add6 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_specter.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_specter.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:19} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:19}}}] -execute unless entity @s[scores={g_class=5}] run item replace entity @s hotbar.4 with carrot_on_a_stick{CustomModelData:19,display:{Name:'[{"text":"Click to select ","color":"#ba666a","italic":false},{"text":"Specter","color":"red","bold":true}]',Lore:['[{"text":"The Specter can go invisible periodically.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={g_class=5}] run item replace entity @s hotbar.4 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:19,display:{Name:'[{"text":"You have selected ","color":"#ba666a","italic":false},{"text":"Specter","color":"red","bold":true}]',Lore:['[{"text":"The Specter can go invisible periodically.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={g_class=5}] run item replace entity @s hotbar.4 with carrot_on_a_stick{CustomModelData:19,display:{Name:'[{"translate":"Click to select ","color":"#ba666a","italic":false},{"translate":"Specter","color":"red","bold":true}]',Lore:['[{"translate":"The Specter can go invisible periodically.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={g_class=5}] run item replace entity @s hotbar.4 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:19,display:{Name:'[{"translate":"You have selected ","color":"#ba666a","italic":false},{"translate":"Specter","color":"red","bold":true}]',Lore:['[{"translate":"The Specter can go invisible periodically.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_trapper.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_trapper.mcfunction index b32c52f..783208c 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_trapper.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_trapper.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:14} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:14}}}] -execute unless entity @s[scores={g_class=3}] run item replace entity @s hotbar.2 with carrot_on_a_stick{CustomModelData:14,display:{Name:'[{"text":"Click to select ","color":"#ba666a","italic":false},{"text":"Trapper","color":"red","bold":true}]',Lore:['[{"text":"The Trapper starts with two runner traps.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={g_class=3}] run item replace entity @s hotbar.2 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:14,display:{Name:'[{"text":"You have selected ","color":"#ba666a","italic":false},{"text":"Trapper","color":"red","bold":true}]',Lore:['[{"text":"The Trapper starts with two runner traps.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={g_class=3}] run item replace entity @s hotbar.2 with carrot_on_a_stick{CustomModelData:14,display:{Name:'[{"translate":"Click to select ","color":"#ba666a","italic":false},{"translate":"Trapper","color":"red","bold":true}]',Lore:['[{"translate":"The Trapper starts with two runner traps.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={g_class=3}] run item replace entity @s hotbar.2 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:14,display:{Name:'[{"translate":"You have selected ","color":"#ba666a","italic":false},{"translate":"Trapper","color":"red","bold":true}]',Lore:['[{"translate":"The Trapper starts with two runner traps.","color":"red","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/get_warper.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/get_warper.mcfunction index e403242..aedd76d 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/get_warper.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/get_warper.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:8} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:8}}}] -execute unless entity @s[scores={r_class=3}] run item replace entity @s hotbar.2 with carrot_on_a_stick{CustomModelData:8,display:{Name:'[{"text":"Click to select ","color":"dark_gray","italic":false},{"text":"Warper","color":"gray","bold":true}]',Lore:['[{"text":"The Warper can teleport back to their position five seconds ago.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} -execute if entity @s[scores={r_class=3}] run item replace entity @s hotbar.2 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:8,display:{Name:'[{"text":"You have selected ","color":"dark_gray","italic":false},{"text":"Warper","color":"gray","bold":true}]',Lore:['[{"text":"The Warper can teleport back to their position five seconds ago.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file +execute unless entity @s[scores={r_class=3}] run item replace entity @s hotbar.2 with carrot_on_a_stick{CustomModelData:8,display:{Name:'[{"translate":"Click to select ","color":"dark_gray","italic":false},{"translate":"Warper","color":"gray","bold":true}]',Lore:['[{"translate":"The Warper can teleport back to their position five seconds ago.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} +execute if entity @s[scores={r_class=3}] run item replace entity @s hotbar.2 with carrot_on_a_stick{Enchantments:[{id:"x",lvl:1}],CustomModelData:8,display:{Name:'[{"translate":"You have selected ","color":"dark_gray","italic":false},{"translate":"Warper","color":"gray","bold":true}]',Lore:['[{"translate":"The Warper can teleport back to their position five seconds ago.","color":"gray","italic":false}]']},HideFlags:63,Unbreakable:1b} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_alchemist.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_alchemist.mcfunction index 984174c..e5fc495 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_alchemist.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_alchemist.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={r_class=2}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={r_class=2}] run tellraw @s [{"text":"You are ","color":"gray"},{"text":"ALCHEMIST","bold":true,"color":"dark_gray"}] -execute unless entity @s[scores={r_class=2}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs.","italic":true,"color":"gray"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={r_class=2}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={r_class=2}] run tellraw @s [{"translate":"You are ","color":"gray"},{"translate":"ALCHEMIST","bold":true,"color":"dark_gray"}] +execute unless entity @s[scores={r_class=2}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs.","italic":true,"color":"gray"}] scoreboard players set @s sel_r_class 2 scoreboard players set @s r_class 2 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_arbalist.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_arbalist.mcfunction index 5cde241..9aaf10c 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_arbalist.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_arbalist.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={g_class=4}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={g_class=4}] run tellraw @s [{"text":"You are ","color":"#ba666a"},{"text":"ARBALIST","bold":true,"color":"red"}] -execute unless entity @s[scores={g_class=4}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Arbalist starts with a preloaded crossbow.","italic":true,"color":"#ba666a"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={g_class=4}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={g_class=4}] run tellraw @s [{"translate":"You are ","color":"#ba666a"},{"translate":"ARBALIST","bold":true,"color":"red"}] +execute unless entity @s[scores={g_class=4}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Arbalist starts with a preloaded crossbow.","italic":true,"color":"#ba666a"}] scoreboard players set @s sel_g_class 4 scoreboard players set @s g_class 4 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_athlete.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_athlete.mcfunction index 596ecd1..f740ce7 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_athlete.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_athlete.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={g_class=1}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={g_class=1}] run tellraw @s [{"text":"You are ","color":"#ba666a"},{"text":"ATHLETE","bold":true,"color":"red"}] -execute unless entity @s[scores={g_class=1}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Athlete has a shorter dash cooldown.","italic":true,"color":"#ba666a"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={g_class=1}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={g_class=1}] run tellraw @s [{"translate":"You are ","color":"#ba666a"},{"translate":"ATHLETE","bold":true,"color":"red"}] +execute unless entity @s[scores={g_class=1}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Athlete has a shorter dash cooldown.","italic":true,"color":"#ba666a"}] scoreboard players set @s sel_g_class 1 scoreboard players set @s g_class 1 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_brawler.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_brawler.mcfunction index f2a60d8..9ce8455 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_brawler.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_brawler.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={r_class=1}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={r_class=1}] run tellraw @s [{"text":"You are ","color":"gray"},{"text":"BRAWLER","bold":true,"color":"dark_gray"}] -execute unless entity @s[scores={r_class=1}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Brawler can stun gladiators by punching.","italic":true,"color":"gray"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={r_class=1}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={r_class=1}] run tellraw @s [{"translate":"You are ","color":"gray"},{"translate":"BRAWLER","bold":true,"color":"dark_gray"}] +execute unless entity @s[scores={r_class=1}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Brawler can stun gladiators by punching.","italic":true,"color":"gray"}] scoreboard players set @s sel_r_class 1 scoreboard players set @s r_class 1 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_foreseer.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_foreseer.mcfunction index 4373647..2dedc29 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_foreseer.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_foreseer.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={g_class=6}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={g_class=6}] run tellraw @s [{"text":"You are ","color":"#ba666a"},{"text":"FORESEER","bold":true,"color":"red"}] -execute unless entity @s[scores={g_class=6}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows.","italic":true,"color":"#ba666a"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={g_class=6}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={g_class=6}] run tellraw @s [{"translate":"You are ","color":"#ba666a"},{"translate":"FORESEER","bold":true,"color":"red"}] +execute unless entity @s[scores={g_class=6}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows.","italic":true,"color":"#ba666a"}] scoreboard players set @s sel_g_class 6 scoreboard players set @s g_class 6 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_jumper.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_jumper.mcfunction index 80636df..aaa47cf 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_jumper.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_jumper.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={r_class=6}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={r_class=6}] run tellraw @s [{"text":"You are ","color":"gray"},{"text":"Jumper","bold":true,"color":"dark_gray"}] -execute unless entity @s[scores={r_class=6}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Jumper can charge up their next jump by crouching.","italic":true,"color":"gray"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={r_class=6}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={r_class=6}] run tellraw @s [{"translate":"You are ","color":"gray"},{"translate":"Jumper","bold":true,"color":"dark_gray"}] +execute unless entity @s[scores={r_class=6}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Jumper can charge up their next jump by crouching.","italic":true,"color":"gray"}] scoreboard players set @s sel_r_class 6 scoreboard players set @s r_class 6 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_locator.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_locator.mcfunction index 8728315..f4b17d6 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_locator.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_locator.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={g_class=2}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={g_class=2}] run tellraw @s [{"text":"You are ","color":"#ba666a"},{"text":"LOCATOR","bold":true,"color":"red"}] -execute unless entity @s[scores={g_class=2}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Locator gets a compass that points to the nearest runner at the time of use.","italic":true,"color":"#ba666a"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={g_class=2}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={g_class=2}] run tellraw @s [{"translate":"You are ","color":"#ba666a"},{"translate":"LOCATOR","bold":true,"color":"red"}] +execute unless entity @s[scores={g_class=2}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Locator gets a compass that points to the nearest runner at the time of use.","italic":true,"color":"#ba666a"}] scoreboard players set @s sel_g_class 2 scoreboard players set @s g_class 2 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_medic.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_medic.mcfunction index 2b11c3b..da519f8 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_medic.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_medic.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={r_class=4}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={r_class=4}] run tellraw @s [{"text":"You are ","color":"gray"},{"text":"Medic","bold":true,"color":"dark_gray"}] -execute unless entity @s[scores={r_class=4}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Medic can revive up to two caught runners by crouching where they died.","italic":true,"color":"gray"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={r_class=4}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={r_class=4}] run tellraw @s [{"translate":"You are ","color":"gray"},{"translate":"Medic","bold":true,"color":"dark_gray"}] +execute unless entity @s[scores={r_class=4}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Medic can revive up to two caught runners by crouching where they died.","italic":true,"color":"gray"}] scoreboard players set @s sel_r_class 4 scoreboard players set @s r_class 4 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_puppeteer.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_puppeteer.mcfunction index ad0767e..98751d7 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_puppeteer.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_puppeteer.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={r_class=5}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={r_class=5}] run tellraw @s [{"text":"You are ","color":"gray"},{"text":"Puppeteer","bold":true,"color":"dark_gray"}] -execute unless entity @s[scores={r_class=5}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it.","italic":true,"color":"gray"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={r_class=5}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={r_class=5}] run tellraw @s [{"translate":"You are ","color":"gray"},{"translate":"Puppeteer","bold":true,"color":"dark_gray"}] +execute unless entity @s[scores={r_class=5}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it.","italic":true,"color":"gray"}] scoreboard players set @s sel_r_class 5 scoreboard players set @s r_class 5 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_random_gladiator.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_random_gladiator.mcfunction index 5fff0e7..5bca2a2 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_random_gladiator.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_random_gladiator.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={g_class=7}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={g_class=7}] run tellraw @s [{"text":"You are ","color":"#ba666a"},{"text":"RANDOM","bold":true,"color":"red"}] -execute unless entity @s[scores={g_class=7}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"You will be a random class every round.","italic":true,"color":"#ba666a"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={g_class=7}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={g_class=7}] run tellraw @s [{"translate":"You are ","color":"#ba666a"},{"translate":"RANDOM","bold":true,"color":"red"}] +execute unless entity @s[scores={g_class=7}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"You will be a random class every round.","italic":true,"color":"#ba666a"}] scoreboard players set @s sel_g_class 7 scoreboard players set @s g_class 7 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_random_runner.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_random_runner.mcfunction index 01d587d..64918db 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_random_runner.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_random_runner.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={r_class=7}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={r_class=7}] run tellraw @s [{"text":"You are ","color":"gray"},{"text":"RANDOM","bold":true,"color":"dark_gray"}] -execute unless entity @s[scores={r_class=7}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"You will be a random class every round.","italic":true,"color":"gray"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={r_class=7}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={r_class=7}] run tellraw @s [{"translate":"You are ","color":"gray"},{"translate":"RANDOM","bold":true,"color":"dark_gray"}] +execute unless entity @s[scores={r_class=7}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"You will be a random class every round.","italic":true,"color":"gray"}] scoreboard players set @s sel_r_class 7 scoreboard players set @s r_class 7 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_specter.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_specter.mcfunction index 7e82066..fed59db 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_specter.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_specter.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={g_class=5}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={g_class=5}] run tellraw @s [{"text":"You are ","color":"#ba666a"},{"text":"SPECTER","bold":true,"color":"red"}] -execute unless entity @s[scores={g_class=5}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Specter can go invisible periodically.","italic":true,"color":"#ba666a"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={g_class=5}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={g_class=5}] run tellraw @s [{"translate":"You are ","color":"#ba666a"},{"translate":"SPECTER","bold":true,"color":"red"}] +execute unless entity @s[scores={g_class=5}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Specter can go invisible periodically.","italic":true,"color":"#ba666a"}] scoreboard players set @s sel_g_class 5 scoreboard players set @s g_class 5 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_trapper.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_trapper.mcfunction index 90f8a4a..3cb910e 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_trapper.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_trapper.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={g_class=3}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={g_class=3}] run tellraw @s [{"text":"You are ","color":"#ba666a"},{"text":"TRAPPER","bold":true,"color":"red"}] -execute unless entity @s[scores={g_class=3}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Trapper starts with two runner traps. Trapper will receive an additional one for each band that is stepped on, up to two traps in total. The runners will receive slowness and glowing when activating a trap. The Trapper class can warp to triggered traps.","italic":true,"color":"#ba666a"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={g_class=3}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={g_class=3}] run tellraw @s [{"translate":"You are ","color":"#ba666a"},{"translate":"TRAPPER","bold":true,"color":"red"}] +execute unless entity @s[scores={g_class=3}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Trapper starts with two runner traps. Trapper will receive an additional one for each band that is stepped on, up to two traps in total. The runners will receive slowness and glowing when activating a trap. The Trapper class can warp to triggered traps.","italic":true,"color":"#ba666a"}] scoreboard players set @s sel_g_class 3 scoreboard players set @s g_class 3 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/pregame/select_warper.mcfunction b/datapacks/stealth_game/data/game/functions/class/pregame/select_warper.mcfunction index 1a54995..df3b819 100644 --- a/datapacks/stealth_game/data/game/functions/class/pregame/select_warper.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/pregame/select_warper.mcfunction @@ -1,7 +1,7 @@ -tellraw @s {"text":"\n"} -tellraw @s[scores={r_class=3}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={r_class=3}] run tellraw @s [{"text":"You are ","color":"gray"},{"text":"Warper","bold":true,"color":"dark_gray"}] -execute unless entity @s[scores={r_class=3}] run tellraw @s [{"text":"Info: ","color":"gold"},{"text":"The Warper can teleport back to their position five seconds ago.","italic":true,"color":"gray"}] +tellraw @s {"translate":"\n"} +tellraw @s[scores={r_class=3}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={r_class=3}] run tellraw @s [{"translate":"You are ","color":"gray"},{"translate":"Warper","bold":true,"color":"dark_gray"}] +execute unless entity @s[scores={r_class=3}] run tellraw @s [{"translate":"Info: ","color":"gold"},{"translate":"The Warper can teleport back to their position five seconds ago.","italic":true,"color":"gray"}] scoreboard players set @s sel_r_class 3 scoreboard players set @s r_class 3 item replace entity @s weapon.mainhand with air diff --git a/datapacks/stealth_game/data/game/functions/class/puppeteer/cooldown.mcfunction b/datapacks/stealth_game/data/game/functions/class/puppeteer/cooldown.mcfunction index a36b2aa..de198dc 100644 --- a/datapacks/stealth_game/data/game/functions/class/puppeteer/cooldown.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/puppeteer/cooldown.mcfunction @@ -3,4 +3,4 @@ execute as @a[tag=playing,team=sneaker,scores={puppeteer_cool=0}] at @s run func execute as @a[tag=playing,team=sneaker,scores={puppeteer_cool=1..}] at @s run scoreboard players operation @s display_cooldown = @s puppeteer_cool execute as @a[tag=playing,team=sneaker,scores={puppeteer_cool=1..}] at @s run scoreboard players operation @s display_cooldown /= 20 number scoreboard players add @a[tag=playing,team=sneaker,scores={puppeteer_cool=1..}] display_cooldown 1 -execute as @a[tag=playing,team=sneaker,scores={puppeteer_cool=1..}] run title @s actionbar [{"text":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"text":"]","color":"gold","bold":true}] \ No newline at end of file +execute as @a[tag=playing,team=sneaker,scores={puppeteer_cool=1..}] run title @s actionbar [{"translate":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"translate":"]","color":"gold","bold":true}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/puppeteer/cooldown_over.mcfunction b/datapacks/stealth_game/data/game/functions/class/puppeteer/cooldown_over.mcfunction index ac094e4..b755152 100644 --- a/datapacks/stealth_game/data/game/functions/class/puppeteer/cooldown_over.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/puppeteer/cooldown_over.mcfunction @@ -1,3 +1,3 @@ scoreboard players reset @s puppeteer_cool -item replace entity @s hotbar.0 with snowball{CustomModelData:1,HideFlags:63,display:{Name:'[{"text":"Fake Boots","color":"gold","italic":false}]',Lore:['[{"text":"Throw to summon fake boots.","color":"dark_gray"}]']}} +item replace entity @s hotbar.0 with snowball{CustomModelData:1,HideFlags:63,display:{Name:'[{"translate":"Fake Boots","color":"gold","italic":false}]',Lore:['[{"translate":"Throw to summon fake boots.","color":"dark_gray"}]']}} title @s actionbar " " \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/puppeteer/drop_snowball.mcfunction b/datapacks/stealth_game/data/game/functions/class/puppeteer/drop_snowball.mcfunction index ef0665d..641517d 100644 --- a/datapacks/stealth_game/data/game/functions/class/puppeteer/drop_snowball.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/puppeteer/drop_snowball.mcfunction @@ -1,4 +1,4 @@ kill @e[type=item,nbt={Item:{id:"minecraft:snowball"}}] clear @s snowball -give @s snowball{CustomModelData:1,HideFlags:63,display:{Name:'[{"text":"Fake Boots","color":"gold","italic":false}]',Lore:['[{"text":"Throw to summon fake boots.","color":"dark_gray"}]']}} +give @s snowball{CustomModelData:1,HideFlags:63,display:{Name:'[{"translate":"Fake Boots","color":"gold","italic":false}]',Lore:['[{"translate":"Throw to summon fake boots.","color":"dark_gray"}]']}} scoreboard players reset @s drop_snowball \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/puppeteer/gladiator_damage.mcfunction b/datapacks/stealth_game/data/game/functions/class/puppeteer/gladiator_damage.mcfunction index e51d536..b0e1ec6 100644 --- a/datapacks/stealth_game/data/game/functions/class/puppeteer/gladiator_damage.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/puppeteer/gladiator_damage.mcfunction @@ -10,7 +10,7 @@ effect give @s blindness 5 0 false effect give @s weakness 2 255 false # announcement -tellraw @a[tag=playing] {"text":"A gladiator has attacked fake boots. They've been stunned!","color":"#caa541"} +tellraw @a[tag=playing] {"translate":"A gladiator has attacked fake boots. They've been stunned!","color":"#caa541"} playsound minecraft:block.netherite_block.break master @a[tag=playing] ~ ~ ~ 1000 0.5 playsound minecraft:block.netherite_block.break master @a[tag=playing] ~ ~ ~ 1000 0.67 playsound minecraft:block.netherite_block.break master @a[tag=playing] ~ ~ ~ 1000 0.75 diff --git a/datapacks/stealth_game/data/game/functions/class/specter/cooldown.mcfunction b/datapacks/stealth_game/data/game/functions/class/specter/cooldown.mcfunction index b5e07ad..08ab649 100644 --- a/datapacks/stealth_game/data/game/functions/class/specter/cooldown.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/specter/cooldown.mcfunction @@ -6,6 +6,6 @@ scoreboard players remove @a[tag=playing,team=gladiator,scores={specter_cooldown execute as @a[scores={specter_cooldown=1..},tag=playing] at @s run scoreboard players operation @s display_cooldown = @s specter_cooldown execute as @a[scores={specter_cooldown=1..},tag=playing] at @s run scoreboard players operation @s display_cooldown /= 20 number scoreboard players add @a[scores={specter_cooldown=1..},tag=playing] display_cooldown 1 -execute as @a[scores={specter_cooldown=1..},tag=playing] run title @s actionbar [{"text":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"text":"]","color":"gold","bold":true}] +execute as @a[scores={specter_cooldown=1..},tag=playing] run title @s actionbar [{"translate":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"translate":"]","color":"gold","bold":true}] # ending execute as @a[tag=playing,team=gladiator,scores={specter_cooldown=0}] at @s run function game:class/specter/cooldown_over diff --git a/datapacks/stealth_game/data/game/functions/class/specter/get_item.mcfunction b/datapacks/stealth_game/data/game/functions/class/specter/get_item.mcfunction index 976c2eb..fc3a7ad 100644 --- a/datapacks/stealth_game/data/game/functions/class/specter/get_item.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/specter/get_item.mcfunction @@ -2,4 +2,4 @@ clear @s carrot_on_a_stick{CustomModelData:19} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:19}}}] -item replace entity @s hotbar.3 with carrot_on_a_stick{CustomModelData:19,HideFlags:63,display:{Name:'[{"text":"☄ ","color":"dark_purple","bold":true,"italic":false},{"text":"Invisibility","color":"gray","bold":false}]'}} \ No newline at end of file +item replace entity @s hotbar.3 with carrot_on_a_stick{CustomModelData:19,HideFlags:63,display:{Name:'[{"translate":"☄ ","color":"dark_purple","bold":true,"italic":false},{"translate":"Invisibility","color":"gray","bold":false}]'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/trapper/get_trap_tp.mcfunction b/datapacks/stealth_game/data/game/functions/class/trapper/get_trap_tp.mcfunction index 9ecbe6b..6fe9c62 100644 --- a/datapacks/stealth_game/data/game/functions/class/trapper/get_trap_tp.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/trapper/get_trap_tp.mcfunction @@ -1,3 +1,3 @@ clear @a carrot_on_a_stick{CustomModelData:7} -item replace entity @s hotbar.5 with carrot_on_a_stick{CustomModelData:7,display:{Name:'{"text":"Click to warp to a recently triggered trap","color":"aqua","italic":false}'}} +item replace entity @s hotbar.5 with carrot_on_a_stick{CustomModelData:7,display:{Name:'{"translate":"Click to warp to a recently triggered trap","color":"aqua","italic":false}'}} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:7}}}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/trapper/tp_to_trap.mcfunction b/datapacks/stealth_game/data/game/functions/class/trapper/tp_to_trap.mcfunction index c282415..aac9b6a 100644 --- a/datapacks/stealth_game/data/game/functions/class/trapper/tp_to_trap.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/trapper/tp_to_trap.mcfunction @@ -5,5 +5,5 @@ execute as @e[tag=trap_tp,type=area_effect_cloud] at @s run scoreboard players o tp @s @e[type=area_effect_cloud,tag=trap_tp,scores={compare_traps=0},sort=nearest,limit=1] scoreboard players reset @s right_click effect give @s weakness 1 255 -tellraw @s {"text":"Warped to trap.","color":"aqua"} +tellraw @s {"translate":"Warped to trap.","color":"aqua"} execute at @s run playsound minecraft:entity.evoker_fangs.attack master @s ~ ~ ~ 1000000 2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/warper/cooldown.mcfunction b/datapacks/stealth_game/data/game/functions/class/warper/cooldown.mcfunction index c1678af..580beb8 100644 --- a/datapacks/stealth_game/data/game/functions/class/warper/cooldown.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/warper/cooldown.mcfunction @@ -1,7 +1,7 @@ execute as @a[scores={warp_cooldown=1..},tag=playing] at @s run scoreboard players operation @s display_cooldown = @s warp_cooldown execute as @a[scores={warp_cooldown=1..},tag=playing] at @s run scoreboard players operation @s display_cooldown /= 20 number scoreboard players add @a[scores={warp_cooldown=1..},tag=playing] display_cooldown 1 -execute as @a[scores={warp_cooldown=1..},tag=playing,team=sneaker] run title @s actionbar [{"text":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"text":"]","color":"gold","bold":true}] +execute as @a[scores={warp_cooldown=1..},tag=playing,team=sneaker] run title @s actionbar [{"translate":"[","color":"gold","bold":true},{"score":{"objective":"display_cooldown","name":"@s"},"color":"#b1a370","bold":true},{"translate":"]","color":"gold","bold":true}] scoreboard players remove @a[team=sneaker,tag=playing,scores={r_class=3,warp_cooldown=1..}] warp_cooldown 1 diff --git a/datapacks/stealth_game/data/game/functions/class/warper/cooldown_over.mcfunction b/datapacks/stealth_game/data/game/functions/class/warper/cooldown_over.mcfunction index 020f1e3..2403b77 100644 --- a/datapacks/stealth_game/data/game/functions/class/warper/cooldown_over.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/warper/cooldown_over.mcfunction @@ -1,3 +1,3 @@ scoreboard players set @s warp_cooldown 0 playsound minecraft:block.beacon.place master @s ~ ~ ~ 10000 2 -title @s actionbar {"text":" "} \ No newline at end of file +title @s actionbar {"translate":" "} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/class/warper/get_item.mcfunction b/datapacks/stealth_game/data/game/functions/class/warper/get_item.mcfunction index df12360..76b7e13 100644 --- a/datapacks/stealth_game/data/game/functions/class/warper/get_item.mcfunction +++ b/datapacks/stealth_game/data/game/functions/class/warper/get_item.mcfunction @@ -1,3 +1,3 @@ clear @s carrot_on_a_stick{CustomModelData:8} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:8}}}] -item replace entity @s hotbar.0 with carrot_on_a_stick{CustomModelData:8,Unbreakable:1b,HideFlags:63,display:{Name:'[{"text":"Click to teleport to your position five seconds ago.","color":"dark_purple","italic":false}]'}} \ No newline at end of file +item replace entity @s hotbar.0 with carrot_on_a_stick{CustomModelData:8,Unbreakable:1b,HideFlags:63,display:{Name:'[{"translate":"Click to teleport to your position five seconds ago.","color":"dark_purple","italic":false}]'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/backdoor.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/backdoor.mcfunction index c168fd4..ac72794 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/backdoor.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/backdoor.mcfunction @@ -2,8 +2,8 @@ tp @s 1021 156.5 -15 180 0 scoreboard players set $backdoor band_number 0 effect give @s slow_falling 2 100 true function game:gameplay/backdoor_tp -execute if score $tp_left band_number matches 0 if score $check_band band_number matches ..0 run tellraw @s [{"text":"Teleported to band ","color":"gold"},{"text":"#","color":"yelow","bold":true},{"score":{"objective":"band_number","name":"$correct_band"}}] -execute if score $check_band band_number matches 1.. run tellraw @s [{"text":"Teleported to final hallway.","color":"gold"}] +execute if score $tp_left band_number matches 0 if score $check_band band_number matches ..0 run tellraw @s [{"translate":"Teleported to band ","color":"gold"},{"translate":"#","color":"yelow","bold":true},{"score":{"objective":"band_number","name":"$correct_band"}}] +execute if score $check_band band_number matches 1.. run tellraw @s [{"translate":"Teleported to final hallway.","color":"gold"}] execute if score $check_band band_number matches 1.. run effect clear @s slow_falling advancement grant @s only minecraft:custom/use_backdoor scoreboard players set @s adv_backdoor 600 diff --git a/datapacks/stealth_game/data/game/functions/gameplay/dash_cooldown_over.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/dash_cooldown_over.mcfunction index 51c5fe3..b37cdba 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/dash_cooldown_over.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/dash_cooldown_over.mcfunction @@ -1,3 +1,3 @@ scoreboard players reset @s dash_cooldown -item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:1,display:{Name:'{"text":"Dash","color":"#9dfff5","italic":false}'}} +item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:1,display:{Name:'{"translate":"Dash","color":"#9dfff5","italic":false}'}} playsound minecraft:entity.splash_potion.throw master @s ~ ~ ~ 1 2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/drop_carrot_on_a_stick.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/drop_carrot_on_a_stick.mcfunction index 4d67944..12b8257 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/drop_carrot_on_a_stick.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/drop_carrot_on_a_stick.mcfunction @@ -2,5 +2,5 @@ scoreboard players reset @s drop_c_o_a_s clear @s carrot_on_a_stick{CustomModelData:1} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:1}}}] kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:7}}}] -execute unless entity @s[scores={dash_cooldown=1..}] run item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:1,display:{Name:'{"text":"Dash","color":"#9dfff5","italic":false}'}} +execute unless entity @s[scores={dash_cooldown=1..}] run item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:1,display:{Name:'{"translate":"Dash","color":"#9dfff5","italic":false}'}} execute if score $correct_band band_number matches 1.. run function game:gameplay/get_backdoor \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/drop_trident.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/drop_trident.mcfunction index 0efbf12..991fe78 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/drop_trident.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/drop_trident.mcfunction @@ -1,4 +1,4 @@ scoreboard players reset @s drop_trident clear @s trident kill @e[type=item,nbt={Item:{id:"minecraft:trident"}}] -give @s trident{display:{Name:'{"text":"Trident","color":"#9c9558","italic":false}'},Unbreakable:1b,Enchantments:[{id:"minecraft:loyalty",lvl:4}],HideFlags:63} \ No newline at end of file +give @s trident{display:{Name:'{"translate":"Trident","color":"#9c9558","italic":false}'},Unbreakable:1b,Enchantments:[{id:"minecraft:loyalty",lvl:4}],HideFlags:63} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/end_timer_warning.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/end_timer_warning.mcfunction index 337568b..4f1d7ec 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/end_timer_warning.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/end_timer_warning.mcfunction @@ -1,5 +1,5 @@ -execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 10 run tellraw @a[tag=playing,team=sneaker] {"text":"Time is running out! Get to the finish line quickly!","color":"gray"} -execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 10 run tellraw @a[tag=playing,team=gladiator] {"text":"Time is running out! Just hold the runners from touching the finish line!","color":"red"} +execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 10 run tellraw @a[tag=playing,team=sneaker] {"translate":"Time is running out! Get to the finish line quickly!","color":"gray"} +execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 10 run tellraw @a[tag=playing,team=gladiator] {"translate":"Time is running out! Just hold the runners from touching the finish line!","color":"red"} execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 5 as @a[tag=playing] at @s run playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 2 execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 4 as @a[tag=playing] at @s run playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 1.9 execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 3 as @a[tag=playing] at @s run playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 1.8 diff --git a/datapacks/stealth_game/data/game/functions/gameplay/game_timer_warning.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/game_timer_warning.mcfunction index 337568b..4f1d7ec 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/game_timer_warning.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/game_timer_warning.mcfunction @@ -1,5 +1,5 @@ -execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 10 run tellraw @a[tag=playing,team=sneaker] {"text":"Time is running out! Get to the finish line quickly!","color":"gray"} -execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 10 run tellraw @a[tag=playing,team=gladiator] {"text":"Time is running out! Just hold the runners from touching the finish line!","color":"red"} +execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 10 run tellraw @a[tag=playing,team=sneaker] {"translate":"Time is running out! Get to the finish line quickly!","color":"gray"} +execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 10 run tellraw @a[tag=playing,team=gladiator] {"translate":"Time is running out! Just hold the runners from touching the finish line!","color":"red"} execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 5 as @a[tag=playing] at @s run playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 2 execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 4 as @a[tag=playing] at @s run playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 1.9 execute if score $minute bossbar_time matches 0 if score $second bossbar_time matches 3 as @a[tag=playing] at @s run playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 1.8 diff --git a/datapacks/stealth_game/data/game/functions/gameplay/get_backdoor.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/get_backdoor.mcfunction index a991936..4eb3f9c 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/get_backdoor.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/get_backdoor.mcfunction @@ -5,5 +5,5 @@ scoreboard players operation $check_band band_number -= $total_segments band_num clear @s carrot_on_a_stick{CustomModelData:5} kill @e[type=item,nbt={Item:{tag:{CustomModelData:5}}}] -execute if score $check_band band_number matches 1.. run item replace entity @s hotbar.4 with carrot_on_a_stick{HideFlags:63,CustomModelData:5,display:{Name:'[{"text":"Click to warp to the final hallway","color":"red","italic":false}]'}} +execute if score $check_band band_number matches 1.. run item replace entity @s hotbar.4 with carrot_on_a_stick{HideFlags:63,CustomModelData:5,display:{Name:'[{"translate":"Click to warp to the final hallway","color":"red","italic":false}]'}} execute if score $check_band band_number matches ..0 run loot replace entity @s hotbar.4 loot minecraft:backdoor \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/get_boots.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/get_boots.mcfunction index 462744f..28ca848 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/get_boots.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/get_boots.mcfunction @@ -1,5 +1,5 @@ kill @e[type=item,nbt={Item:{id:"minecraft:iron_boots"}}] clear @s iron_boots -item replace entity @s armor.feet with iron_boots{AttributeModifiers:[{AttributeName:"generic.armor",Base:0,Name:"generic.armor",UUID:[0.0d,0.0d,0.0d]}],display:{Name:'[{"text":"Boots","color":"gray","italic":false}]'},Unbreakable:1b} +item replace entity @s armor.feet with iron_boots{AttributeModifiers:[{AttributeName:"generic.armor",Base:0,Name:"generic.armor",UUID:[0.0d,0.0d,0.0d]}],display:{Name:'[{"translate":"Boots","color":"gray","italic":false}]'},Unbreakable:1b} execute unless score $time game matches 620 run playsound minecraft:block.note_block.flute master @a ~ ~ ~ 1 0 execute unless score $time game matches 600..620 run advancement grant @s only minecraft:custom/barefoot_runner \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/get_dash.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/get_dash.mcfunction index ce63667..bc7fff8 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/get_dash.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/get_dash.mcfunction @@ -1,3 +1,3 @@ kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:1}}}] clear @s carrot_on_a_stick{CustomModelData:1} -item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:1,display:{Name:'{"text":"Dash","color":"#9dfff5","italic":false}'}} \ No newline at end of file +item replace entity @s hotbar.1 with carrot_on_a_stick{CustomModelData:1,display:{Name:'{"translate":"Dash","color":"#9dfff5","italic":false}'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/get_helmet.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/get_helmet.mcfunction index 205c017..5a87d93 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/get_helmet.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/get_helmet.mcfunction @@ -1,3 +1,3 @@ kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick"}}] clear @s carrot_on_a_stick{CustomModelData:4} -item replace entity @s armor.head with carrot_on_a_stick{CustomModelData:4,display:{Name:'{"text":"Helmet","color":"red","italic":false}'},AttributeModifiers:[{Name:"generic.attack_damage",AttributeName:"generic.attack_damage",Amount:2.5,UUID:[I; 100, 100, 100, 100]},{Name:"generic.movement_speed",AttributeName:"generic.movement_speed",Amount:0.005,UUID:[I; 200, 200, 200, 200]}],HideFlags:63} \ No newline at end of file +item replace entity @s armor.head with carrot_on_a_stick{CustomModelData:4,display:{Name:'{"translate":"Helmet","color":"red","italic":false}'},AttributeModifiers:[{Name:"generic.attack_damage",AttributeName:"generic.attack_damage",Amount:2.5,UUID:[I; 100, 100, 100, 100]},{Name:"generic.movement_speed",AttributeName:"generic.movement_speed",Amount:0.005,UUID:[I; 200, 200, 200, 200]}],HideFlags:63} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/get_no_dash_item.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/get_no_dash_item.mcfunction index 6350030..66fe02e 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/get_no_dash_item.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/get_no_dash_item.mcfunction @@ -1,3 +1,3 @@ kill @e[type=item,nbt={Item:{id:"minecraft:light_gray_stained_glass_pane",tag:{CustomModelData:1}}}] clear @s light_gray_stained_glass_pane{CustomModelData:1} -item replace entity @s hotbar.1 with light_gray_stained_glass_pane{CustomModelData:1,display:{Name:'{"text":"","color":"#9dfff5","italic":false}'}} \ No newline at end of file +item replace entity @s hotbar.1 with light_gray_stained_glass_pane{CustomModelData:1,display:{Name:'{"translate":"","color":"#9dfff5","italic":false}'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/gladiator_cooldown.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/gladiator_cooldown.mcfunction index 1132252..faa6100 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/gladiator_cooldown.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/gladiator_cooldown.mcfunction @@ -5,11 +5,11 @@ gamemode spectator @a[tag=playing,team=!gladiator] team join out @a[team=sneaker] scoreboard players add @a[team=gladiator,tag=!infected_gladiator] points 4 scoreboard players add @a[team=gladiator,tag=infected_gladiator] points 1 -title @a[tag=playing] title [{"text":"Gladiators Win!","color":"red"}] +title @a[tag=playing] title [{"translate":"Gladiators Win!","color":"red"}] execute as @a[tag=playing] at @s run playsound minecraft:custom.gladiators_win voice @s ~ ~ ~ 1000000 1 bossbar set minecraft:game_timer players scoreboard players set $time game_timer 1000000 -title @a[tag=playing] subtitle [{"text":" "}] +title @a[tag=playing] subtitle [{"translate":" "}] scoreboard players add @a[team=gladiator,tag=playing] stat_g_win 1 advancement grant @a[tag=playing,scores={stat_g_win=1..}] only minecraft:custom/win_as_gladiator execute as @a[tag=playing] at @s run scoreboard players operation @s stat_win = @s stat_r_win diff --git a/datapacks/stealth_game/data/game/functions/gameplay/infection/main.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/infection/main.mcfunction index 2574175..56271ad 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/infection/main.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/infection/main.mcfunction @@ -2,6 +2,6 @@ scoreboard players add @a[team=dead] infect_timer 1 execute as @a[team=dead,scores={infect_timer=300}] at @s run function game:gameplay/infection/spawn effect give @a[team=dead,scores={infect_timer=1..280}] blindness 2 255 true execute as @a[team=dead,scores={infect_timer=1..299},x=1000,y=180,z=0,distance=1..] at @s run tp @s 1000 180 0 -title @a[team=dead,scores={infect_timer=1..280}] title {"text":" "} -title @a[team=dead,scores={infect_timer=1..280}] subtitle {"text":"You will be back in the game soon.","color":"gold"} -title @a[team=dead,scores={infect_timer=1..280}] actionbar {"text":"Waiting to be revived or turned into a gladiator . . .","color":"#9b8a3d"} \ No newline at end of file +title @a[team=dead,scores={infect_timer=1..280}] title {"translate":" "} +title @a[team=dead,scores={infect_timer=1..280}] subtitle {"translate":"You will be back in the game soon.","color":"gold"} +title @a[team=dead,scores={infect_timer=1..280}] actionbar {"translate":"Waiting to be revived or turned into a gladiator . . .","color":"#9b8a3d"} \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/infection/spawn.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/infection/spawn.mcfunction index 61ecdca..6d58270 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/infection/spawn.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/infection/spawn.mcfunction @@ -1,18 +1,18 @@ team join red -tellraw @a [{"selector":"@s"},{"text":" is now a gladiator!","color":"dark_red"}] -tellraw @s [{"text":"You are now a gladiator! You will have no class for the rest of the round.","color":"gray"}] +tellraw @a [{"selector":"@s"},{"translate":" is now a gladiator!","color":"dark_red"}] +tellraw @s [{"translate":"You are now a gladiator! You will have no class for the rest of the round.","color":"gray"}] team join gladiator gamemode adventure @s clear @s effect clear @s scoreboard players set @s g_class 0 tag @s add infected_gladiator -give @s trident{display:{Name:'{"text":"Trident","color":"#9c9558","italic":false}'},Unbreakable:1b,Enchantments:[{id:"minecraft:loyalty",lvl:4}],HideFlags:63} +give @s trident{display:{Name:'{"translate":"Trident","color":"#9c9558","italic":false}'},Unbreakable:1b,Enchantments:[{id:"minecraft:loyalty",lvl:4}],HideFlags:63} scoreboard players set @s dash_cooldown 1 tp @s 1021 151 -15 180 0 scoreboard players set $backdoor band_number 0 function game:gameplay/infection/respawn_tp -execute if score $tp_left band_number matches 0 if score $check_band band_number matches ..0 run tellraw @s [{"text":"Spawned on band ","color":"gold"},{"text":"#","color":"yelow","bold":true},{"score":{"objective":"band_number","name":"$correct_band"}}] -execute if score $check_band band_number matches 1.. run tellraw @s [{"text":"Spawned in final hallway.","color":"gold"}] +execute if score $tp_left band_number matches 0 if score $check_band band_number matches ..0 run tellraw @s [{"translate":"Spawned on band ","color":"gold"},{"translate":"#","color":"yelow","bold":true},{"score":{"objective":"band_number","name":"$correct_band"}}] +execute if score $check_band band_number matches 1.. run tellraw @s [{"translate":"Spawned in final hallway.","color":"gold"}] playsound minecraft:custom.teleport master @s ~ ~ ~ 100000 1.5 execute as @a[tag=playing] run playsound minecraft:entity.zoglin.attack master @s ~ ~ ~ 10000000000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/out.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/out.mcfunction index 638827c..b0da4e3 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/out.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/out.mcfunction @@ -126,25 +126,25 @@ tag @e[type=area_effect_cloud,tag=set_revive_timer] remove set_revive_timer team join dark_gray -execute if entity @s[scores={death_msg=0}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" is out.","color":"gold"}] -execute if entity @s[scores={death_msg=1}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" stopped running.","color":"gold"}] -execute if entity @s[scores={death_msg=2}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" vanished.","color":"gold"}] -execute if entity @s[scores={death_msg=3}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" didn't see the tutorial.","color":"gold"}] -execute if entity @s[scores={death_msg=4}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" wanted to play a different game.","color":"gold"}] -execute if entity @s[scores={death_msg=5}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" got doomed.","color":"gold"}] -execute if entity @s[scores={death_msg=6}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" left the Colosseum.","color":"gold"}] -execute if entity @s[scores={death_msg=7}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" just plain died.","color":"gold"}] -execute if entity @s[scores={death_msg=8}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" found a gladiator.","color":"gold"}] -execute if entity @s[scores={death_msg=9}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" would rather spectate.","color":"gold"}] -execute if entity @s[scores={death_msg=10}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" was a casualty of the trident.","color":"gold"}] -execute if entity @s[scores={death_msg=11}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" just wanted to stand on the finish line.","color":"gold"}] -execute if entity @s[scores={death_msg=12}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" hugged a gladiator.","color":"gold"}] -execute if entity @s[scores={death_msg=13}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" tried, but not hard enough.","color":"gold"}] -execute if entity @s[scores={death_msg=14}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" is waiting for a medic.","color":"gold"}] -execute if entity @s[scores={death_msg=15}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" learned you were supposed to be sneaky.","color":"gold"}] -execute if entity @s[scores={death_msg=16}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" forgot they were wearing sneakers.","color":"gold"}] -execute if entity @s[scores={death_msg=17}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" lacked stealth.","color":"gold"}] -execute if entity @s[scores={death_msg=18}] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" just wanted to show off their death message.","color":"gold"}] +execute if entity @s[scores={death_msg=0}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" is out.","color":"gold"}] +execute if entity @s[scores={death_msg=1}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" stopped running.","color":"gold"}] +execute if entity @s[scores={death_msg=2}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" vanished.","color":"gold"}] +execute if entity @s[scores={death_msg=3}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" didn't see the tutorial.","color":"gold"}] +execute if entity @s[scores={death_msg=4}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" wanted to play a different game.","color":"gold"}] +execute if entity @s[scores={death_msg=5}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" got doomed.","color":"gold"}] +execute if entity @s[scores={death_msg=6}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" left the Colosseum.","color":"gold"}] +execute if entity @s[scores={death_msg=7}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" just plain died.","color":"gold"}] +execute if entity @s[scores={death_msg=8}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" found a gladiator.","color":"gold"}] +execute if entity @s[scores={death_msg=9}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" would rather spectate.","color":"gold"}] +execute if entity @s[scores={death_msg=10}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" was a casualty of the trident.","color":"gold"}] +execute if entity @s[scores={death_msg=11}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" just wanted to stand on the finish line.","color":"gold"}] +execute if entity @s[scores={death_msg=12}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" hugged a gladiator.","color":"gold"}] +execute if entity @s[scores={death_msg=13}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" tried, but not hard enough.","color":"gold"}] +execute if entity @s[scores={death_msg=14}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" is waiting for a medic.","color":"gold"}] +execute if entity @s[scores={death_msg=15}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" learned you were supposed to be sneaky.","color":"gold"}] +execute if entity @s[scores={death_msg=16}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" forgot they were wearing sneakers.","color":"gold"}] +execute if entity @s[scores={death_msg=17}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" lacked stealth.","color":"gold"}] +execute if entity @s[scores={death_msg=18}] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" just wanted to show off their death message.","color":"gold"}] team join dead @s effect clear @s playsound minecraft:item.shield.block master @s ~ ~ ~ 1 0 diff --git a/datapacks/stealth_game/data/game/functions/gameplay/released.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/released.mcfunction index db50d78..634ddb8 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/released.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/released.mcfunction @@ -3,7 +3,7 @@ tag @a[tag=playing,scores={sel_r_class=7},team=sneaker] add using_random tag @a[tag=playing,scores={sel_g_class=7},team=gladiator] add using_random team join dark_gray @a[tag=using_random,team=sneaker] team join red @a[tag=using_random,team=gladiator] -tellraw @a[tag=playing] [{"text":"Players using ","color":"gold"},{"text":"Random Class"},{"text":": ","color":"gray"},{"selector":"@a[tag=playing,tag=using_random]"}] +tellraw @a[tag=playing] [{"translate":"Players using ","color":"gold"},{"translate":"Random Class"},{"translate":": ","color":"gray"},{"selector":"@a[tag=playing,tag=using_random]"}] execute as @a[tag=playing,scores={sel_r_class=7}] at @s run function game:gameplay/random_r_class execute as @a[tag=playing,scores={sel_g_class=7}] at @s run function game:gameplay/random_g_class team join sneaker @a[tag=using_random,team=dark_gray] @@ -11,13 +11,13 @@ team join gladiator @a[tag=using_random,team=red] tag @a remove using_random clear @a[tag=playing] carrot_on_a_stick -title @a[tag=playing,team=sneaker] subtitle [{"text":"Sneak to the other end of the map.","color":"dark_gray","italic":true}] -title @a[tag=playing,team=gladiator] subtitle [{"text":"Stop the runners from reaching the end of the map.","color":"gold","italic":true}] -give @a[team=gladiator] trident{display:{Name:'{"text":"Trident","color":"#9c9558","italic":false}'},Unbreakable:1b,Enchantments:[{id:"minecraft:loyalty",lvl:4}],HideFlags:63} -# give @a[team=gladiator] carrot_on_a_stick{CustomModelData:1,display:{Name:'{"text":"Dash","color":"#9dfff5","italic":false}'}} -item replace entity @a[team=sneaker,scores={r_class=2}] hotbar.0 with snowball{HideFlags:63,display:{Name:'[{"text":"Smoke Bomb","color":"#6c6c6c","italic":false}]',Lore:['[{"text":"Throw at a gladiator to blind them.","color":"dark_gray"}]']}} -item replace entity @a[team=sneaker,scores={r_class=5}] hotbar.0 with snowball{CustomModelData:1,HideFlags:63,display:{Name:'[{"text":"Fake Boots","color":"gold","italic":false}]',Lore:['[{"text":"Throw to summon fake boots.","color":"dark_gray"}]']}} -item replace entity @a[tag=playing,team=gladiator,scores={g_class=2}] hotbar.3 with carrot_on_a_stick{CustomModelData:6,display:{Name:'[{"text":"Click to see the location of the nearest runner.","color":"#b1a370","italic":false}]'}} +title @a[tag=playing,team=sneaker] subtitle [{"translate":"Sneak to the other end of the map.","color":"dark_gray","italic":true}] +title @a[tag=playing,team=gladiator] subtitle [{"translate":"Stop the runners from reaching the end of the map.","color":"gold","italic":true}] +give @a[team=gladiator] trident{display:{Name:'{"translate":"Trident","color":"#9c9558","italic":false}'},Unbreakable:1b,Enchantments:[{id:"minecraft:loyalty",lvl:4}],HideFlags:63} +# give @a[team=gladiator] carrot_on_a_stick{CustomModelData:1,display:{Name:'{"translate":"Dash","color":"#9dfff5","italic":false}'}} +item replace entity @a[team=sneaker,scores={r_class=2}] hotbar.0 with snowball{HideFlags:63,display:{Name:'[{"translate":"Smoke Bomb","color":"#6c6c6c","italic":false}]',Lore:['[{"translate":"Throw at a gladiator to blind them.","color":"dark_gray"}]']}} +item replace entity @a[team=sneaker,scores={r_class=5}] hotbar.0 with snowball{CustomModelData:1,HideFlags:63,display:{Name:'[{"translate":"Fake Boots","color":"gold","italic":false}]',Lore:['[{"translate":"Throw to summon fake boots.","color":"dark_gray"}]']}} +item replace entity @a[tag=playing,team=gladiator,scores={g_class=2}] hotbar.3 with carrot_on_a_stick{CustomModelData:6,display:{Name:'[{"translate":"Click to see the location of the nearest runner.","color":"#b1a370","italic":false}]'}} execute as @a[tag=playing] at @s run playsound minecraft:custom.whoosh master @s ~ ~ ~ 100000 1 execute as @a[tag=playing] at @s run playsound minecraft:custom.whoosh master @s ~ ~ ~ 100000 0 execute as @a[tag=playing] at @s run playsound minecraft:custom.whoosh master @s ~ ~ ~ 100000 0.75 @@ -25,7 +25,7 @@ team modify sneaker seeFriendlyInvisibles true team modify gladiator seeFriendlyInvisibles true effect clear @a[team=gladiator] invisibility effect give @a[team=gladiator] strength 1000000 0 true -item replace entity @a[team=gladiator,tag=playing,scores={g_class=3}] hotbar.3 with snow{CustomModelData:1,display:{Name:'{"text":"Trap","color":"dark_red","italic":false}'},HideFlags:63} 2 +item replace entity @a[team=gladiator,tag=playing,scores={g_class=3}] hotbar.3 with snow{CustomModelData:1,display:{Name:'{"translate":"Trap","color":"dark_red","italic":false}'},HideFlags:63} 2 # arbalist arrow count execute store result score @a[team=gladiator,tag=playing,scores={g_class=4}] arbalist_arrow if entity @a[tag=playing,team=sneaker] @@ -37,7 +37,7 @@ scoreboard players set @a[tag=playing,team=sneaker,scores={r_class=4}] revives 2 scoreboard players set $time alternate_second 1 scoreboard players operation $time game_timer = $time set_timer bossbar remove game_timer -bossbar add game_timer [{"text":"Starting Game . . .","color":"red"}] +bossbar add game_timer [{"translate":"Starting Game . . .","color":"red"}] bossbar set game_timer color red execute store result bossbar minecraft:game_timer max run scoreboard players get $time set_timer execute store result bossbar minecraft:game_timer value run scoreboard players get $time set_timer @@ -48,53 +48,53 @@ scoreboard objectives remove infect_timer scoreboard objectives add infect_timer dummy scoreboard players set @a[scores={r_class=2}] alchemist_limit 2 -tellraw @a[scores={r_class=2},tag=playing,team=sneaker] [{"text":"You have ","color":"gray"},{"text":"2","color":"gold","bold":true},{"text":" smoke bombs","color":"dark_gray"},{"text":" remaining.","color":"gray"}] +tellraw @a[scores={r_class=2},tag=playing,team=sneaker] [{"translate":"You have ","color":"gray"},{"translate":"2","color":"gold","bold":true},{"translate":" smoke bombs","color":"dark_gray"},{"translate":" remaining.","color":"gray"}] scoreboard players set @a[scores={r_class=6}] jump_level 0 -execute as @r[team=sneaker,scores={r_class=1}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"text":"Brawler","color":"dark_gray","bold":true}]'} -execute as @r[team=sneaker,scores={r_class=2}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"text":"Alchemist","color":"dark_gray","bold":true}]'} -execute as @r[team=sneaker,scores={r_class=3}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"text":"Warper","color":"dark_gray","bold":true}]'} -execute as @r[team=sneaker,scores={r_class=4}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"text":"Medic","color":"dark_gray","bold":true}]'} -execute as @r[team=sneaker,scores={r_class=5}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"text":"Puppeteer","color":"dark_gray","bold":true}]'} -execute as @r[team=sneaker,scores={r_class=6}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"text":"Jumper","color":"dark_gray","bold":true}]'} +execute as @r[team=sneaker,scores={r_class=1}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"translate":"Brawler","color":"dark_gray","bold":true}]'} +execute as @r[team=sneaker,scores={r_class=2}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"translate":"Alchemist","color":"dark_gray","bold":true}]'} +execute as @r[team=sneaker,scores={r_class=3}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"translate":"Warper","color":"dark_gray","bold":true}]'} +execute as @r[team=sneaker,scores={r_class=4}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"translate":"Medic","color":"dark_gray","bold":true}]'} +execute as @r[team=sneaker,scores={r_class=5}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"translate":"Puppeteer","color":"dark_gray","bold":true}]'} +execute as @r[team=sneaker,scores={r_class=6}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["runner_class"],CustomName:'[{"translate":"Jumper","color":"dark_gray","bold":true}]'} -execute as @r[team=gladiator,scores={g_class=1}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"text":"Athlete","color":"red","bold":true}]'} -execute as @r[team=gladiator,scores={g_class=2}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"text":"Locator","color":"red","bold":true}]'} -execute as @r[team=gladiator,scores={g_class=3}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"text":"Trapper","color":"red","bold":true}]'} -execute as @r[team=gladiator,scores={g_class=4}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"text":"Arbalist","color":"red","bold":true}]'} -execute as @r[team=gladiator,scores={g_class=5}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"text":"Specter","color":"red","bold":true}]'} -execute as @r[team=gladiator,scores={g_class=6}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"text":"Foreseer","color":"red","bold":true}]'} +execute as @r[team=gladiator,scores={g_class=1}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"translate":"Athlete","color":"red","bold":true}]'} +execute as @r[team=gladiator,scores={g_class=2}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"translate":"Locator","color":"red","bold":true}]'} +execute as @r[team=gladiator,scores={g_class=3}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"translate":"Trapper","color":"red","bold":true}]'} +execute as @r[team=gladiator,scores={g_class=4}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"translate":"Arbalist","color":"red","bold":true}]'} +execute as @r[team=gladiator,scores={g_class=5}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"translate":"Specter","color":"red","bold":true}]'} +execute as @r[team=gladiator,scores={g_class=6}] at @s run summon area_effect_cloud ~ ~ ~ {Duration:2,Tags:["glad_class"],CustomName:'[{"translate":"Foreseer","color":"red","bold":true}]'} -tellraw @a[tag=playing] [{"text":"Runner classes in use: ","color":"gray"},{"selector":"@e[type=area_effect_cloud,tag=runner_class]"}] -tellraw @a[tag=playing] [{"text":"Gladiator classes in use: ","color":"#ba666a"},{"selector":"@e[type=area_effect_cloud,tag=glad_class]"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=1}] [{"text":"You are ","color":"gray"},{"text":"BRAWLER","bold":true,"color":"dark_gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=2}] [{"text":"You are ","color":"gray"},{"text":"ALCHEMIST","bold":true,"color":"dark_gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=3}] [{"text":"You are ","color":"gray"},{"text":"WARPER","bold":true,"color":"dark_gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=4}] [{"text":"You are ","color":"gray"},{"text":"MEDIC","bold":true,"color":"dark_gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=5}] [{"text":"You are ","color":"gray"},{"text":"PUPPETEER","bold":true,"color":"dark_gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=6}] [{"text":"You are ","color":"gray"},{"text":"JUMPER","bold":true,"color":"dark_gray"}] +tellraw @a[tag=playing] [{"translate":"Runner classes in use: ","color":"gray"},{"selector":"@e[type=area_effect_cloud,tag=runner_class]"}] +tellraw @a[tag=playing] [{"translate":"Gladiator classes in use: ","color":"#ba666a"},{"selector":"@e[type=area_effect_cloud,tag=glad_class]"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=1}] [{"translate":"You are ","color":"gray"},{"translate":"BRAWLER","bold":true,"color":"dark_gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=2}] [{"translate":"You are ","color":"gray"},{"translate":"ALCHEMIST","bold":true,"color":"dark_gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=3}] [{"translate":"You are ","color":"gray"},{"translate":"WARPER","bold":true,"color":"dark_gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=4}] [{"translate":"You are ","color":"gray"},{"translate":"MEDIC","bold":true,"color":"dark_gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=5}] [{"translate":"You are ","color":"gray"},{"translate":"PUPPETEER","bold":true,"color":"dark_gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=6}] [{"translate":"You are ","color":"gray"},{"translate":"JUMPER","bold":true,"color":"dark_gray"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=1}] [{"text":"You are ","color":"#ba666a"},{"text":"ATHLETE","bold":true,"color":"red"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=2}] [{"text":"You are ","color":"#ba666a"},{"text":"LOCATOR","bold":true,"color":"red"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=3}] [{"text":"You are ","color":"#ba666a"},{"text":"TRAPPER","bold":true,"color":"red"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=4}] [{"text":"You are ","color":"#ba666a"},{"text":"ARBALIST","bold":true,"color":"red"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=5}] [{"text":"You are ","color":"#ba666a"},{"text":"SPECTRE","bold":true,"color":"red"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=6}] [{"text":"You are ","color":"#ba666a"},{"text":"FORESEER","bold":true,"color":"red"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=1}] [{"translate":"You are ","color":"#ba666a"},{"translate":"ATHLETE","bold":true,"color":"red"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=2}] [{"translate":"You are ","color":"#ba666a"},{"translate":"LOCATOR","bold":true,"color":"red"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=3}] [{"translate":"You are ","color":"#ba666a"},{"translate":"TRAPPER","bold":true,"color":"red"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=4}] [{"translate":"You are ","color":"#ba666a"},{"translate":"ARBALIST","bold":true,"color":"red"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=5}] [{"translate":"You are ","color":"#ba666a"},{"translate":"SPECTRE","bold":true,"color":"red"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=6}] [{"translate":"You are ","color":"#ba666a"},{"translate":"FORESEER","bold":true,"color":"red"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=1}] [{"text":"Info: ","color":"gold"},{"text":"The Brawler can stun gladiators by punching.","italic":true,"color":"gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=2}] [{"text":"Info: ","color":"gold"},{"text":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs.","italic":true,"color":"gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=3}] [{"text":"Info: ","color":"gold"},{"text":"The Warper can teleport back to their position five seconds ago.","italic":true,"color":"gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=4}] [{"text":"Info: ","color":"gold"},{"text":"The Medic can revive up to two caught runners by crouching where they died.","italic":true,"color":"gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=5}] [{"text":"Info: ","color":"gold"},{"text":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it.","italic":true,"color":"gray"}] -tellraw @a[tag=playing,team=sneaker,scores={r_class=6}] [{"text":"Info: ","color":"gold"},{"text":"The Jumper can charge up their next jump by crouching.","italic":true,"color":"gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=1}] [{"translate":"Info: ","color":"gold"},{"translate":"The Brawler can stun gladiators by punching.","italic":true,"color":"gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=2}] [{"translate":"Info: ","color":"gold"},{"translate":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs.","italic":true,"color":"gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=3}] [{"translate":"Info: ","color":"gold"},{"translate":"The Warper can teleport back to their position five seconds ago.","italic":true,"color":"gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=4}] [{"translate":"Info: ","color":"gold"},{"translate":"The Medic can revive up to two caught runners by crouching where they died.","italic":true,"color":"gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=5}] [{"translate":"Info: ","color":"gold"},{"translate":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it.","italic":true,"color":"gray"}] +tellraw @a[tag=playing,team=sneaker,scores={r_class=6}] [{"translate":"Info: ","color":"gold"},{"translate":"The Jumper can charge up their next jump by crouching.","italic":true,"color":"gray"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=1}] [{"text":"Info: ","color":"gold"},{"text":"The Athlete has a shorter dash cooldown.","italic":true,"color":"#ba666a"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=2}] [{"text":"Info: ","color":"gold"},{"text":"The Locator gets a compass that points to the nearest runner at the time of use.","italic":true,"color":"#ba666a"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=3}] [{"text":"Info: ","color":"gold"},{"text":"The Trapper starts with two runner traps. Trapper will receive an additional one for each band that is stepped on, up to two traps in total. The runners will receive slowness and glowing when activating a trap. The Trapper class can warp to triggered traps.","italic":true,"color":"#ba666a"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=4}] [{"text":"Info: ","color":"gold"},{"text":"The Arbalist starts with a preloaded crossbow.","italic":true,"color":"#ba666a"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=5}] [{"text":"Info: ","color":"gold"},{"text":"The Specter can go invisible periodically.","italic":true,"color":"#ba666a"}] -tellraw @a[tag=playing,team=gladiator,scores={g_class=6}] [{"text":"Info: ","color":"gold"},{"text":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows.","italic":true,"color":"#ba666a"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=1}] [{"translate":"Info: ","color":"gold"},{"translate":"The Athlete has a shorter dash cooldown.","italic":true,"color":"#ba666a"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=2}] [{"translate":"Info: ","color":"gold"},{"translate":"The Locator gets a compass that points to the nearest runner at the time of use.","italic":true,"color":"#ba666a"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=3}] [{"translate":"Info: ","color":"gold"},{"translate":"The Trapper starts with two runner traps. Trapper will receive an additional one for each band that is stepped on, up to two traps in total. The runners will receive slowness and glowing when activating a trap. The Trapper class can warp to triggered traps.","italic":true,"color":"#ba666a"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=4}] [{"translate":"Info: ","color":"gold"},{"translate":"The Arbalist starts with a preloaded crossbow.","italic":true,"color":"#ba666a"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=5}] [{"translate":"Info: ","color":"gold"},{"translate":"The Specter can go invisible periodically.","italic":true,"color":"#ba666a"}] +tellraw @a[tag=playing,team=gladiator,scores={g_class=6}] [{"translate":"Info: ","color":"gold"},{"translate":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows.","italic":true,"color":"#ba666a"}] kill @e[type=area_effect_cloud,tag=runner_class] kill @e[type=area_effect_cloud,tag=glad_class] \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/rotation/calculate_winner.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/rotation/calculate_winner.mcfunction index 95e656a..f92a665 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/rotation/calculate_winner.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/rotation/calculate_winner.mcfunction @@ -5,10 +5,10 @@ scoreboard players set $check_place fake_points 0 execute as @a[tag=playing] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -tellraw @a[tag=playing] {"text":"\n\n"} -tellraw @a [{"text":"Stealthiators","color":"dark_gray","bold":true},{"text":" Rotation Mode","color":"gold","bold":true}] +tellraw @a[tag=playing] {"translate":"\n\n"} +tellraw @a [{"translate":"Stealthiators","color":"dark_gray","bold":true},{"translate":" Rotation Mode","color":"gold","bold":true}] team join gold @a[scores={fake_points=0},tag=playing] -execute as @a[scores={fake_points=0},tag=playing] run tellraw @a [{"text":"\nVictor: ","color":"yellow"},{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing] run tellraw @a [{"translate":"\nVictor: ","color":"yellow"},{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] advancement grant @a[scores={fake_points=0},tag=playing] only minecraft:custom/win_on_rotation team join dark_gray @a[tag=playing] tag @a[scores={fake_points=0},tag=playing] add got_placement @@ -16,67 +16,67 @@ scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a[scores={fake_points=0},tag=playing] add got_placement scoreboard players set $check_place fake_points -1000 execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points = @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation $check_place fake_points > @s points execute as @a[tag=playing,tag=!got_placement] at @s run scoreboard players operation @s fake_points -= $check_place fake_points -execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"text":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] +execute as @a[scores={fake_points=0},tag=playing,tag=!got_placement] run tellraw @a [{"selector":"@s"},{"translate":" score: ","color":"gray"},{"score":{"objective":"points","name":"@s"}}] tag @a remove got_placement tag @a[tag=playing] add potential_cosmetic diff --git a/datapacks/stealth_game/data/game/functions/gameplay/rotation/check_gladiator.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/rotation/check_gladiator.mcfunction index 88cc4f9..da1e389 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/rotation/check_gladiator.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/rotation/check_gladiator.mcfunction @@ -1,9 +1,9 @@ execute unless entity @a[tag=playing,tag=!been_gladiator] run function game:gameplay/rotation/calculate_winner execute if entity @a[tag=playing,tag=!been_gladiator] run scoreboard players set $time game 399 scoreboard players add $round game 1 -execute if entity @a[tag=playing,tag=!been_gladiator] run title @a[tag=playing] title [{"text":"Round ","color":"#b4ae8f","bold":true},{"score":{"objective":"game","name":"$round"},"color":"#d1c48a","bold":true}] -execute if entity @a[tag=playing,tag=!been_gladiator] as @a[tag=playing] at @s run title @s subtitle [{"text":"You have ","color":"gray","bold":false},{"score":{"objective":"points","name":"@s"},"color":"dark_gray","bold":true},{"text":" points.","color":"gray","bold":false}] -execute if entity @a[tag=playing,tag=!been_gladiator] as @a[tag=playing,scores={points=1}] at @s run title @s subtitle [{"text":"You have ","color":"gray","bold":false},{"score":{"objective":"points","name":"@s"},"color":"dark_gray","bold":true},{"text":" point.","color":"gray","bold":false}] +execute if entity @a[tag=playing,tag=!been_gladiator] run title @a[tag=playing] title [{"translate":"Round ","color":"#b4ae8f","bold":true},{"score":{"objective":"game","name":"$round"},"color":"#d1c48a","bold":true}] +execute if entity @a[tag=playing,tag=!been_gladiator] as @a[tag=playing] at @s run title @s subtitle [{"translate":"You have ","color":"gray","bold":false},{"score":{"objective":"points","name":"@s"},"color":"dark_gray","bold":true},{"translate":" points.","color":"gray","bold":false}] +execute if entity @a[tag=playing,tag=!been_gladiator] as @a[tag=playing,scores={points=1}] at @s run title @s subtitle [{"translate":"You have ","color":"gray","bold":false},{"score":{"objective":"points","name":"@s"},"color":"dark_gray","bold":true},{"translate":" point.","color":"gray","bold":false}] execute if entity @a[tag=playing,tag=!been_gladiator] run function game:generation/setup_cage clear @a[tag=playing] effect clear @a[tag=playing] diff --git a/datapacks/stealth_game/data/game/functions/gameplay/rotation/main.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/rotation/main.mcfunction index 5c9cc2a..863a545 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/rotation/main.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/rotation/main.mcfunction @@ -1,5 +1,5 @@ scoreboard players remove $time side_animation 1 -execute if score $time side_animation matches 2 run scoreboard objectives modify points displayname [{"text":"|","color":"red"},{"text":" • ","color":"yellow","bold":false},{"text":"POINTS","color":"gold","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"|","color":"red"}] -execute if score $time side_animation matches 4 run scoreboard objectives modify points displayname [{"text":"/","color":"red"},{"text":" • ","color":"yellow","bold":false},{"text":"POINTS","color":"gold","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"\\","color":"red"}] -execute if score $time side_animation matches 6 run scoreboard objectives modify points displayname [{"text":"-","color":"red","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"POINTS","color":"gold","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"-","color":"red","bold":true}] +execute if score $time side_animation matches 2 run scoreboard objectives modify points displayname [{"translate":"|","color":"red"},{"translate":" • ","color":"yellow","bold":false},{"translate":"POINTS","color":"gold","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"|","color":"red"}] +execute if score $time side_animation matches 4 run scoreboard objectives modify points displayname [{"translate":"/","color":"red"},{"translate":" • ","color":"yellow","bold":false},{"translate":"POINTS","color":"gold","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"\\","color":"red"}] +execute if score $time side_animation matches 6 run scoreboard objectives modify points displayname [{"translate":"-","color":"red","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"POINTS","color":"gold","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"-","color":"red","bold":true}] execute if score $time side_animation matches 0 run function game:gameplay/rotation/update_points_sidebar \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/rotation/update_points_sidebar.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/rotation/update_points_sidebar.mcfunction index 4487316..aaa0e1c 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/rotation/update_points_sidebar.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/rotation/update_points_sidebar.mcfunction @@ -1,2 +1,2 @@ -scoreboard objectives modify points displayname [{"text":"\\","color":"red"},{"text":" • ","color":"yellow","bold":false},{"text":"POINTS","color":"gold","bold":true},{"text":" • ","color":"yellow","bold":false},{"text":"/","color":"red"}] +scoreboard objectives modify points displayname [{"translate":"\\","color":"red"},{"translate":" • ","color":"yellow","bold":false},{"translate":"POINTS","color":"gold","bold":true},{"translate":" • ","color":"yellow","bold":false},{"translate":"/","color":"red"}] scoreboard players set $time side_animation 8 \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/sneaker_cooldown.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/sneaker_cooldown.mcfunction index a4ff5ce..bfb254e 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/sneaker_cooldown.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/sneaker_cooldown.mcfunction @@ -5,10 +5,10 @@ scoreboard players reset $gladiator cooldown gamemode spectator @a[tag=playing] scoreboard players add @a[team=won] points 1 scoreboard players add @a[team=dead] points 1 -title @a[tag=playing] title [{"text":"Runners Win!","color":"gray"}] +title @a[tag=playing] title [{"translate":"Runners Win!","color":"gray"}] execute as @a[tag=playing] at @s run playsound minecraft:custom.runners_win voice @s ~ ~ ~ 1000000 1 bossbar set minecraft:game_timer players -title @a[tag=playing] subtitle [{"text":" "}] +title @a[tag=playing] subtitle [{"translate":" "}] scoreboard players add @a[team=won,tag=playing] stat_r_win 1 scoreboard players add @a[team=dead,tag=playing] stat_r_win 1 advancement grant @a[tag=playing,scores={stat_r_win=1..}] only minecraft:custom/win_as_runner diff --git a/datapacks/stealth_game/data/game/functions/gameplay/sneaker_win.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/sneaker_win.mcfunction index 9424edd..e69d970 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/sneaker_win.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/sneaker_win.mcfunction @@ -6,7 +6,7 @@ clear @s gamemode spectator @s execute as @a[tag=playing] at @s run playsound minecraft:block.note_block.chime master @s ~ ~ ~ 1 0.7 bossbar remove game_timer -bossbar add time_till_end [{"text":"The Game will be ending soon","color":"red"}] +bossbar add time_till_end [{"translate":"The Game will be ending soon","color":"red"}] execute if score $time time_till_end matches -1 run bossbar set minecraft:time_till_end players @a[tag=playing] execute if score $time time_till_end matches -1 run scoreboard players operation $time time_till_end = $set_time time_till_end @@ -77,10 +77,10 @@ execute if entity @s[tag=revived_by_49] run tag @a[tag=playing,scores={runner_id execute if entity @s[tag=revived_by_50] run tag @a[tag=playing,scores={runner_id=50}] add temp_tag # tellraws -execute if score $number mode matches 0 if entity @a[tag=playing,team=gladiator] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" has reached the end!","color":"gray"}] +execute if score $number mode matches 0 if entity @a[tag=playing,team=gladiator] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" has reached the end!","color":"gray"}] -execute if score $number mode matches 1 if entity @a[tag=playing,team=gladiator] unless entity @a[tag=temp_tag] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" has reached the end!","color":"gray"}] -execute if score $number mode matches 1 if entity @a[tag=playing,team=gladiator] if entity @a[tag=temp_tag] run tellraw @a[tag=playing] [{"selector":"@s"},{"text":" has reached the end and has awarded points to their medic ","color":"white"},{"selector":"@a[tag=temp_tag]"},{"text":".","color":"gray"}] +execute if score $number mode matches 1 if entity @a[tag=playing,team=gladiator] unless entity @a[tag=temp_tag] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" has reached the end!","color":"gray"}] +execute if score $number mode matches 1 if entity @a[tag=playing,team=gladiator] if entity @a[tag=temp_tag] run tellraw @a[tag=playing] [{"selector":"@s"},{"translate":" has reached the end and has awarded points to their medic ","color":"white"},{"selector":"@a[tag=temp_tag]"},{"translate":".","color":"gray"}] scoreboard players add @a[tag=temp_tag] points 2 tag @a[tag=temp_tag] remove temp_tag diff --git a/datapacks/stealth_game/data/game/functions/gameplay/spectator_too_far.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/spectator_too_far.mcfunction index 4af9389..b06dabf 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/spectator_too_far.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/spectator_too_far.mcfunction @@ -1,4 +1,4 @@ -tellraw @s [{"text":"Please stay in the arena!","color":"red"}] +tellraw @s [{"translate":"Please stay in the arena!","color":"red"}] playsound minecraft:block.note_block.flute master @s ~ ~ ~ 100000 0 tp @s 1021 156 -17 0 10 tp @s @p[tag=playing,team=sneaker] diff --git a/datapacks/stealth_game/data/game/functions/gameplay/spectators_leave.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/spectators_leave.mcfunction index c5fbdcb..c4b0a02 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/spectators_leave.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/spectators_leave.mcfunction @@ -1,4 +1,4 @@ execute at @s[y=220,distance=..20] run tp @s ~ 199 ~ execute at @s[y=120,distance=..20] run tp @s ~ 150 ~ -tellraw @s [{"text":"Please stay in the arena!","color":"red"}] +tellraw @s [{"translate":"Please stay in the arena!","color":"red"}] playsound minecraft:block.note_block.flute master @s ~ ~ ~ 100000 0 diff --git a/datapacks/stealth_game/data/game/functions/gameplay/start.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/start.mcfunction index 30c7bbb..83eec73 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/start.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/start.mcfunction @@ -10,9 +10,9 @@ effect give @a[tag=playing] regeneration 100000 255 true effect give @a[team=sneaker] invisibility 10000 255 true effect give @a[team=gladiator] resistance 10000 2 true gamemode adventure @a[tag=playing] -execute if score $round game matches 1 run title @a[tag=playing] subtitle [{"text":""}] -execute if score $round game matches 1 run title @a[tag=playing] title [{"text":""}] -execute if score $round game matches 1 if score $number mode matches 1 run title @a[tag=playing] title [{"text":"Round ","color":"#b4ae8f","bold":true},{"text":"1","color":"#d1c48a","bold":true}] +execute if score $round game matches 1 run title @a[tag=playing] subtitle [{"translate":""}] +execute if score $round game matches 1 run title @a[tag=playing] title [{"translate":""}] +execute if score $round game matches 1 if score $number mode matches 1 run title @a[tag=playing] title [{"translate":"Round ","color":"#b4ae8f","bold":true},{"translate":"1","color":"#d1c48a","bold":true}] clear @a[tag=playing] kill @e[type=trident,x=1000,y=66,z=0,distance=..500] kill @e[type=snowball] diff --git a/datapacks/stealth_game/data/game/functions/gameplay/start_round.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/start_round.mcfunction index c2369b4..4a73907 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/start_round.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/start_round.mcfunction @@ -9,7 +9,7 @@ scoreboard players set @a[scores={sel_g_class=7}] g_class 7 scoreboard objectives remove select_class scoreboard objectives add select_class trigger scoreboard players enable @a[tag=!playing] select_class -title @a[tag=playing] actionbar {"text":" "} +title @a[tag=playing] actionbar {"translate":" "} bossbar set lobby players @a[tag=!playing] tag @a remove infected_gladiator fill 987 125 13 1055 125 107 diamond_block replace minecraft:stone diff --git a/datapacks/stealth_game/data/game/functions/gameplay/step_on_band.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/step_on_band.mcfunction index 52b877c..d5bfbd0 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/step_on_band.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/step_on_band.mcfunction @@ -1,9 +1,9 @@ execute if block ~ 125 ~ diamond_block as @e[type=area_effect_cloud,sort=nearest,limit=1,tag=mark_band] run scoreboard players add $number band_number 1 -execute if block ~ 125 ~ diamond_block as @e[type=area_effect_cloud,sort=nearest,limit=1,tag=mark_band] run tellraw @a[tag=playing] [{"text":"A runner has reached band ","color":"red"},{"text":"#","bold":true,"color":"dark_red"},{"score":{"objective":"band_number","name":"$number"},"color":"dark_red","bold":true}] +execute if block ~ 125 ~ diamond_block as @e[type=area_effect_cloud,sort=nearest,limit=1,tag=mark_band] run tellraw @a[tag=playing] [{"translate":"A runner has reached band ","color":"red"},{"translate":"#","bold":true,"color":"dark_red"},{"score":{"objective":"band_number","name":"$number"},"color":"dark_red","bold":true}] execute if block ~ 125 ~ diamond_block as @e[type=area_effect_cloud,sort=nearest,limit=1,tag=mark_band] as @a[tag=playing] at @s run playsound minecraft:block.note_block.chime master @s ~ ~ ~ 100000 0 execute if block ~ 125 ~ diamond_block as @e[type=area_effect_cloud,sort=nearest,limit=1,tag=mark_band] at @s run fill ~ 125 ~ ~68 125 ~-4 stone replace diamond_block scoreboard players operation $correct_band band_number = $number band_number scoreboard players add $correct_band band_number 2 clear @a[team=gladiator] carrot_on_a_stick{CustomModelData:5} -execute as @a[team=gladiator,scores={g_class=3,drop_trap=1..}] at @s run give @s snow{CustomModelData:1,display:{Name:'{"text":"Trap","color":"dark_red","italic":false}'},HideFlags:63} +execute as @a[team=gladiator,scores={g_class=3,drop_trap=1..}] at @s run give @s snow{CustomModelData:1,display:{Name:'{"translate":"Trap","color":"dark_red","italic":false}'},HideFlags:63} scoreboard players remove @a[team=gladiator,scores={g_class=3,drop_trap=1..}] drop_trap 1 diff --git a/datapacks/stealth_game/data/game/functions/gameplay/timer_over.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/timer_over.mcfunction index 32b2ce4..267c399 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/timer_over.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/timer_over.mcfunction @@ -1,3 +1,3 @@ -tellraw @a[tag=playing] {"text":"Time is up! The runners didn't touch the finish line this game.","color":"gold"} -bossbar set game_timer name [{"text":"⚠","color":"yellow"},{"text":" - Time is up! - ","color":"gold"},{"text":"⚠","color":"yellow"}] +tellraw @a[tag=playing] {"translate":"Time is up! The runners didn't touch the finish line this game.","color":"gold"} +bossbar set game_timer name [{"translate":"⚠","color":"yellow"},{"translate":" - Time is up! - ","color":"gold"},{"translate":"⚠","color":"yellow"}] function game:gameplay/gladiator_cooldown \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/update_bossbar.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/update_bossbar.mcfunction index 4c34e93..10b35b8 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/update_bossbar.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/update_bossbar.mcfunction @@ -7,6 +7,6 @@ scoreboard players operation $second bossbar_time = $time game_timer scoreboard players operation $second bossbar_time -= $calculate bossbar_time scoreboard players operation $second bossbar_time /= 20 number scoreboard players set $time alternate_second 20 -execute if score $second bossbar_time matches 10.. run bossbar set minecraft:game_timer name [{"text":"Time remaining: ","color":"gold"},{"score":{"objective":"bossbar_time","name":"$minute"},"color":"red"},{"text":":","color":"dark_red"},{"score":{"objective":"bossbar_time","name":"$second"},"color":"red"}] -execute if score $second bossbar_time matches ..9 run bossbar set minecraft:game_timer name [{"text":"Time remaining: ","color":"gold"},{"score":{"objective":"bossbar_time","name":"$minute"},"color":"red"},{"text":":","color":"dark_red"},{"text":"0","color":"red"},{"score":{"objective":"bossbar_time","name":"$second"},"color":"red"}] +execute if score $second bossbar_time matches 10.. run bossbar set minecraft:game_timer name [{"translate":"Time remaining: ","color":"gold"},{"score":{"objective":"bossbar_time","name":"$minute"},"color":"red"},{"translate":":","color":"dark_red"},{"score":{"objective":"bossbar_time","name":"$second"},"color":"red"}] +execute if score $second bossbar_time matches ..9 run bossbar set minecraft:game_timer name [{"translate":"Time remaining: ","color":"gold"},{"score":{"objective":"bossbar_time","name":"$minute"},"color":"red"},{"translate":":","color":"dark_red"},{"translate":"0","color":"red"},{"score":{"objective":"bossbar_time","name":"$second"},"color":"red"}] execute if score $time coolown matches -1 if score $minute bossbar_time matches 0 if score $second bossbar_time matches ..10 run function game:gameplay/game_timer_warning \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/gameplay/update_end_bossbar.mcfunction b/datapacks/stealth_game/data/game/functions/gameplay/update_end_bossbar.mcfunction index 60587d7..0b735fc 100644 --- a/datapacks/stealth_game/data/game/functions/gameplay/update_end_bossbar.mcfunction +++ b/datapacks/stealth_game/data/game/functions/gameplay/update_end_bossbar.mcfunction @@ -7,6 +7,6 @@ scoreboard players operation $second bossbar_time = $time time_till_end scoreboard players operation $second bossbar_time -= $calculate bossbar_time scoreboard players operation $second bossbar_time /= 20 number scoreboard players set $time alternate_second 20 -execute if score $second bossbar_time matches 10.. run bossbar set minecraft:time_till_end name [{"text":"Time remaining: ","color":"gold"},{"score":{"objective":"bossbar_time","name":"$minute"},"color":"red"},{"text":":","color":"dark_red"},{"score":{"objective":"bossbar_time","name":"$second"},"color":"red"}] -execute if score $second bossbar_time matches ..9 run bossbar set minecraft:time_till_end name [{"text":"Time remaining: ","color":"gold"},{"score":{"objective":"bossbar_time","name":"$minute"},"color":"red"},{"text":":","color":"dark_red"},{"text":"0","color":"red"},{"score":{"objective":"bossbar_time","name":"$second"},"color":"red"}] +execute if score $second bossbar_time matches 10.. run bossbar set minecraft:time_till_end name [{"translate":"Time remaining: ","color":"gold"},{"score":{"objective":"bossbar_time","name":"$minute"},"color":"red"},{"translate":":","color":"dark_red"},{"score":{"objective":"bossbar_time","name":"$second"},"color":"red"}] +execute if score $second bossbar_time matches ..9 run bossbar set minecraft:time_till_end name [{"translate":"Time remaining: ","color":"gold"},{"score":{"objective":"bossbar_time","name":"$minute"},"color":"red"},{"translate":":","color":"dark_red"},{"translate":"0","color":"red"},{"score":{"objective":"bossbar_time","name":"$second"},"color":"red"}] execute if score $time coolown matches -1 if score $minute bossbar_time matches 0 if score $second bossbar_time matches ..10 run function game:gameplay/end_timer_warning \ No newline at end of file diff --git a/datapacks/stealth_game/data/game/functions/start.mcfunction b/datapacks/stealth_game/data/game/functions/start.mcfunction index ab8531e..60504fe 100644 --- a/datapacks/stealth_game/data/game/functions/start.mcfunction +++ b/datapacks/stealth_game/data/game/functions/start.mcfunction @@ -1,7 +1,7 @@ scoreboard players set $time startup_timer -1 tag @a[scores={ready=1..}] add playing -title @a[tag=!playing] title {"text":" "} -title @a[tag=!playing] subtitle {"text":" "} +title @a[tag=!playing] title {"translate":" "} +title @a[tag=!playing] subtitle {"translate":" "} execute if entity @a[tag=playing,tag=rider_0] as @e[type=horse,tag=rider_0] at @s run function lobby:remove_mob execute if entity @a[tag=playing,tag=rider_1] as @e[type=horse,tag=rider_1] at @s run function lobby:remove_mob execute if entity @a[tag=playing,tag=rider_2] as @e[type=horse,tag=rider_2] at @s run function lobby:remove_mob @@ -127,19 +127,19 @@ clear @a carrot_on_a_stick{CustomModelData:2} effect clear @a[tag=playing] scoreboard players set $game state 1 scoreboard players set $time game -20 -title @a[tag=playing] title [{"text":" "}] -title @a[tag=playing] subtitle {"text":"Generation in progress . . .","color":"red","italic":true} +title @a[tag=playing] title [{"translate":" "}] +title @a[tag=playing] subtitle {"translate":"Generation in progress . . .","color":"red","italic":true} title @a times 0 500 5 effect give @a[tag=playing] blindness 100 255 true effect give @a[tag=playing] levitation 100 255 true -item replace entity @a[tag=playing] armor.head with carved_pumpkin{HideFlags:63,Enchantments:[{id:"binding_curse",lvl:1}],display:{Name:'[{"text":"CR Logo","color":"dark_aqua","bold":false,"italic":false}]'},CustomModelData:1} +item replace entity @a[tag=playing] armor.head with carved_pumpkin{HideFlags:63,Enchantments:[{id:"binding_curse",lvl:1}],display:{Name:'[{"translate":"CR Logo","color":"dark_aqua","bold":false,"italic":false}]'},CustomModelData:1} scoreboard objectives remove playing function game:gameplay/start_game execute if score $number mode matches 1 run function game:gameplay/rotation/start_game scoreboard players set $round game 1 bossbar set lobby players @a[tag=!playing] -execute if score $number mode matches 1 if score $number infection matches 0 run tellraw @a[tag=playing] [{"text":""},{"text":"Stealthiators","color":"dark_gray","bold":true},{"text":" Rotation Mode","color":"gold","bold":true},{"text":"\nIn this mode, everyone gets a chance to be a gladiator. Your goal is to be the player with the most points. You can earn points by doing the following actions:","color":"#9c9558"},{"text":"\nCrossing a band as a runner | 1 point","color":"gray"},{"text":"\nStepping on the finish line as a runner | 5 points","color":"gray"},{"text":"\nStepping on the finish line first | 1 point","color":"yellow"},{"text":"\nRunners winning the round | 1 point","color":"gray"},{"text":"\nA player you revived stepping on finish line | 2 points","color":"gray"},{"text":"\nKilling someone as a gladiator | 2 points","color":"red"},{"text":"\nGladiators winning the round | 4 points","color":"red"}] -execute if score $number mode matches 1 if score $number infection matches 1 run tellraw @a[tag=playing] [{"text":""},{"text":"Stealthiators","color":"dark_gray","bold":true},{"text":" Rotation Mode","color":"gold","bold":true},{"text":"\nIn this mode, everyone gets a chance to be a gladiator. Your goal is to be the player with the most points. You can earn points by doing the following actions:","color":"#9c9558"},{"text":"\nCrossing a band as a runner | 1 point","color":"gray"},{"text":"\nStepping on the finish line as a runner | 5 points","color":"gray"},{"text":"\nStepping on the finish line first | 1 point","color":"yellow"},{"text":"\nRunners winning the round | 1 point","color":"gray"},{"text":"\nA player you revived stepping on finish line | 2 points","color":"gray"},{"text":"\nKilling someone as a gladiator | 2 points","color":"red"},{"text":"\nGladiators winning the round | 4 points","color":"red"},{"text":"\nWinning the round as an infected gladiator | 1 point","color":"red"}] +execute if score $number mode matches 1 if score $number infection matches 0 run tellraw @a[tag=playing] [{"translate":""},{"translate":"Stealthiators","color":"dark_gray","bold":true},{"translate":" Rotation Mode","color":"gold","bold":true},{"translate":"\nIn this mode, everyone gets a chance to be a gladiator. Your goal is to be the player with the most points. You can earn points by doing the following actions:","color":"#9c9558"},{"translate":"\nCrossing a band as a runner | 1 point","color":"gray"},{"translate":"\nStepping on the finish line as a runner | 5 points","color":"gray"},{"translate":"\nStepping on the finish line first | 1 point","color":"yellow"},{"translate":"\nRunners winning the round | 1 point","color":"gray"},{"translate":"\nA player you revived stepping on finish line | 2 points","color":"gray"},{"translate":"\nKilling someone as a gladiator | 2 points","color":"red"},{"translate":"\nGladiators winning the round | 4 points","color":"red"}] +execute if score $number mode matches 1 if score $number infection matches 1 run tellraw @a[tag=playing] [{"translate":""},{"translate":"Stealthiators","color":"dark_gray","bold":true},{"translate":" Rotation Mode","color":"gold","bold":true},{"translate":"\nIn this mode, everyone gets a chance to be a gladiator. Your goal is to be the player with the most points. You can earn points by doing the following actions:","color":"#9c9558"},{"translate":"\nCrossing a band as a runner | 1 point","color":"gray"},{"translate":"\nStepping on the finish line as a runner | 5 points","color":"gray"},{"translate":"\nStepping on the finish line first | 1 point","color":"yellow"},{"translate":"\nRunners winning the round | 1 point","color":"gray"},{"translate":"\nA player you revived stepping on finish line | 2 points","color":"gray"},{"translate":"\nKilling someone as a gladiator | 2 points","color":"red"},{"translate":"\nGladiators winning the round | 4 points","color":"red"},{"translate":"\nWinning the round as an infected gladiator | 1 point","color":"red"}] scoreboard players set $player_finish game 0 scoreboard players set $players number 0 execute as @a[tag=playing] at @s run scoreboard players add $players number 1 diff --git a/datapacks/stealth_game/data/general/functions/join_game.mcfunction b/datapacks/stealth_game/data/general/functions/join_game.mcfunction index dad4b14..e2bc76a 100644 --- a/datapacks/stealth_game/data/general/functions/join_game.mcfunction +++ b/datapacks/stealth_game/data/general/functions/join_game.mcfunction @@ -13,12 +13,12 @@ function general:rank ##intro startup: title @s times 60 20 20 -title @s title {"text":" "} -title @s subtitle {"text":" "} +title @s title {"translate":" "} +title @s subtitle {"translate":" "} scoreboard players set @s intro 0 effect give @s blindness 6 255 true effect give @s slow_falling 6 255 true -item replace entity @s armor.head with carved_pumpkin{HideFlags:63,Enchantments:[{id:"binding_curse",lvl:1}],display:{Name:'[{"text":"CR Logo","color":"dark_aqua","bold":false,"italic":false}]'},CustomModelData:1} +item replace entity @s armor.head with carved_pumpkin{HideFlags:63,Enchantments:[{id:"binding_curse",lvl:1}],display:{Name:'[{"translate":"CR Logo","color":"dark_aqua","bold":false,"italic":false}]'},CustomModelData:1} execute as @a at @s unless entity @s[scores={new_player=1}] run playsound minecraft:block.note_block.cow_bell master @s ~ ~ ~ 1 0.6 playsound minecraft:entity.wither.death master @s ~ ~ ~ 100 2 scoreboard players set @s ready 1 diff --git a/datapacks/stealth_game/data/general/functions/objectives.mcfunction b/datapacks/stealth_game/data/general/functions/objectives.mcfunction index 0c4e2d9..a6225c8 100644 --- a/datapacks/stealth_game/data/general/functions/objectives.mcfunction +++ b/datapacks/stealth_game/data/general/functions/objectives.mcfunction @@ -25,35 +25,35 @@ team modify lead color gray team modify lobby color gray team modify manager color gray team modify art color gray -team modify test prefix {"text":"(Tester) ","color":"gray"} -team modify help prefix {"text":"[Helper] ","color":"dark_gray"} -team modify bld prefix {"text":"{Builder} ","color":"blue"} -team modify prg prefix {"text":"{Programmer} ","color":"red"} -team modify srbld prefix {"text":"{Sr. Builder} ","color":"dark_blue"} -team modify srprg prefix {"text":"{Sr. Programmer} ","color":"dark_red"} -team modify lead prefix [{"text":"{","color":"dark_purple","bold":true},{"text":"Project Lead","bold":false},{"text":"} ","bold":true}] -team modify manager prefix {"text":"{Manager} ","color":"yellow"} -team modify art prefix {"text":"{Artist} ","color":"green"} +team modify test prefix {"translate":"(Tester) ","color":"gray"} +team modify help prefix {"translate":"[Helper] ","color":"dark_gray"} +team modify bld prefix {"translate":"{Builder} ","color":"blue"} +team modify prg prefix {"translate":"{Programmer} ","color":"red"} +team modify srbld prefix {"translate":"{Sr. Builder} ","color":"dark_blue"} +team modify srprg prefix {"translate":"{Sr. Programmer} ","color":"dark_red"} +team modify lead prefix [{"translate":"{","color":"dark_purple","bold":true},{"translate":"Project Lead","bold":false},{"translate":"} ","bold":true}] +team modify manager prefix {"translate":"{Manager} ","color":"yellow"} +team modify art prefix {"translate":"{Artist} ","color":"green"} team add submitter team modify submitter color gray -team modify submitter prefix [{"text":"(","color":"gold","bold":true},{"text":"Submitter","bold":false,"color":"gray"},{"text":") ","bold":true}] +team modify submitter prefix [{"translate":"(","color":"gold","bold":true},{"translate":"Submitter","bold":false,"color":"gray"},{"translate":") ","bold":true}] team add melon team modify melon color gray -team modify melon prefix [{"text":"(","color":"red","bold":false},{"text":"Melon","bold":true,"color":"green"},{"text":") ","bold":false,"color":"red"}] +team modify melon prefix [{"translate":"(","color":"red","bold":false},{"translate":"Melon","bold":true,"color":"green"},{"translate":") ","bold":false,"color":"red"}] team add pc_role team modify pc_role color gray -team modify pc_role prefix [{"text":"(","color":"dark_gray","bold":false},{"text":"pc","bold":true,"color":"green"},{"text":") ","bold":false,"color":"dark_gray"}] +team modify pc_role prefix [{"translate":"(","color":"dark_gray","bold":false},{"translate":"pc","bold":true,"color":"green"},{"translate":") ","bold":false,"color":"dark_gray"}] team add prefix team modify prefix color gray -team modify prefix prefix [{"text":"[","color":"dark_gray","bold":true},{"text":"Sneaky Sneaker","color":"gray","bold":false},{"text":"] ","color":"dark_gray","bold":true}] +team modify prefix prefix [{"translate":"[","color":"dark_gray","bold":true},{"translate":"Sneaky Sneaker","color":"gray","bold":false},{"translate":"] ","color":"dark_gray","bold":true}] team add tournament team modify tournament color gray -team modify tournament prefix [{"text":"(","color":"dark_gray","bold":true},{"text":"Tournament","color":"gray","bold":false},{"text":") ","color":"dark_gray","bold":true}] +team modify tournament prefix [{"translate":"(","color":"dark_gray","bold":true},{"translate":"Tournament","color":"gray","bold":false},{"translate":") ","color":"dark_gray","bold":true}] scoreboard objectives add new_player dummy scoreboard objectives add leave_game minecraft.custom:minecraft.leave_game @@ -80,24 +80,24 @@ team add gladiator team add sneaker team modify gladiator color gold team modify sneaker color dark_gray -team modify gladiator prefix [{"text":"[","color":"dark_gray","bold":true},{"text":"Gladiator","bold":false,"color":"red"},{"text":"] ","color":"dark_gray","bold":true}] -team modify sneaker prefix [{"text":"[","color":"dark_gray","bold":true},{"text":"Runner","bold":false,"color":"#8a8a8a"},{"text":"] ","color":"dark_gray","bold":true}] +team modify gladiator prefix [{"translate":"[","color":"dark_gray","bold":true},{"translate":"Gladiator","bold":false,"color":"red"},{"translate":"] ","color":"dark_gray","bold":true}] +team modify sneaker prefix [{"translate":"[","color":"dark_gray","bold":true},{"translate":"Runner","bold":false,"color":"#8a8a8a"},{"translate":"] ","color":"dark_gray","bold":true}] team modify sneaker collisionRule never team modify gladiator collisionRule never team add cr team modify cr color gray -team modify cr prefix [{"text":"{","color":"white","bold":true},{"text":"C","color":"aqua","bold":true},{"text":"R","color":"dark_aqua","bold":true},{"text":"} ","color":"white","bold":true}] +team modify cr prefix [{"translate":"{","color":"white","bold":true},{"translate":"C","color":"aqua","bold":true},{"translate":"R","color":"dark_aqua","bold":true},{"translate":"} ","color":"white","bold":true}] team add dead team modify dead color red -team modify dead prefix [{"text":"(","color":"dark_red","bold":true},{"text":"Out","bold":false,"color":"red"},{"text":") ","color":"dark_red","bold":true}] +team modify dead prefix [{"translate":"(","color":"dark_red","bold":true},{"translate":"Out","bold":false,"color":"red"},{"translate":") ","color":"dark_red","bold":true}] scoreboard objectives add dash_cooldown dummy scoreboard objectives add door_cooldown dummy scoreboard objectives add time_till_end dummy scoreboard players add $set_time time_till_end 0 execute if score $set_time time_till_end matches 0 run scoreboard players set $set_time time_till_end 600 team add won -team modify won prefix [{"text":"(","bold":true,"color":"#9c9558"},{"text":"Winner","color":"gold","bold":false},{"text":") ","bold":true,"color":"#9c9558"}] +team modify won prefix [{"translate":"(","bold":true,"color":"#9c9558"},{"translate":"Winner","color":"gold","bold":false},{"translate":") ","bold":true,"color":"#9c9558"}] team modify won color gold team add lobby team modify lobby color gray @@ -138,7 +138,7 @@ gamerule commandBlockOutput false scoreboard objectives add arbalist_arrow dummy scoreboard objectives add revives dummy bossbar remove lobby -bossbar add lobby [{"text":" | ","color":"red","obfuscated":true,"bold":false},{"text":"Stealthiators","color":"dark_gray","bold":true,"obfuscated":false},{"text":" - ","color":"gray","bold":false,"obfuscated":false},{"text":"By the ","color":"white","obfuscated":false,"underlined":false,"extra":[{"text":"Command","color":"aqua","bold":true,"obfuscated":false,"extra":[{"text":" Realm","color":"dark_aqua","extra":[{"text":" Team","bold":false,"color":"white"}]}]}]},{"text":" | ","color":"red","obfuscated":true,"bold":false}] +bossbar add lobby [{"translate":" | ","color":"red","obfuscated":true,"bold":false},{"translate":"Stealthiators","color":"dark_gray","bold":true,"obfuscated":false},{"translate":" - ","color":"gray","bold":false,"obfuscated":false},{"translate":"By the ","color":"white","obfuscated":false,"underlined":false,"extra":[{"translate":"Command","color":"aqua","bold":true,"obfuscated":false,"extra":[{"translate":" Realm","color":"dark_aqua","extra":[{"translate":" Team","bold":false,"color":"white"}]}]}]},{"translate":" | ","color":"red","obfuscated":true,"bold":false}] bossbar set lobby color yellow bossbar set lobby players @a[tag=!playing] bossbar set lobby max 1 @@ -167,53 +167,53 @@ scoreboard objectives add mode dummy scoreboard players add $number mode 0 scoreboard objectives add side_animation dummy -team modify sneaker displayName {"text":"Runners","color":"gray"} -team modify gladiator displayName {"text":"Gladiators","color":"red"} -team modify dead displayName {"text":"Out","color":"red"} +team modify sneaker displayName {"translate":"Runners","color":"gray"} +team modify gladiator displayName {"translate":"Gladiators","color":"red"} +team modify dead displayName {"translate":"Out","color":"red"} scoreboard objectives add death_msg dummy kill @e[type=area_effect_cloud,tag=tutorial_text] -summon area_effect_cloud 157 81 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"Every "},{"text":"runner\'s","color":"gray"},{"text":" goal is to reach the","color":"white"}]'} -summon area_effect_cloud 157 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"end of the map without getting caught."}]'} +summon area_effect_cloud 157 81 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"Every "},{"translate":"runner\'s","color":"gray"},{"translate":" goal is to reach the","color":"white"}]'} +summon area_effect_cloud 157 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"end of the map without getting caught."}]'} -summon area_effect_cloud 157 80.25 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"Only the "},{"text":"runner\'s","color":"gray"},{"text":" feet are visible,","color":"white"}]'} -summon area_effect_cloud 157 80.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"meaning you can hide behind single blocks."}]'} +summon area_effect_cloud 157 80.25 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"Only the "},{"translate":"runner\'s","color":"gray"},{"translate":" feet are visible,","color":"white"}]'} +summon area_effect_cloud 157 80.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"meaning you can hide behind single blocks."}]'} -summon area_effect_cloud 163.75 81 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"The map randomly generates at the start of each game."}]'} -summon area_effect_cloud 163.75 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"The width of each area becomes"}]'} -summon area_effect_cloud 163.75 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"progressively smaller near the finish line."}]'} +summon area_effect_cloud 163.75 81 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"The map randomly generates at the start of each game."}]'} +summon area_effect_cloud 163.75 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"The width of each area becomes"}]'} +summon area_effect_cloud 163.75 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"progressively smaller near the finish line."}]'} -summon area_effect_cloud 171.0 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"There are basalt bands between each segment."}]'} -summon area_effect_cloud 171.0 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"Crossing a new band will notify the "},{"text":"gladiators.","color":"red"}]'} +summon area_effect_cloud 171.0 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"There are basalt bands between each segment."}]'} +summon area_effect_cloud 171.0 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"Crossing a new band will notify the "},{"translate":"gladiators.","color":"red"}]'} -summon area_effect_cloud 178.0 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"The "},{"text":"gladiator\'s","color":"red"},{"text":" goal is to stop the runners","color":"white"}]'} -summon area_effect_cloud 178.0 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"from reaching the finish line."}]'} -summon area_effect_cloud 183.5 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"Gladiators","color":"red"},{"text":" can eliminate ","color":"white"},{"text":"runners","color":"gray"}]'} -summon area_effect_cloud 183.5 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"in a single hit by throwing their trident","color":"white"}]'} -summon area_effect_cloud 183.5 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"or punching them.","color":"white"}]'} +summon area_effect_cloud 178.0 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"The "},{"translate":"gladiator\'s","color":"red"},{"translate":" goal is to stop the runners","color":"white"}]'} +summon area_effect_cloud 178.0 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"from reaching the finish line."}]'} +summon area_effect_cloud 183.5 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"Gladiators","color":"red"},{"translate":" can eliminate ","color":"white"},{"translate":"runners","color":"gray"}]'} +summon area_effect_cloud 183.5 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"in a single hit by throwing their trident","color":"white"}]'} +summon area_effect_cloud 183.5 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"or punching them.","color":"white"}]'} -summon area_effect_cloud 188.75 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"Gladiators","color":"red"},{"text":" have a dash item","color":"white"}]'} -summon area_effect_cloud 188.75 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"as well as a \\"backdoor\\" item","color":"white"}]'} -summon area_effect_cloud 188.75 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"that will warp them","color":"white"}]'} -summon area_effect_cloud 188.75 80.25 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"two bands back from"}]'} -summon area_effect_cloud 188.75 80.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"the farthest ahead ","color":"white"},{"text":"runner.","color":"gray"}]'} -summon area_effect_cloud 188.75 79.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"You want to use this if a"}]'} -summon area_effect_cloud 188.75 79.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"runner","color":"gray"},{"text":" gets beyond you.","color":"white"}]'} +summon area_effect_cloud 188.75 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"Gladiators","color":"red"},{"translate":" have a dash item","color":"white"}]'} +summon area_effect_cloud 188.75 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"as well as a \\"backdoor\\" item","color":"white"}]'} +summon area_effect_cloud 188.75 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"that will warp them","color":"white"}]'} +summon area_effect_cloud 188.75 80.25 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"two bands back from"}]'} +summon area_effect_cloud 188.75 80.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"the farthest ahead ","color":"white"},{"translate":"runner.","color":"gray"}]'} +summon area_effect_cloud 188.75 79.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"You want to use this if a"}]'} +summon area_effect_cloud 188.75 79.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"runner","color":"gray"},{"translate":" gets beyond you.","color":"white"}]'} -summon area_effect_cloud 192.65 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"The "},{"text":"gladiators","color":"red"},{"text":" win the match","color":"white"}]'} -summon area_effect_cloud 192.65 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"as long as they stop at least"}]'} -summon area_effect_cloud 192.65 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"half of the "},{"text":"runners","color":"gray"}]'} -summon area_effect_cloud 192.65 80.25 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"from reaching the end.","color":"white"}]'} +summon area_effect_cloud 192.65 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"The "},{"translate":"gladiators","color":"red"},{"translate":" win the match","color":"white"}]'} +summon area_effect_cloud 192.65 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"as long as they stop at least"}]'} +summon area_effect_cloud 192.65 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"half of the "},{"translate":"runners","color":"gray"}]'} +summon area_effect_cloud 192.65 80.25 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"from reaching the end.","color":"white"}]'} -summon area_effect_cloud 196.65 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"Eliminated "},{"text":"runners","color":"gray"},{"text":" can still win ","color":"white"}]'} -summon area_effect_cloud 196.65 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"the match as long as half of"}]'} -summon area_effect_cloud 196.65 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"the original "},{"text":"runners","color":"gray"}]'} -summon area_effect_cloud 196.65 80.25 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"touch the finish line.","color":"white"}]'} +summon area_effect_cloud 196.65 81.0 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"Eliminated "},{"translate":"runners","color":"gray"},{"translate":" can still win ","color":"white"}]'} +summon area_effect_cloud 196.65 80.75 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"the match as long as half of"}]'} +summon area_effect_cloud 196.65 80.5 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"the original "},{"translate":"runners","color":"gray"}]'} +summon area_effect_cloud 196.65 80.25 -108 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"touch the finish line.","color":"white"}]'} -summon area_effect_cloud 200 81.25 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"Each team has four","color":"white"}]'} -summon area_effect_cloud 200 81.0 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"custom classes.","color":"white"}]'} -summon area_effect_cloud 200 80.75 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"You can select them in","color":"white"}]'} -summon area_effect_cloud 200 80.5 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"your book or during the","color":"white"}]'} -summon area_effect_cloud 200 80.25 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"text":"warmup phase of the game.","color":"white"}]'} +summon area_effect_cloud 200 81.25 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"Each team has four","color":"white"}]'} +summon area_effect_cloud 200 81.0 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"custom classes.","color":"white"}]'} +summon area_effect_cloud 200 80.75 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"You can select them in","color":"white"}]'} +summon area_effect_cloud 200 80.5 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"your book or during the","color":"white"}]'} +summon area_effect_cloud 200 80.25 -106.25 {Duration:100000000,Tags:["tutorial_text"],CustomNameVisible:1,CustomName:'[{"translate":"warmup phase of the game.","color":"white"}]'} @@ -273,9 +273,9 @@ team add green team modify green color green kill @e[type=area_effect_cloud,tag=target_text] scoreboard players set $highscore lobby_minigame 0 -summon area_effect_cloud 45 74.0 3 {Duration:1000000,Tags:["target_text"],CustomNameVisible:1,CustomName:'[{"text":"Gladiator Practice","color":"#9c9558","bold":true}]'} -summon area_effect_cloud 45 73.75 3 {Duration:1000000,Tags:["target_text","highscore_nameplate"],CustomNameVisible:1,CustomName:'[{"text":"Highscore: ","color":"gold"},{"text":"None","color":"yellow"}]'} -summon area_effect_cloud 45 73.5 3 {Duration:1000000,Tags:["target_text","highscore_nameplate","get_highscore_name"],CustomNameVisible:1,CustomName:'[{"text":"Held by: ","color":"dark_green"},{"text":"No one","color":"green"}]'} +summon area_effect_cloud 45 74.0 3 {Duration:1000000,Tags:["target_text"],CustomNameVisible:1,CustomName:'[{"translate":"Gladiator Practice","color":"#9c9558","bold":true}]'} +summon area_effect_cloud 45 73.75 3 {Duration:1000000,Tags:["target_text","highscore_nameplate"],CustomNameVisible:1,CustomName:'[{"translate":"Highscore: ","color":"gold"},{"translate":"None","color":"yellow"}]'} +summon area_effect_cloud 45 73.5 3 {Duration:1000000,Tags:["target_text","highscore_nameplate","get_highscore_name"],CustomNameVisible:1,CustomName:'[{"translate":"Held by: ","color":"dark_green"},{"translate":"No one","color":"green"}]'} scoreboard objectives add alt_trident dummy scoreboard objectives add auto_ready dummy scoreboard players add $number auto_ready 0 @@ -296,12 +296,12 @@ scoreboard objectives add stat_g_win dummy scoreboard objectives add stat_bands dummy scoreboard objectives add stat_punches dummy team add spectator -team modify spectator displayName {"text":"Spectator"} -team modify spectator prefix [{"text":"[","color":"gray","bold":true},{"text":"Spectator","color":"white","bold":false},{"text":"] ","color":"gray","bold":true}] +team modify spectator displayName {"translate":"Spectator"} +team modify spectator prefix [{"translate":"[","color":"gray","bold":true},{"translate":"Spectator","color":"white","bold":false},{"translate":"] ","color":"gray","bold":true}] team add waiting -team modify waiting displayName {"text":"Waiting"} -team modify waiting prefix [{"text":"[","color":"dark_gray","bold":true},{"text":"Waiting","color":"gray","bold":false},{"text":"] ","color":"dark_gray","bold":true}] +team modify waiting displayName {"translate":"Waiting"} +team modify waiting prefix [{"translate":"[","color":"dark_gray","bold":true},{"translate":"Waiting","color":"gray","bold":false},{"translate":"] ","color":"dark_gray","bold":true}] scoreboard objectives add resetting dummy scoreboard objectives add adv_run dummy gamerule reducedDebugInfo true @@ -314,7 +314,7 @@ team modify yellow color yellow scoreboard objectives add pregame dummy kill @e[type=area_effect_cloud,tag=start_button_text] -summon area_effect_cloud 34 71 -40 {Duration:1000000,Tags:["start_button_text"],CustomNameVisible:1,CustomName:'[{"text":"- ","color":"gray"},{"text":"🗡","color":"#9c9558","bold":true},{"text":" Start ","color":"gold"},{"text":"🗡","color":"#9c9558","bold":true},{"text":" -","color":"gray"}]'} +summon area_effect_cloud 34 71 -40 {Duration:1000000,Tags:["start_button_text"],CustomNameVisible:1,CustomName:'[{"translate":"- ","color":"gray"},{"translate":"🗡","color":"#9c9558","bold":true},{"translate":" Start ","color":"gold"},{"translate":"🗡","color":"#9c9558","bold":true},{"translate":" -","color":"gray"}]'} scoreboard objectives add drop_ready_book minecraft.dropped:minecraft.carrot_on_a_stick diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/g_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/g_1.mcfunction index 4485088..adbc436 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/g_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/g_1.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_g_class=1}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={sel_g_class=1}] run tellraw @s {"text":"Athlete selected.","color":"#ba666a"} +tellraw @s[scores={sel_g_class=1}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={sel_g_class=1}] run tellraw @s {"translate":"Athlete selected.","color":"#ba666a"} scoreboard players set @s sel_g_class 1 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/g_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/g_2.mcfunction index 2e490bf..1ea8ca6 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/g_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/g_2.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_g_class=2}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={sel_g_class=2}] run tellraw @s {"text":"Locator selected.","color":"#ba666a"} +tellraw @s[scores={sel_g_class=2}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={sel_g_class=2}] run tellraw @s {"translate":"Locator selected.","color":"#ba666a"} scoreboard players set @s sel_g_class 2 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/g_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/g_3.mcfunction index 11f1a1e..46f938a 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/g_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/g_3.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_g_class=3}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={sel_g_class=3}] run tellraw @s {"text":"Trapper selected.","color":"#ba666a"} +tellraw @s[scores={sel_g_class=3}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={sel_g_class=3}] run tellraw @s {"translate":"Trapper selected.","color":"#ba666a"} scoreboard players set @s sel_g_class 3 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/g_4.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/g_4.mcfunction index 5c1a13b..bb0e33d 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/g_4.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/g_4.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_g_class=4}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={sel_g_class=4}] run tellraw @s {"text":"Arbalist selected.","color":"#ba666a"} +tellraw @s[scores={sel_g_class=4}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={sel_g_class=4}] run tellraw @s {"translate":"Arbalist selected.","color":"#ba666a"} scoreboard players set @s sel_g_class 4 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/g_5.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/g_5.mcfunction index addd002..7fb7bdf 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/g_5.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/g_5.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_g_class=5}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={sel_g_class=5}] run tellraw @s {"text":"Specter selected.","color":"#ba666a"} +tellraw @s[scores={sel_g_class=5}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={sel_g_class=5}] run tellraw @s {"translate":"Specter selected.","color":"#ba666a"} scoreboard players set @s sel_g_class 5 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/g_6.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/g_6.mcfunction index 0d1e3e6..8358f1a 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/g_6.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/g_6.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_g_class=6}] {"text":"You have already selected this class.","color":"red"} -execute unless entity @s[scores={sel_g_class=6}] run tellraw @s {"text":"Foreseer selected.","color":"#ba666a"} +tellraw @s[scores={sel_g_class=6}] {"translate":"You have already selected this class.","color":"red"} +execute unless entity @s[scores={sel_g_class=6}] run tellraw @s {"translate":"Foreseer selected.","color":"#ba666a"} scoreboard players set @s sel_g_class 6 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/g_r.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/g_r.mcfunction index 03b4867..c6f7843 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/g_r.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/g_r.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_g_class=5}] {"text":"Random is already selected.","color":"red"} -execute unless entity @s[scores={sel_g_class=5}] run tellraw @s {"text":"Random selected.","color":"#ba666a"} +tellraw @s[scores={sel_g_class=5}] {"translate":"Random is already selected.","color":"red"} +execute unless entity @s[scores={sel_g_class=5}] run tellraw @s {"translate":"Random selected.","color":"#ba666a"} scoreboard players set @s sel_g_class 7 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/r_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/r_1.mcfunction index 2a53b19..0b93103 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/r_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/r_1.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_r_class=1}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={sel_r_class=1}] run tellraw @s {"text":"Brawler selected.","color":"gray"} +tellraw @s[scores={sel_r_class=1}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={sel_r_class=1}] run tellraw @s {"translate":"Brawler selected.","color":"gray"} scoreboard players set @s sel_r_class 1 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/r_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/r_2.mcfunction index da8f1f4..29a9de2 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/r_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/r_2.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_r_class=2}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={sel_r_class=2}] run tellraw @s {"text":"Alchemist selected.","color":"gray"} +tellraw @s[scores={sel_r_class=2}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={sel_r_class=2}] run tellraw @s {"translate":"Alchemist selected.","color":"gray"} scoreboard players set @s sel_r_class 2 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/r_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/r_3.mcfunction index c5a0c9e..67a8cf8 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/r_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/r_3.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_r_class=3}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={sel_r_class=3}] run tellraw @s {"text":"Warper selected.","color":"gray"} +tellraw @s[scores={sel_r_class=3}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={sel_r_class=3}] run tellraw @s {"translate":"Warper selected.","color":"gray"} scoreboard players set @s sel_r_class 3 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/r_4.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/r_4.mcfunction index 6ced15a..b8a6d8b 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/r_4.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/r_4.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_r_class=4}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={sel_r_class=4}] run tellraw @s {"text":"Medic selected.","color":"gray"} +tellraw @s[scores={sel_r_class=4}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={sel_r_class=4}] run tellraw @s {"translate":"Medic selected.","color":"gray"} scoreboard players set @s sel_r_class 4 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/r_5.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/r_5.mcfunction index f76a983..0276432 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/r_5.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/r_5.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_r_class=5}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={sel_r_class=5}] run tellraw @s {"text":"Puppeteer selected.","color":"gray"} +tellraw @s[scores={sel_r_class=5}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={sel_r_class=5}] run tellraw @s {"translate":"Puppeteer selected.","color":"gray"} scoreboard players set @s sel_r_class 5 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/r_6.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/r_6.mcfunction index 38d0ab0..88d868c 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/r_6.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/r_6.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_r_class=6}] {"text":"You have already selected this class.","color":"dark_gray"} -execute unless entity @s[scores={sel_r_class=6}] run tellraw @s {"text":"Jumper selected.","color":"gray"} +tellraw @s[scores={sel_r_class=6}] {"translate":"You have already selected this class.","color":"dark_gray"} +execute unless entity @s[scores={sel_r_class=6}] run tellraw @s {"translate":"Jumper selected.","color":"gray"} scoreboard players set @s sel_r_class 6 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/r_r.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/r_r.mcfunction index 7c0dfa6..9ff1691 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/r_r.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/r_r.mcfunction @@ -1,3 +1,3 @@ -tellraw @s[scores={sel_r_class=5}] {"text":"Random is already selected.","color":"dark_gray"} -execute unless entity @s[scores={sel_r_class=5}] run tellraw @s {"text":"Random selected.","color":"gray"} +tellraw @s[scores={sel_r_class=5}] {"translate":"Random is already selected.","color":"dark_gray"} +execute unless entity @s[scores={sel_r_class=5}] run tellraw @s {"translate":"Random selected.","color":"gray"} scoreboard players set @s sel_r_class 7 diff --git a/datapacks/stealth_game/data/lobby/functions/class_selection/show_class.mcfunction b/datapacks/stealth_game/data/lobby/functions/class_selection/show_class.mcfunction index 7bbd678..1c36239 100644 --- a/datapacks/stealth_game/data/lobby/functions/class_selection/show_class.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/class_selection/show_class.mcfunction @@ -1,56 +1,56 @@ -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=1}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Brawler","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Athlete","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=2}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Brawler","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Locator","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=3}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Brawler","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Trapper","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=4}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Brawler","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Arbalist","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=5}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Brawler","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Specter","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=6}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Brawler","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Foreseer","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=7}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Brawler","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Random","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=1}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Brawler","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Athlete","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=2}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Brawler","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Locator","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=3}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Brawler","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Trapper","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=4}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Brawler","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Arbalist","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=5}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Brawler","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Specter","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=6}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Brawler","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Foreseer","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=1,sel_g_class=7}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Brawler","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Random","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=1}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Alchemist","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Athlete","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=2}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Alchemist","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Locator","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=3}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Alchemist","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Trapper","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=4}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Alchemist","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Arbalist","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=5}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Alchemist","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Specter","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=6}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Alchemist","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Foreseer","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=7}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Alchemist","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Random","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=1}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Alchemist","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Athlete","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=2}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Alchemist","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Locator","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=3}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Alchemist","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Trapper","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=4}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Alchemist","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Arbalist","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=5}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Alchemist","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Specter","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=6}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Alchemist","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Foreseer","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=2,sel_g_class=7}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Alchemist","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Random","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=1}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Warper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Athlete","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=2}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Warper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Locator","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=3}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Warper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Trapper","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=4}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Warper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Arbalist","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=5}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Warper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Specter","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=6}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Warper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Foreseer","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=7}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Warper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Random","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=1}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Warper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Athlete","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=2}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Warper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Locator","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=3}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Warper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Trapper","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=4}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Warper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Arbalist","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=5}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Warper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Specter","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=6}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Warper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Foreseer","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=3,sel_g_class=7}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Warper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Random","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=1}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Medic","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Athlete","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=2}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Medic","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Locator","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=3}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Medic","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Trapper","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=4}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Medic","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Arbalist","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=5}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Medic","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Specter","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=6}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Medic","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Foreseer","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=7}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Medic","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Random","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=1}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Medic","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Athlete","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=2}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Medic","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Locator","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=3}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Medic","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Trapper","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=4}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Medic","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Arbalist","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=5}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Medic","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Specter","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=6}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Medic","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Foreseer","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=4,sel_g_class=7}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Medic","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Random","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=1}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Puppeteer","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Athlete","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=2}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Puppeteer","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Locator","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=3}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Puppeteer","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Trapper","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=4}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Puppeteer","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Arbalist","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=5}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Puppeteer","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Specter","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=6}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Puppeteer","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Foreseer","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=7}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Puppeteer","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Random","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=1}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Puppeteer","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Athlete","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=2}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Puppeteer","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Locator","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=3}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Puppeteer","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Trapper","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=4}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Puppeteer","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Arbalist","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=5}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Puppeteer","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Specter","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=6}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Puppeteer","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Foreseer","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=5,sel_g_class=7}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Puppeteer","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Random","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=1}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Jumper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Athlete","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=2}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Jumper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Locator","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=3}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Jumper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Trapper","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=4}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Jumper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Arbalist","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=5}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Jumper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Specter","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=6}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Jumper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Foreseer","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=7}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Jumper","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Random","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=1}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Jumper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Athlete","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=2}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Jumper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Locator","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=3}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Jumper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Trapper","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=4}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Jumper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Arbalist","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=5}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Jumper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Specter","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=6}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Jumper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Foreseer","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=6,sel_g_class=7}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Jumper","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Random","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=1}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Random","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Athlete","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=2}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Random","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Locator","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=3}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Random","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Trapper","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=4}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Random","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Arbalist","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=5}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Random","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Specter","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=6}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Random","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Foreseer","bold":false,"color":"red"}] -title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=7}] actionbar [{"text":"Runner: ","color":"gray","bold":true},{"text":"Random","bold":false,"color":"dark_gray"},{"text":" | ","color":"gold","bold":true},{"text":"Gladiator: ","bold":true,"color":"#ba666a"},{"text":"Random","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=1}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Random","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Athlete","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=2}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Random","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Locator","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=3}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Random","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Trapper","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=4}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Random","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Arbalist","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=5}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Random","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Specter","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=6}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Random","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Foreseer","bold":false,"color":"red"}] +title @a[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}},scores={sel_r_class=7,sel_g_class=7}] actionbar [{"translate":"Runner: ","color":"gray","bold":true},{"translate":"Random","bold":false,"color":"dark_gray"},{"translate":" | ","color":"gold","bold":true},{"translate":"Gladiator: ","bold":true,"color":"#ba666a"},{"translate":"Random","bold":false,"color":"red"}] diff --git a/datapacks/stealth_game/data/lobby/functions/get_boots.mcfunction b/datapacks/stealth_game/data/lobby/functions/get_boots.mcfunction index 920794e..49db6c7 100644 --- a/datapacks/stealth_game/data/lobby/functions/get_boots.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/get_boots.mcfunction @@ -1,4 +1,4 @@ clear @s carrot_on_a_stick{CustomModelData:4} kill @e[type=item,nbt={Item:{id:"minecraft:iron_boots"}}] clear @s iron_boots -item replace entity @s armor.feet with iron_boots{clickable:0,HideFlags:63,display:{Name:'[{"text":"Boots","color":"gray","italic":false}]'},AttributeModifiers:[{Attribute:"generic.armor",AttributeName:"generic.armor",Amount:0,UUID:[I; 300, 300, 300, 300]}],Unbreakable:1b} 1 \ No newline at end of file +item replace entity @s armor.feet with iron_boots{clickable:0,HideFlags:63,display:{Name:'[{"translate":"Boots","color":"gray","italic":false}]'},AttributeModifiers:[{Attribute:"generic.armor",AttributeName:"generic.armor",Amount:0,UUID:[I; 300, 300, 300, 300]}],Unbreakable:1b} 1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/get_class_book.mcfunction b/datapacks/stealth_game/data/lobby/functions/get_class_book.mcfunction index f95133d..75a3aed 100644 --- a/datapacks/stealth_game/data/lobby/functions/get_class_book.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/get_class_book.mcfunction @@ -1,14 +1,14 @@ kill @e[type=item,nbt={Item:{id:"minecraft:written_book"}}] clear @s written_book -item replace entity @s[tag=!building] hotbar.6 with written_book{clickable:0,echest:1,display:{Name:'[{"text":"Class","bold":true,"italic":false,"color":"dark_gray"},{"text":" Selection","color":"red","bold":true,"italic":false}]'},author:'Command Realm',pages:['[{"text":"CLASS ","color":"dark_gray","bold":true},{"text":"SELECTION","color":"red","bold":true},{"text":"\\nThe ","color":"gray","bold":false,"italic":false},{"text":"(I)","color":"gold","italic":false,"bold":false,"hoverEvent":{"action":"show_text","value":"Hover over the (I) for more class details."}},{"text":" has details.","color":"gray","bold":false,"italic":false},{"text":"\\n -Runner Class-","color":"dark_gray","bold":true},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Brawler can stun gladiators by punching."}},{"text":" "},{"text":"[Brawler]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 1"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs."}},{"text":" "},{"text":"[Alchemist]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 2"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Warper can teleport back to their position five seconds ago."}},{"text":" "},{"text":"[Warper]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 3"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Medic can revive up to two caught runners by crouching where they died."}},{"text":" "},{"text":"[Medic]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 4"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it."}},{"text":" "},{"text":"[Puppeteer]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 11"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Jumper can charge up their next jump by crouching."}},{"text":" "},{"text":"[Jumper]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 12"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"Selecting this will randomize your runner class at the start of each game."}},{"text":" "},{"text":"[Random]","color":"dark_gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 9"}},{"text":"\\n\\n\\nGladiator classes","color":"red"},{"text":" --------->","color":"gold","bold":true}]','[{"text":"CLASS ","color":"dark_gray","bold":true},{"text":"SELECTION","color":"red","bold":true},{"text":"\\nThe ","color":"gray","bold":false,"italic":false},{"text":"(I)","color":"gold","italic":false,"bold":false,"hoverEvent":{"action":"show_text","value":"Hover over the (I) for more class details."}},{"text":" has details.","color":"gray","bold":false,"italic":false},{"text":"\\n -Gladiator Class-","color":"red","bold":true},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Athlete has a shorter dash cooldown."}},{"text":" "},{"text":"[Athlete]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 5"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Locator gets a compass that points to the nearest runner at the time of use."}},{"text":" "},{"text":"[Locator]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 6"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Trapper starts with two runner traps. Trapper will receive an additional one for each band that is stepped on, up to two traps in total. The runners will receive slowness and glowing when activating a trap. The Trapper class can warp to triggered traps."}},{"text":" "},{"text":"[Trapper]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 7"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Arbalist starts with a preloaded crossbow."}},{"text":" "},{"text":"[Arbalist]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 8"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Specter can go invisible periodically."}},{"text":" "},{"text":"[Specter]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 13"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows."}},{"text":" "},{"text":"[Foreseer]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 14"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"Selecting this will randomize your gladiator class at the start of each game."}},{"text":" "},{"text":"[Random]","color":"red","clickEvent":{"action":"run_command","value":"/trigger select_class set 10"}},{"text":"\\n\\n\\nRunner classes","color":"dark_gray"},{"text":" <---------","color":"gold","bold":true}]'],"title":"easter_egg",ClassBook:1} +item replace entity @s[tag=!building] hotbar.6 with written_book{clickable:0,echest:1,display:{Name:'[{"translate":"Class","bold":true,"italic":false,"color":"dark_gray"},{"translate":" Selection","color":"red","bold":true,"italic":false}]'},author:'Command Realm',pages:['[{"translate":"CLASS ","color":"dark_gray","bold":true},{"translate":"SELECTION","color":"red","bold":true},{"translate":"\\nThe ","color":"gray","bold":false,"italic":false},{"translate":"(I)","color":"gold","italic":false,"bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"Hover over the (I) for more class details."}}},{"translate":" has details.","color":"gray","bold":false,"italic":false},{"translate":"\\n -Runner Class-","color":"dark_gray","bold":true},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Brawler can stun gladiators by punching."}}},{"translate":" "},{"translate":"[Brawler]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 1"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs."}}},{"translate":" "},{"translate":"[Alchemist]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 2"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Warper can teleport back to their position three seconds ago."}}},{"translate":" "},{"translate":"[Warper]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 3"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Medic can revive caught runners by crouching where they died."}}},{"translate":" "},{"translate":"[Medic]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 4"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Puppeteer can throw a projectile that summons a fake pair of boots. It will stun any gladiator that punches it."}}},{"translate":" "},{"translate":"[Puppeteer]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 11"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Jumper can charge up their next jump by crouching."}}},{"translate":" "},{"translate":"[Jumper]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 12"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"Selecting this will randomize your runner class at the start of each game."}}},{"translate":" "},{"translate":"[Random]","color":"dark_gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 9"}},{"translate":"\\n\\n\\nGladiator classes","color":"red"},{"translate":" --------->","color":"gold","bold":true}]','[{"translate":"CLASS ","color":"dark_gray","bold":true},{"translate":"SELECTION","color":"red","bold":true},{"translate":"\\nThe ","color":"gray","bold":false,"italic":false},{"translate":"(I)","color":"gold","italic":false,"bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"Hover over the (I) for more class details."}}},{"translate":" has details.","color":"gray","bold":false,"italic":false},{"translate":"\\n -Gladiator Class-","color":"red","bold":true},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Athlete has a shorter dash cooldown."}}},{"translate":" "},{"translate":"[Athlete]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 5"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Locator gets a compass that points to the nearest runner at the time of use."}}},{"translate":" "},{"translate":"[Locator]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 6"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Trapper starts with two runner traps. Trapper will receive an additional one for each band that is stepped on, up to two traps in total. The runners will receive slowness and glowing when activating a trap. The Trapper class can warp to triggered traps."}}},{"translate":" "},{"translate":"[Trapper]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 7"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Arbalist starts with a preloaded crossbow that can be shot up to five times."}}},{"translate":" "},{"translate":"[Arbalist]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 8"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Specter can go invisible periodically."}}},{"translate":" "},{"translate":"[Specter]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 13"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Foreseer is equipped with a bow which highlights runners nearby grounded arrows."}}},{"translate":" "},{"translate":"[Foreseer]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 14"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"Selecting this will randomize your gladiator class at the start of each game."}}},{"translate":" "},{"translate":"[Random]","color":"red","clickEvent":{"action":"run_command","value":"/trigger select_class set 10"}},{"translate":"\\n\\n\\nRunner classes","color":"dark_gray"},{"translate":" <---------","color":"gold","bold":true}]'],"title":"easter_egg",ClassBook:1} -# ,{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Medic can revive up to two caught runners by crouching where they died."}},{"text":" "},{"text":"[Medic]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 4"}} -# ,{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Athlete has a shorter dash cooldown."}},{"text":" "},{"text":"[Athlete]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 5"}} +# ,{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Medic can revive caught runners by crouching where they died."}}},{"translate":" "},{"translate":"[Medic]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 4"}} +# ,{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"The Athlete has a shorter dash cooldown."}}},{"translate":" "},{"translate":"[Athlete]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 5"}} @@ -37,4 +37,4 @@ item replace entity @s[tag=!building] hotbar.6 with written_book{clickable:0,ech -# item replace entity @s[tag=!building] hotbar.6 with written_book{clickable:0,echest:1,display:{Name:'[{"text":"Class","bold":true,"italic":false,"color":"dark_gray"},{"text":" Selection","color":"red","bold":true,"italic":false}]'},author:'Command Realm',pages:['[{"text":"CLASS ","color":"dark_gray","bold":true},{"text":"SELECTION","color":"red","bold":true},{"text":"\\nThe ","color":"gray","bold":false,"italic":false},{"text":"(I)","color":"gold","italic":false,"bold":false,"hoverEvent":{"action":"show_text","value":"Hover over the (I) for more class details."}},{"text":" has details.","color":"gray","bold":false,"italic":false},{"text":"\\n -Runner Class-","color":"dark_gray","bold":true},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Brawler can stun gladiators by punching."}},{"text":" "},{"text":"[Brawler]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 1"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs."}},{"text":" "},{"text":"[Alchemist]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 2"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Warper can teleport back to their position five seconds ago."}},{"text":" "},{"text":"[Warper]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 3"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Medic can revive up to two caught runners by crouching where they died."}},{"text":" "},{"text":"[Medic]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 4"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"Selecting this will randomize your runner class at the start of each game."}},{"text":" "},{"text":"[Random]","color":"dark_gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 9"}},{"text":"\\n -Gladiator Class-","color":"red","bold":true},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Athlete has a shorter dash cooldown."}},{"text":" "},{"text":"[Athlete]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 5"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Locator gets a compass that points to the nearest runner at the time of use."}},{"text":" "},{"text":"[Locator]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 6"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Trapper starts with two runner traps. Trapper will receive an additional one for each band that is stepped on, up to two traps in total. The runners will receive slowness and glowing when activating a trap. The Trapper class can warp to triggered traps."}},{"text":" "},{"text":"[Trapper]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 7"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Arbalist starts with a preloaded crossbow."}},{"text":" "},{"text":"[Arbalist]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 8"}},{"text":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"Selecting this will randomize your gladiator class at the start of each game."}},{"text":" "},{"text":"[Random]","color":"red","clickEvent":{"action":"run_command","value":"/trigger select_class set 10"}}]'],"title":"easter_egg",ClassBook:1} \ No newline at end of file +# item replace entity @s[tag=!building] hotbar.6 with written_book{clickable:0,echest:1,display:{Name:'[{"translate":"Class","bold":true,"italic":false,"color":"dark_gray"},{"translate":" Selection","color":"red","bold":true,"italic":false}]'},author:'Command Realm',pages:['[{"translate":"CLASS ","color":"dark_gray","bold":true},{"translate":"SELECTION","color":"red","bold":true},{"translate":"\\nThe ","color":"gray","bold":false,"italic":false},{"translate":"(I)","color":"gold","italic":false,"bold":false,"hoverEvent":{"action":"show_text","value":"Hover over the (I) for more class details."}},{"translate":" has details.","color":"gray","bold":false,"italic":false},{"translate":"\\n -Runner Class-","color":"dark_gray","bold":true},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Brawler can stun gladiators by punching."}},{"translate":" "},{"translate":"[Brawler]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 1"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Alchemist can throw smoke bombs to blind gladiators. You are limited to two smoke bombs."}},{"translate":" "},{"translate":"[Alchemist]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 2"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Warper can teleport back to their position three seconds ago."}},{"translate":" "},{"translate":"[Warper]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 3"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Medic can revive caught runners by crouching where they died."}},{"translate":" "},{"translate":"[Medic]","color":"gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 4"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"Selecting this will randomize your runner class at the start of each game."}}},{"translate":" "},{"translate":"[Random]","color":"dark_gray","clickEvent":{"action":"run_command","value":"/trigger select_class set 9"}},{"translate":"\\n -Gladiator Class-","color":"red","bold":true},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Athlete has a shorter dash cooldown."}},{"translate":" "},{"translate":"[Athlete]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 5"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Locator gets a compass that points to the nearest runner at the time of use."}},{"translate":" "},{"translate":"[Locator]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 6"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Trapper starts with two runner traps. Trapper will receive an additional one for each band that is stepped on, up to two traps in total. The runners will receive slowness and glowing when activating a trap. The Trapper class can warp to triggered traps."}},{"translate":" "},{"translate":"[Trapper]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 7"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":"The Arbalist starts with a preloaded crossbow that can be shot up to five times."}},{"translate":" "},{"translate":"[Arbalist]","color":"#ba666a","clickEvent":{"action":"run_command","value":"/trigger select_class set 8"}},{"translate":"\\n(I)","color":"gold","bold":false,"hoverEvent":{"action":"show_text","value":{"translate":"Selecting this will randomize your gladiator class at the start of each game."}}},{"translate":" "},{"translate":"[Random]","color":"red","clickEvent":{"action":"run_command","value":"/trigger select_class set 10"}}]'],"title":"easter_egg",ClassBook:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/get_helmet.mcfunction b/datapacks/stealth_game/data/lobby/functions/get_helmet.mcfunction index 84093bf..2917f5b 100644 --- a/datapacks/stealth_game/data/lobby/functions/get_helmet.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/get_helmet.mcfunction @@ -1,4 +1,4 @@ clear @s iron_boots kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick"}}] clear @s carrot_on_a_stick{CustomModelData:4,helmet:1} -item replace entity @s armor.head with carrot_on_a_stick{clickable:0,CustomModelData:4,display:{Name:'{"text":"Helmet","color":"red","italic":false}'},HideFlags:63,helmet:1} \ No newline at end of file +item replace entity @s armor.head with carrot_on_a_stick{clickable:0,CustomModelData:4,display:{Name:'{"translate":"Helmet","color":"red","italic":false}'},HideFlags:63,helmet:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/get_mob_spawn.mcfunction b/datapacks/stealth_game/data/lobby/functions/get_mob_spawn.mcfunction index d972074..78c5067 100644 --- a/datapacks/stealth_game/data/lobby/functions/get_mob_spawn.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/get_mob_spawn.mcfunction @@ -18,22 +18,22 @@ clear @s turtle_spawn_egg clear @s hoglin_spawn_egg clear @s villager_spawn_egg kill @e[type=item,nbt={Item:{tag:{clickable:0,mob_spawn:1}}}] -item replace entity @s[scores={lobby_mount=0}] inventory.8 with horse_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a horse.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=1}] inventory.8 with donkey_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a donkey.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=2}] inventory.8 with cow_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a cow.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=3}] inventory.8 with mooshroom_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a mooshroom.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=4}] inventory.8 with slime_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a slime.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=5}] inventory.8 with chicken_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a chicken jockey.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=6}] inventory.8 with spider_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a stack of spiders.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=7}] inventory.8 with polar_bear_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a polar bear.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=8}] inventory.8 with skeleton_horse_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a skeleton horse.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=9}] inventory.8 with bee_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a bee.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=10}] inventory.8 with parrot_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a parrot.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=11}] inventory.8 with vex_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a vex.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=12}] inventory.8 with panda_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a panda.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=13}] inventory.8 with hoglin_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a hoglin.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=14}] inventory.8 with sheep_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a jeb sheep.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=15}] inventory.8 with phantom_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a phantom.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=16}] inventory.8 with turtle_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a stack of turtles.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=17}] inventory.8 with ghast_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a cloud.","color":"yellow","bold":false}]'}} -item replace entity @s[scores={lobby_mount=18}] inventory.8 with villager_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"text":"[","color":"gray","bold":true,"italic":false},{"text":"☀","color":"gold","bold":false},{"text":"]","color":"gray","bold":true},{"text":" Click to summon a block of dirt.","color":"yellow","bold":false}]'}} \ No newline at end of file +item replace entity @s[scores={lobby_mount=0}] inventory.8 with horse_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a horse.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=1}] inventory.8 with donkey_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a donkey.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=2}] inventory.8 with cow_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a cow.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=3}] inventory.8 with mooshroom_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a mooshroom.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=4}] inventory.8 with slime_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a slime.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=5}] inventory.8 with chicken_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a chicken jockey.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=6}] inventory.8 with spider_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a stack of spiders.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=7}] inventory.8 with polar_bear_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a polar bear.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=8}] inventory.8 with skeleton_horse_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a skeleton horse.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=9}] inventory.8 with bee_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a bee.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=10}] inventory.8 with parrot_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a parrot.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=11}] inventory.8 with vex_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a vex.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=12}] inventory.8 with panda_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a panda.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=13}] inventory.8 with hoglin_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a hoglin.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=14}] inventory.8 with sheep_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a jeb sheep.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=15}] inventory.8 with phantom_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a phantom.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=16}] inventory.8 with turtle_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a stack of turtles.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=17}] inventory.8 with ghast_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a cloud.","color":"yellow","bold":false}]'}} +item replace entity @s[scores={lobby_mount=18}] inventory.8 with villager_spawn_egg{clickable:0,mob_spawn:1,display:{Name:'[{"translate":"[","color":"gray","bold":true,"italic":false},{"translate":"☀","color":"gold","bold":false},{"translate":"]","color":"gray","bold":true},{"translate":" Click to summon a block of dirt.","color":"yellow","bold":false}]'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/get_preference_item.mcfunction b/datapacks/stealth_game/data/lobby/functions/get_preference_item.mcfunction index 8e20854..a8eb8fa 100644 --- a/datapacks/stealth_game/data/lobby/functions/get_preference_item.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/get_preference_item.mcfunction @@ -1,4 +1,4 @@ kill @e[type=item,nbt={Item:{tag:{preference_item:1}}}] clear @s carrot_on_a_stick{preference_item:1} -execute if entity @s[tag=!prefer_gladiator] run item replace entity @s hotbar.2 with carrot_on_a_stick{clickable:0,CustomModelData:9,display:{Name:'{"text":"You would prefer to be a runner. Click to change.","color":"gray","italic":false}'},preference_item:1} -execute if entity @s[tag=prefer_gladiator] run item replace entity @s hotbar.2 with carrot_on_a_stick{clickable:0,CustomModelData:4,display:{Name:'{"text":"You would prefer to be a gladiator. Click to change.","color":"red","italic":false}'},preference_item:1} \ No newline at end of file +execute if entity @s[tag=!prefer_gladiator] run item replace entity @s hotbar.2 with carrot_on_a_stick{clickable:0,CustomModelData:9,display:{Name:'{"translate":"You would prefer to be a runner. Click to change.","color":"gray","italic":false}'},preference_item:1} +execute if entity @s[tag=prefer_gladiator] run item replace entity @s hotbar.2 with carrot_on_a_stick{clickable:0,CustomModelData:4,display:{Name:'{"translate":"You would prefer to be a gladiator. Click to change.","color":"red","italic":false}'},preference_item:1} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/intro/main.mcfunction b/datapacks/stealth_game/data/lobby/functions/intro/main.mcfunction index eb12cee..ec81472 100644 --- a/datapacks/stealth_game/data/lobby/functions/intro/main.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/intro/main.mcfunction @@ -7,7 +7,7 @@ execute as @a[scores={intro=100}] at @s run playsound minecraft:custom.intro mas execute as @a[scores={intro=135}] at @s run playsound minecraft:custom.intro master @s ~ ~ ~ 100000 1 execute as @a[scores={intro=100}] at @s run playsound minecraft:custom.breath master @s ~ ~ ~ 1000000 0 execute as @a[scores={intro=130}] at @s run playsound minecraft:custom.breath master @s ~ ~ ~ 1000000 0.75 -title @a[scores={intro=80}] title {"text":"Stealthiators","color":"dark_gray","bold":true} -title @a[scores={intro=80}] subtitle [{"text":"By the ","color":"white","bold":false},{"text":"Command","color":"aqua","bold":true},{"text":" Realm","color":"dark_aqua","bold":true},{"text":" Team","color":"white","bold":false}] +title @a[scores={intro=80}] title {"translate":"Stealthiators","color":"dark_gray","bold":true} +title @a[scores={intro=80}] subtitle [{"translate":"By the ","color":"white","bold":false},{"translate":"Command","color":"aqua","bold":true},{"translate":" Realm","color":"dark_aqua","bold":true},{"translate":" Team","color":"white","bold":false}] scoreboard players set @a[scores={intro=80}] ready 1 execute as @a[scores={intro=135}] at @s run function lobby:intro/end diff --git a/datapacks/stealth_game/data/lobby/functions/invalid_summon.mcfunction b/datapacks/stealth_game/data/lobby/functions/invalid_summon.mcfunction index eb4ef51..91951b6 100644 --- a/datapacks/stealth_game/data/lobby/functions/invalid_summon.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/invalid_summon.mcfunction @@ -1,2 +1,2 @@ -tellraw @s {"text":"You can't summon a mount here! Please try again elsewhere.","color":"red"} +tellraw @s {"translate":"You can't summon a mount here! Please try again elsewhere.","color":"red"} playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/leave_area.mcfunction b/datapacks/stealth_game/data/lobby/functions/leave_area.mcfunction index 9324978..be6f21e 100644 --- a/datapacks/stealth_game/data/lobby/functions/leave_area.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/leave_area.mcfunction @@ -1,3 +1,3 @@ tp @s 52 69 -19 -10 -5 playsound minecraft:entity.blaze.death master @s ~ ~ ~ 100000 0 -tellraw @s {"text":"Please stay in the lobby.","color":"red"} \ No newline at end of file +tellraw @s {"translate":"Please stay in the lobby.","color":"red"} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/midgame/back_to_lobby.mcfunction b/datapacks/stealth_game/data/lobby/functions/midgame/back_to_lobby.mcfunction index 4434237..326b380 100644 --- a/datapacks/stealth_game/data/lobby/functions/midgame/back_to_lobby.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/midgame/back_to_lobby.mcfunction @@ -2,5 +2,5 @@ scoreboard players reset @s back_to_lobby tp @s 42 69 -40 75 -30 gamemode adventure function general:rank -tellraw @s {"text":"You are no longer spectating.","color":"gray"} +tellraw @s {"translate":"You are no longer spectating.","color":"gray"} execute at @s run playsound minecraft:block.anvil.place master @s ~ ~ ~ 0.25 0.65 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/midgame/get_join_book.mcfunction b/datapacks/stealth_game/data/lobby/functions/midgame/get_join_book.mcfunction index de9ef8a..9da08fd 100644 --- a/datapacks/stealth_game/data/lobby/functions/midgame/get_join_book.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/midgame/get_join_book.mcfunction @@ -1,3 +1,3 @@ clear @s carrot_on_a_stick{CustomModelData:2,join:1} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:2}}}] -item replace entity @s hotbar.5 with carrot_on_a_stick{join:1,clickable:0,CustomModelData:2,display:{Name:'[{"text":"Press ","color":"red","bold":false,"italic":false},{"keybind":"key.use","color":"dark_red","bold":true},{"text":" to join.","color":"red","bold":false}]'}} \ No newline at end of file +item replace entity @s hotbar.5 with carrot_on_a_stick{join:1,clickable:0,CustomModelData:2,display:{Name:'[{"translate":"Press ","color":"red","bold":false,"italic":false},{"keybind":"key.use","color":"dark_red","bold":true},{"translate":" to join.","color":"red","bold":false}]'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/midgame/get_spec_book.mcfunction b/datapacks/stealth_game/data/lobby/functions/midgame/get_spec_book.mcfunction index 1c27e78..f5cb21b 100644 --- a/datapacks/stealth_game/data/lobby/functions/midgame/get_spec_book.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/midgame/get_spec_book.mcfunction @@ -1,3 +1,3 @@ clear @s carrot_on_a_stick{CustomModelData:2} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:2}}}] -item replace entity @s hotbar.4 with carrot_on_a_stick{spectate:1,clickable:0,CustomModelData:2,display:{Name:'[{"text":"Press ","color":"white","bold":false,"italic":false},{"keybind":"key.use","color":"gray","bold":true},{"text":" to spectate.","color":"white","bold":false}]'}} \ No newline at end of file +item replace entity @s hotbar.4 with carrot_on_a_stick{spectate:1,clickable:0,CustomModelData:2,display:{Name:'[{"translate":"Press ","color":"white","bold":false,"italic":false},{"keybind":"key.use","color":"gray","bold":true},{"translate":" to spectate.","color":"white","bold":false}]'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/midgame/get_spec_book_in_other_slot.mcfunction b/datapacks/stealth_game/data/lobby/functions/midgame/get_spec_book_in_other_slot.mcfunction index 4fd2347..08ea963 100644 --- a/datapacks/stealth_game/data/lobby/functions/midgame/get_spec_book_in_other_slot.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/midgame/get_spec_book_in_other_slot.mcfunction @@ -1,3 +1,3 @@ clear @s carrot_on_a_stick{CustomModelData:2,spectate:1} kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:2}}}] -item replace entity @s hotbar.3 with carrot_on_a_stick{spectate:1,clickable:0,CustomModelData:2,display:{Name:'[{"text":"Press ","color":"white","bold":false,"italic":false},{"keybind":"key.use","color":"gray","bold":true},{"text":" to spectate.","color":"white","bold":false}]'}} \ No newline at end of file +item replace entity @s hotbar.3 with carrot_on_a_stick{spectate:1,clickable:0,CustomModelData:2,display:{Name:'[{"translate":"Press ","color":"white","bold":false,"italic":false},{"keybind":"key.use","color":"gray","bold":true},{"translate":" to spectate.","color":"white","bold":false}]'}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/midgame/join.mcfunction b/datapacks/stealth_game/data/lobby/functions/midgame/join.mcfunction index fc84e2c..aef02ab 100644 --- a/datapacks/stealth_game/data/lobby/functions/midgame/join.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/midgame/join.mcfunction @@ -2,7 +2,7 @@ clear @s scoreboard players reset @s right_click gamemode spectator @s team join waiting @s -tellraw @s [{"text":"You are now spectating. You will join after the current round.","color":"#ffced0"}] +tellraw @s [{"translate":"You are now spectating. You will join after the current round.","color":"#ffced0"}] tp @s 1021 156 -17 0 10 tp @s @p[tag=playing,team=sneaker] tp @s @p[tag=playing,team=gladiator] diff --git a/datapacks/stealth_game/data/lobby/functions/midgame/spectate.mcfunction b/datapacks/stealth_game/data/lobby/functions/midgame/spectate.mcfunction index 76cf95c..5ad9bc3 100644 --- a/datapacks/stealth_game/data/lobby/functions/midgame/spectate.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/midgame/spectate.mcfunction @@ -3,7 +3,7 @@ scoreboard players reset @s right_click gamemode spectator @s team join spectator @s scoreboard players enable @s back_to_lobby -tellraw @s [{"text":"You are now a spectator! Click "},{"text":"here","color":"gray","bold":true,"clickEvent":{"action":"run_command","value":"/trigger back_to_lobby set 1"}},{"text":" to return to the lobby.","bold":false,"color":"white"}] +tellraw @s [{"translate":"You are now a spectator! Click "},{"translate":"here","color":"gray","bold":true,"clickEvent":{"action":"run_command","value":"/trigger back_to_lobby set 1"}},{"translate":" to return to the lobby.","bold":false,"color":"white"}] tp @s 1021 156 -17 0 10 tp @s @p[tag=playing,team=sneaker] tp @s @p[tag=playing,team=gladiator] diff --git a/datapacks/stealth_game/data/lobby/functions/minigame/active_minigame.mcfunction b/datapacks/stealth_game/data/lobby/functions/minigame/active_minigame.mcfunction index 1abeb6b..5eef7b2 100644 --- a/datapacks/stealth_game/data/lobby/functions/minigame/active_minigame.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/minigame/active_minigame.mcfunction @@ -17,4 +17,4 @@ execute if score $circle_time lobby_minigame matches 1.. as @e[tag=!prethrown_tr execute if score $circle_time lobby_minigame matches 1.. as @e[tag=!prethrown_trident,type=trident,x=0,y=66,z=0,distance=..500,nbt={inBlockState:{Name:"minecraft:target"}},tag=!in_block] at @s unless entity @e[tag=active_target,distance=..3,type=area_effect_cloud] run function lobby:minigame/miss_target execute if score $bullseye lobby_minigame matches 1.. run function lobby:minigame/bullseye execute if score $score lobby_minigame matches ..-1 run scoreboard players set $score lobby_minigame 0 -execute as @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,tag=!playing] at @s unless entity @s[nbt={SelectedItem:{id:"minecraft:written_book"}}] run title @s actionbar [{"text":"Current score: ","color":"gold"},{"score":{"objective":"lobby_minigame","name":"$score"},"color":"yellow","bold":true},{"text":" Current misses: ","color":"dark_red"},{"score":{"objective":"lobby_minigame","name":"$miss"},"color":"red","bold":true},{"text":"/3","color":"red","bold":true},{"text":" Current streak: ","color":"dark_green"},{"score":{"objective":"lobby_minigame","name":"$streak"},"color":"green","bold":true},{"text":" Highscore: ","color":"dark_blue"},{"score":{"objective":"highscore","name":"@s"},"color":"blue","bold":true}] \ No newline at end of file +execute as @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,tag=!playing] at @s unless entity @s[nbt={SelectedItem:{id:"minecraft:written_book"}}] run title @s actionbar [{"translate":"Current score: ","color":"gold"},{"score":{"objective":"lobby_minigame","name":"$score"},"color":"yellow","bold":true},{"translate":" Current misses: ","color":"dark_red"},{"score":{"objective":"lobby_minigame","name":"$miss"},"color":"red","bold":true},{"translate":"/3","color":"red","bold":true},{"translate":" Current streak: ","color":"dark_green"},{"score":{"objective":"lobby_minigame","name":"$streak"},"color":"green","bold":true},{"translate":" Highscore: ","color":"dark_blue"},{"score":{"objective":"highscore","name":"@s"},"color":"blue","bold":true}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/minigame/end.mcfunction b/datapacks/stealth_game/data/lobby/functions/minigame/end.mcfunction index 03e32ca..b7b5055 100644 --- a/datapacks/stealth_game/data/lobby/functions/minigame/end.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/minigame/end.mcfunction @@ -1,5 +1,5 @@ -tellraw @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..},tag=!playing] [{"text":"[","color":"dark_gray","bold":true},{"text":"☠","color":"dark_red","bold":false},{"text":"]","color":"dark_gray","bold":true},{"text":" Game over.","color":"red","bold":false}] -tellraw @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..},tag=!playing] [{"text":"Your final score was: ","color":"gold"},{"score":{"objective":"lobby_minigame","name":"$score"},"color":"yellow","bold":true}] +tellraw @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..},tag=!playing] [{"translate":"[","color":"dark_gray","bold":true},{"translate":"☠","color":"dark_red","bold":false},{"translate":"]","color":"dark_gray","bold":true},{"translate":" Game over.","color":"red","bold":false}] +tellraw @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..},tag=!playing] [{"translate":"Your final score was: ","color":"gold"},{"score":{"objective":"lobby_minigame","name":"$score"},"color":"yellow","bold":true}] execute if score $score lobby_minigame matches 100.. as @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..,lobby_trident=1..},tag=!playing] run advancement grant @s only minecraft:custom/hundred_points execute as @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..,lobby_trident=1..},tag=!playing] at @s run function lobby:minigame/check_highscore tag @e[tag=highscore_holder,type=area_effect_cloud] add old_highscore diff --git a/datapacks/stealth_game/data/lobby/functions/minigame/get_trident.mcfunction b/datapacks/stealth_game/data/lobby/functions/minigame/get_trident.mcfunction index f6da60f..3819208 100644 --- a/datapacks/stealth_game/data/lobby/functions/minigame/get_trident.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/minigame/get_trident.mcfunction @@ -1,2 +1,2 @@ -item replace entity @s hotbar.0 with trident{display:{Name:'{"text":"Training-Course Trident","color":"#9c9558","italic":false}'},Unbreakable:1b,Enchantments:[{id:"minecraft:loyalty",lvl:4}],HideFlags:63,tc_trident:1} +item replace entity @s hotbar.0 with trident{display:{Name:'{"translate":"Training-Course Trident","color":"#9c9558","italic":false}'},Unbreakable:1b,Enchantments:[{id:"minecraft:loyalty",lvl:4}],HideFlags:63,tc_trident:1} playsound minecraft:entity.chicken.egg master @s ~ ~ ~ 1 0.75 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/minigame/hit_target.mcfunction b/datapacks/stealth_game/data/lobby/functions/minigame/hit_target.mcfunction index 85b9812..a88ad3c 100644 --- a/datapacks/stealth_game/data/lobby/functions/minigame/hit_target.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/minigame/hit_target.mcfunction @@ -24,17 +24,17 @@ execute if score $streak lobby_minigame matches 20.. run scoreboard players add execute if score $streak lobby_minigame matches 25.. run scoreboard players add $score lobby_minigame 1 scoreboard players add $streak lobby_minigame 1 -execute if score $streak lobby_minigame matches 5 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"text":" "} -execute if score $streak lobby_minigame matches 10 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"text":" "} -execute if score $streak lobby_minigame matches 15 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"text":" "} -execute if score $streak lobby_minigame matches 20 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"text":" "} -execute if score $streak lobby_minigame matches 25 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"text":" "} +execute if score $streak lobby_minigame matches 5 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"translate":" "} +execute if score $streak lobby_minigame matches 10 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"translate":" "} +execute if score $streak lobby_minigame matches 15 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"translate":" "} +execute if score $streak lobby_minigame matches 20 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"translate":" "} +execute if score $streak lobby_minigame matches 25 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"translate":" "} -execute if score $streak lobby_minigame matches 5 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"text":"+5 streak","color":"gold"}] -execute if score $streak lobby_minigame matches 10 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"text":"+10 streak","color":"gold"}] -execute if score $streak lobby_minigame matches 15 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"text":"+15 streak","color":"gold"}] -execute if score $streak lobby_minigame matches 20 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"text":"+20 streak","color":"gold"}] -execute if score $streak lobby_minigame matches 25 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"text":"+25 streak","color":"gold"}] +execute if score $streak lobby_minigame matches 5 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"translate":"+5 streak","color":"gold"}] +execute if score $streak lobby_minigame matches 10 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"translate":"+10 streak","color":"gold"}] +execute if score $streak lobby_minigame matches 15 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"translate":"+15 streak","color":"gold"}] +execute if score $streak lobby_minigame matches 20 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"translate":"+20 streak","color":"gold"}] +execute if score $streak lobby_minigame matches 25 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle [{"translate":"+25 streak","color":"gold"}] @@ -65,8 +65,8 @@ execute unless score $target_power lobby_minigame matches 15 if score $set_circl execute unless score $target_power lobby_minigame matches 15 if score $set_circle_time lobby_minigame matches 46 run playsound minecraft:block.note_block.bit record @a 57 73 7 1 1.943 execute unless score $target_power lobby_minigame matches 15 if score $set_circle_time lobby_minigame matches 39 run playsound minecraft:block.note_block.bit record @a 57 73 7 1 1.984 -execute if score $target_power lobby_minigame matches 15 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"text":" "} -execute if score $target_power lobby_minigame matches 15 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle {"text":"↔ BULLSEYE ↔","color":"red"} +execute if score $target_power lobby_minigame matches 15 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] title {"translate":" "} +execute if score $target_power lobby_minigame matches 15 run title @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={ready=0},tag=!playing] subtitle {"translate":"↔ BULLSEYE ↔","color":"red"} execute if score $target_power lobby_minigame matches 15 run advancement grant @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..,lobby_trident=1..},tag=!playing] only minecraft:custom/hit_bullseye execute if score $target_power lobby_minigame matches 15 run scoreboard players set $bullseye lobby_minigame 1 execute if score $target_power lobby_minigame matches 15 run scoreboard players add $score lobby_minigame 10 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/minigame/new_global_highscore.mcfunction b/datapacks/stealth_game/data/lobby/functions/minigame/new_global_highscore.mcfunction index f1fba6f..53dc9f3 100644 --- a/datapacks/stealth_game/data/lobby/functions/minigame/new_global_highscore.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/minigame/new_global_highscore.mcfunction @@ -1,14 +1,14 @@ scoreboard players operation $highscore lobby_minigame = $score lobby_minigame -tellraw @s {"text":"You have now have the world highscore!","color":"green"} +tellraw @s {"translate":"You have now have the world highscore!","color":"green"} playsound minecraft:block.bell.use master @s ~ ~ ~ 1 0.75 playsound minecraft:block.bell.use master @s ~ ~ ~ 1 1 tag @s add score_on_sign tag @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={lobby_trident=1..}] add name_on_sign team join green @a[tag=name_on_sign] setblock 1 1 1 air -execute as @s at @s run setblock 1 1 1 oak_sign{front_text:{messages:['[{"text":"World Highscore: ","color":"gold"},{"score":{"objective":"highscore","name":"@p[tag=score_on_sign]"},"color":"yellow"}]', '{"text":""}', '{"text":""}', '{"text":""}'], has_glowing_text: false, color: "black"}} +execute as @s at @s run setblock 1 1 1 oak_sign{front_text:{messages:['[{"translate":"World Highscore: ","color":"gold"},{"score":{"objective":"highscore","name":"@p[tag=score_on_sign]"},"color":"yellow"}]', '{"translate":""}', '{"translate":""}', '{"translate":""}'], has_glowing_text: false, color: "black"}} setblock 2 2 2 air -execute as @s at @s run setblock 2 2 2 oak_sign{front_text:{messages:['[{"text":"Held by: ","color":"dark_green"},{"selector":"@a[tag=name_on_sign]"}]', '{"text":""}', '{"text":""}', '{"text":""}'], has_glowing_text: false, color: "black"}} +execute as @s at @s run setblock 2 2 2 oak_sign{front_text:{messages:['[{"translate":"Held by: ","color":"dark_green"},{"selector":"@a[tag=name_on_sign]"}]', '{"translate":""}', '{"translate":""}', '{"translate":""}'], has_glowing_text: false, color: "black"}} tag @s remove score_on_sign execute as @a[tag=name_on_sign] at @s run function general:rank tag @a remove name_on_sign diff --git a/datapacks/stealth_game/data/lobby/functions/minigame/new_highscore.mcfunction b/datapacks/stealth_game/data/lobby/functions/minigame/new_highscore.mcfunction index 0f71702..883e914 100644 --- a/datapacks/stealth_game/data/lobby/functions/minigame/new_highscore.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/minigame/new_highscore.mcfunction @@ -1,6 +1,6 @@ playsound minecraft:block.bell.use master @s ~ ~ ~ 1 0 scoreboard players operation @s highscore = $score lobby_minigame -tellraw @s {"text":"You have a new highscore!","color":"blue"} +tellraw @s {"translate":"You have a new highscore!","color":"blue"} scoreboard players add $highscore lobby_minigame 0 scoreboard players operation $check highscore = $score lobby_minigame scoreboard players operation $score highscore = $score lobby_minigame diff --git a/datapacks/stealth_game/data/lobby/functions/minigame/start.mcfunction b/datapacks/stealth_game/data/lobby/functions/minigame/start.mcfunction index f79b353..3a4b6af 100644 --- a/datapacks/stealth_game/data/lobby/functions/minigame/start.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/minigame/start.mcfunction @@ -8,6 +8,6 @@ scoreboard players set $miss lobby_minigame 0 scoreboard players set $score lobby_minigame 0 scoreboard players set $hit lobby_minigame 0 tag @e[tag=minigame_target,type=area_effect_cloud,tag=already_selected] remove already_selected -tellraw @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..},tag=!playing] [{"text":"[","color":"dark_gray","bold":true},{"text":"⭐","color":"dark_green","bold":false},{"text":"]","color":"dark_gray","bold":true},{"text":" Starting the gladiator training-course.","color":"green","bold":false}] +tellraw @a[x=57,y=73,z=7,distance=..17,gamemode=adventure,scores={time_near_target=1..},tag=!playing] [{"translate":"[","color":"dark_gray","bold":true},{"translate":"⭐","color":"dark_green","bold":false},{"translate":"]","color":"dark_gray","bold":true},{"translate":" Starting the gladiator training-course.","color":"green","bold":false}] scoreboard objectives remove lobby_trident scoreboard objectives add lobby_trident minecraft.used:minecraft.trident \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/nameplate/first_half.mcfunction b/datapacks/stealth_game/data/lobby/functions/nameplate/first_half.mcfunction index f7403e0..9571c28 100644 --- a/datapacks/stealth_game/data/lobby/functions/nameplate/first_half.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/nameplate/first_half.mcfunction @@ -1,7 +1,7 @@ -execute if score $time tp_nameplate matches 0 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TUTORIAL - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 1 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡","color":"#d28e2c"},{"text":" - TUTORIAL - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 2 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡","color":"#e3d666"},{"text":" -","color":"#d28e2c"},{"text":" TUTORIAL - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 3 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ -","color":"#e3d666"},{"text":" T","color":"#d28e2c"},{"text":"UTORIAL - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 4 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - T","color":"#e3d666"},{"text":"U","color":"#d28e2c"},{"text":"TORIAL - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 5 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TU","color":"#e3d666"},{"text":"T","color":"#d28e2c"},{"text":"ORIAL - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 6 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TUT","color":"#e3d666"},{"text":"O","color":"#d28e2c"},{"text":"RIAL - ⚡","color":"#e3d666"}]'} \ No newline at end of file +execute if score $time tp_nameplate matches 0 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TUTORIAL - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 1 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡","color":"#d28e2c"},{"translate":" - TUTORIAL - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 2 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡","color":"#e3d666"},{"translate":" -","color":"#d28e2c"},{"translate":" TUTORIAL - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 3 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ -","color":"#e3d666"},{"translate":" T","color":"#d28e2c"},{"translate":"UTORIAL - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 4 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - T","color":"#e3d666"},{"translate":"U","color":"#d28e2c"},{"translate":"TORIAL - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 5 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TU","color":"#e3d666"},{"translate":"T","color":"#d28e2c"},{"translate":"ORIAL - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 6 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TUT","color":"#e3d666"},{"translate":"O","color":"#d28e2c"},{"translate":"RIAL - ⚡","color":"#e3d666"}]'} \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/nameplate/reset.mcfunction b/datapacks/stealth_game/data/lobby/functions/nameplate/reset.mcfunction index b1f1a93..802204e 100644 --- a/datapacks/stealth_game/data/lobby/functions/nameplate/reset.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/nameplate/reset.mcfunction @@ -1,2 +1,2 @@ -execute if score $time tp_nameplate matches 12 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TUTORIAL - ","color":"#e3d666"},{"text":"⚡","color":"#d28e2c"}]'} +execute if score $time tp_nameplate matches 12 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TUTORIAL - ","color":"#e3d666"},{"translate":"⚡","color":"#d28e2c"}]'} scoreboard players set $time tp_nameplate -1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/nameplate/second_half.mcfunction b/datapacks/stealth_game/data/lobby/functions/nameplate/second_half.mcfunction index 65a69c8..d7d5790 100644 --- a/datapacks/stealth_game/data/lobby/functions/nameplate/second_half.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/nameplate/second_half.mcfunction @@ -1,6 +1,6 @@ -execute if score $time tp_nameplate matches 7 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TUTO","color":"#e3d666"},{"text":"R","color":"#d28e2c"},{"text":"IAL - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 8 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TUTOR","color":"#e3d666"},{"text":"I","color":"#d28e2c"},{"text":"AL - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 9 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TUTORI","color":"#e3d666"},{"text":"A","color":"#d28e2c"},{"text":"L - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 10 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TUTORIA","color":"#e3d666"},{"text":"L","color":"#d28e2c"},{"text":" - ⚡","color":"#e3d666"}]'} -execute if score $time tp_nameplate matches 11 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - TUTORIAL","color":"#e3d666"},{"text":" - ","color":"#d28e2c"},{"text":"⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 7 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TUTO","color":"#e3d666"},{"translate":"R","color":"#d28e2c"},{"translate":"IAL - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 8 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TUTOR","color":"#e3d666"},{"translate":"I","color":"#d28e2c"},{"translate":"AL - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 9 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TUTORI","color":"#e3d666"},{"translate":"A","color":"#d28e2c"},{"translate":"L - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 10 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TUTORIA","color":"#e3d666"},{"translate":"L","color":"#d28e2c"},{"translate":" - ⚡","color":"#e3d666"}]'} +execute if score $time tp_nameplate matches 11 as @e[type=area_effect_cloud,tag=teleport_nameplate] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - TUTORIAL","color":"#e3d666"},{"translate":" - ","color":"#d28e2c"},{"translate":"⚡","color":"#e3d666"}]'} execute if score $time tp_nameplate matches 12 run function lobby:nameplate/reset diff --git a/datapacks/stealth_game/data/lobby/functions/no_saddle.mcfunction b/datapacks/stealth_game/data/lobby/functions/no_saddle.mcfunction index f1121b0..af313fb 100644 --- a/datapacks/stealth_game/data/lobby/functions/no_saddle.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/no_saddle.mcfunction @@ -1,3 +1,3 @@ -item replace entity @s horse.saddle with saddle{CustomModelData:1,display:{Name:'{"text":" "}'}} +item replace entity @s horse.saddle with saddle{CustomModelData:1,display:{Name:'{"translate":" "}'}} clear @a saddle kill @e[type=item,nbt={Item:{id:"minecraft:saddle"}}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/summon_mob.mcfunction b/datapacks/stealth_game/data/lobby/functions/summon_mob.mcfunction index 1755b75..ebbabc7 100644 --- a/datapacks/stealth_game/data/lobby/functions/summon_mob.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/summon_mob.mcfunction @@ -1,6 +1,6 @@ -execute if entity @s[scores={lobby_mount=0}] run summon horse ~ ~ ~ {Invulnerable:1b,Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b,tag:{CustomModelData:1,display:{Name:'{"text":" "}'}}},Tags:["need_verification"],Invulnerable:1b,Attributes:[{Name:"generic.movement_speed",Base:0.125}],Silent:1b} -execute if entity @s[scores={lobby_mount=0}] run summon area_effect_cloud ~ ~ ~ {Duration:10000,Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,CustomName:'[{"text":" "}]'} -execute if entity @s[scores={lobby_mount=1..}] run summon horse ~ ~ ~ {Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b,tag:{CustomModelData:1,display:{Name:'{"text":" "}'}}},Tags:["need_verification"],ActiveEffects:[{Id:14,Duration:1000000,ShowParticles:false,Amplifier:0}],Invulnerable:1b,Attributes:[{Name:"generic.movement_speed",Base:0.125}],Silent:1b,CustomName:'[{"text":" "}]'} +execute if entity @s[scores={lobby_mount=0}] run summon horse ~ ~ ~ {Invulnerable:1b,Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b,tag:{CustomModelData:1,display:{Name:'{"translate":" "}'}}},Tags:["need_verification"],Invulnerable:1b,Attributes:[{Name:"generic.movement_speed",Base:0.125}],Silent:1b} +execute if entity @s[scores={lobby_mount=0}] run summon area_effect_cloud ~ ~ ~ {Duration:10000,Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,CustomName:'[{"translate":" "}]'} +execute if entity @s[scores={lobby_mount=1..}] run summon horse ~ ~ ~ {Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b,tag:{CustomModelData:1,display:{Name:'{"translate":" "}'}}},Tags:["need_verification"],ActiveEffects:[{Id:14,Duration:1000000,ShowParticles:false,Amplifier:0}],Invulnerable:1b,Attributes:[{Name:"generic.movement_speed",Base:0.125}],Silent:1b,CustomName:'[{"translate":" "}]'} execute if entity @s[scores={lobby_mount=1}] run summon donkey ~ ~ ~ {Passengers:[{id:"minecraft:area_effect_cloud",Duration:10000000}],Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b},Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,PersistenceRequired:1b} execute if entity @s[scores={lobby_mount=2}] run summon cow ~ ~ ~ {Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,PersistenceRequired:1b} execute if entity @s[scores={lobby_mount=3}] run summon mooshroom ~ ~ ~ {Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,PersistenceRequired:1b} @@ -14,7 +14,7 @@ execute if entity @s[scores={lobby_mount=10}] run summon parrot ~ ~ ~ {Tags:["ne execute if entity @s[scores={lobby_mount=11}] run summon vex ~ ~ ~ {Tags:["need_tp_verification","rideable_mob","flying_mount"],Invulnerable:1b,PersistenceRequired:1b} execute if entity @s[scores={lobby_mount=12}] run summon panda ~ ~ ~ {Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,PersistenceRequired:1b} execute if entity @s[scores={lobby_mount=13}] run summon hoglin ~ ~ ~ {Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,PersistenceRequired:1b,IsImmuneToZombification:1b,NoAI:1b} -execute if entity @s[scores={lobby_mount=14}] run summon sheep ~ ~ ~ {Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,PersistenceRequired:1b,CustomName:'[{"text":"jeb_"}]'} +execute if entity @s[scores={lobby_mount=14}] run summon sheep ~ ~ ~ {Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,PersistenceRequired:1b,CustomName:'[{"translate":"jeb_"}]'} execute if entity @s[scores={lobby_mount=15}] run summon phantom ~ ~ ~ {Size:3,Tags:["need_tp_verification","rideable_mob","flying_mount","no_fire"],Invulnerable:1b,PersistenceRequired:1b,NoAI:1b} execute if entity @s[scores={lobby_mount=16}] run summon turtle ~ ~ ~ {Tags:["need_tp_verification","rideable_mob"],Invulnerable:1b,Passengers:[{id:"minecraft:turtle",PersistenceRequired:1b,Invulnerable:1b,NoAI:1b,Tags:["0"],Passengers:[{id:"minecraft:turtle",PersistenceRequired:1b,Invulnerable:1b,NoAI:1b,Tags:["0"]}]}],PersistenceRequired:1b} execute if entity @s[scores={lobby_mount=17}] run tag @e[tag=need_verification,type=horse] add cloud_mount diff --git a/datapacks/stealth_game/data/lobby/functions/toggle_preference.mcfunction b/datapacks/stealth_game/data/lobby/functions/toggle_preference.mcfunction index 41534fa..617c995 100644 --- a/datapacks/stealth_game/data/lobby/functions/toggle_preference.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/toggle_preference.mcfunction @@ -3,8 +3,8 @@ clear @s carrot_on_a_stick{CustomModelData:8} tag @s[tag=prefer_gladiator] add toggle_preference tag @s add prefer_gladiator tag @s[tag=toggle_preference] remove prefer_gladiator -execute if entity @s[tag=!prefer_gladiator] run item replace entity @s hotbar.2 with carrot_on_a_stick{CustomModelData:9,display:{Name:'{"text":"You would prefer to be a runner. Click to change.","color":"gray","italic":false}'},preference_item:1} -execute if entity @s[tag=prefer_gladiator] run item replace entity @s hotbar.2 with carrot_on_a_stick{CustomModelData:4,display:{Name:'{"text":"You would prefer to be a gladiator. Click to change.","color":"red","italic":false}'},preference_item:1} +execute if entity @s[tag=!prefer_gladiator] run item replace entity @s hotbar.2 with carrot_on_a_stick{CustomModelData:9,display:{Name:'{"translate":"You would prefer to be a runner. Click to change.","color":"gray","italic":false}'},preference_item:1} +execute if entity @s[tag=prefer_gladiator] run item replace entity @s hotbar.2 with carrot_on_a_stick{CustomModelData:4,display:{Name:'{"translate":"You would prefer to be a gladiator. Click to change.","color":"red","italic":false}'},preference_item:1} scoreboard players reset @s right_click tag @a remove toggle_preference playsound minecraft:item.trident.return master @s ~ ~ ~ 10000 2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/first_half.mcfunction b/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/first_half.mcfunction index ce5bdd7..6e58c22 100644 --- a/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/first_half.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/first_half.mcfunction @@ -1,5 +1,5 @@ -execute if score $time2 tp_nameplate matches 0 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - LOBBY - ⚡","color":"#e3d666"}]'} -execute if score $time2 tp_nameplate matches 1 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡","color":"#d28e2c"},{"text":" - LOBBY - ⚡","color":"#e3d666"}]'} -execute if score $time2 tp_nameplate matches 2 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡","color":"#e3d666"},{"text":" -","color":"#d28e2c"},{"text":" LOBBY - ⚡","color":"#e3d666"}]'} -execute if score $time2 tp_nameplate matches 3 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡ -","color":"#e3d666"},{"text":" L","color":"#d28e2c"},{"text":"OBBY - ⚡","color":"#e3d666"}]'} -execute if score $time2 tp_nameplate matches 4 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - L","color":"#e3d666"},{"text":"O","color":"#d28e2c"},{"text":"BBY - ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 0 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - LOBBY - ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 1 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡","color":"#d28e2c"},{"translate":" - LOBBY - ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 2 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡","color":"#e3d666"},{"translate":" -","color":"#d28e2c"},{"translate":" LOBBY - ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 3 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ -","color":"#e3d666"},{"translate":" L","color":"#d28e2c"},{"translate":"OBBY - ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 4 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - L","color":"#e3d666"},{"translate":"O","color":"#d28e2c"},{"translate":"BBY - ⚡","color":"#e3d666"}]'} diff --git a/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/reset.mcfunction b/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/reset.mcfunction index d4e9d09..ea60a8e 100644 --- a/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/reset.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/reset.mcfunction @@ -1,2 +1,2 @@ -execute as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - LOBBY -","color":"#e3d666"},{"text":" ⚡","color":"#d28e2c"}]'} +execute as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - LOBBY -","color":"#e3d666"},{"translate":" ⚡","color":"#d28e2c"}]'} scoreboard players set $time2 tp_nameplate -1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/second_half.mcfunction b/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/second_half.mcfunction index 66b1dc7..28f5b92 100644 --- a/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/second_half.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/tutorial/nameplate/second_half.mcfunction @@ -1,5 +1,5 @@ -execute if score $time2 tp_nameplate matches 5 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - LO","color":"#e3d666"},{"text":"B","color":"#d28e2c"},{"text":"BY - ⚡","color":"#e3d666"}]'} -execute if score $time2 tp_nameplate matches 6 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - LOB","color":"#e3d666"},{"text":"B","color":"#d28e2c"},{"text":"Y - ⚡","color":"#e3d666"}]'} -execute if score $time2 tp_nameplate matches 7 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - LOBB","color":"#e3d666"},{"text":"Y","color":"#d28e2c"},{"text":" - ⚡","color":"#e3d666"}]'} -execute if score $time2 tp_nameplate matches 8 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"text":"⚡ - LOBBY ","color":"#e3d666"},{"text":"-","color":"#d28e2c"},{"text":" ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 5 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - LO","color":"#e3d666"},{"translate":"B","color":"#d28e2c"},{"translate":"BY - ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 6 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - LOB","color":"#e3d666"},{"translate":"B","color":"#d28e2c"},{"translate":"Y - ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 7 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - LOBB","color":"#e3d666"},{"translate":"Y","color":"#d28e2c"},{"translate":" - ⚡","color":"#e3d666"}]'} +execute if score $time2 tp_nameplate matches 8 as @e[type=area_effect_cloud,tag=teleport_nameplate_2] at @s run data merge entity @s {CustomName:'[{"translate":"⚡ - LOBBY ","color":"#e3d666"},{"translate":"-","color":"#d28e2c"},{"translate":" ⚡","color":"#e3d666"}]'} execute if score $time2 tp_nameplate matches 9.. run function lobby:tutorial/nameplate/reset diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/greeting.mcfunction index 7a086f5..ebe65af 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#77787d"},{"text":" Come closer challenger, acquire your metal workings here!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#77787d"},{"translate":" Come closer challenger, acquire your metal workings here!","color":"gray"}] playsound minecraft:blacksmith.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_1.mcfunction index 0ff5aa3..d85df81 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#77787d"},{"text":" I supply the arena with all the tridents used in the games!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#77787d"},{"translate":" I supply the arena with all the tridents used in the games!","color":"gray"}] playsound minecraft:blacksmith.saying_1 voice @a ~ ~ ~ 1 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_2.mcfunction index cbb422a..df72a29 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_2.mcfunction @@ -1,4 +1,4 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#77787d"},{"text":" I'm here 12 hours a day, making sure you get nothing but the finest tools and weapons.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#77787d"},{"translate":" I'm here 12 hours a day, making sure you get nothing but the finest tools and weapons.","color":"gray"}] playsound minecraft:blacksmith.saying_2 voice @a ~ ~ ~ 1 1 tag @s add said_2 scoreboard players set @s speech_timer 350 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_3.mcfunction index d09a886..f089490 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/blacksmith/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#77787d"},{"text":" Want a shield? Protect yourself with this fine piece.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#77787d"},{"translate":" Want a shield? Protect yourself with this fine piece.","color":"gray"}] playsound minecraft:blacksmith.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/book/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/book/greeting.mcfunction index 5ccccaf..8667cb1 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/book/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/book/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#784700"},{"text":" Readers! This is for you, I have the best literature in all the world!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#784700"},{"translate":" Readers! This is for you, I have the best literature in all the world!","color":"gray"}] playsound minecraft:book.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_1.mcfunction index a22320d..5598395 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#784700"},{"text":" You can read my book for some tips on becoming the next champion!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#784700"},{"translate":" You can read my book for some tips on becoming the next champion!","color":"gray"}] playsound minecraft:book.saying_1 voice @a ~ ~ ~ 1 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_2.mcfunction index c3187b7..2d17eca 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#784700"},{"text":" My books are written on the premier papyrus of the land.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#784700"},{"translate":" My books are written on the premier papyrus of the land.","color":"gray"}] playsound minecraft:book.saying_2 voice @a ~ ~ ~ 1 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_3.mcfunction index 5a1081e..0d27995 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/book/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#784700"},{"text":" These great works of literature will entertain anyone for hours.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#784700"},{"translate":" These great works of literature will entertain anyone for hours.","color":"gray"}] playsound minecraft:book.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/bread/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/bread/greeting.mcfunction index 9de0c71..9082cd1 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/bread/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/bread/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#a67330"},{"text":" Approach and receive freshly-baked bread!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#a67330"},{"translate":" Approach and receive freshly-baked bread!","color":"gray"}] playsound minecraft:bread.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_1.mcfunction index 6fa063b..29ed0c9 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#a67330"},{"text":" My wonderful bread only costs 50 coins!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#a67330"},{"translate":" My wonderful bread only costs 50 coins!","color":"gray"}] playsound minecraft:bread.saying_1 voice @a ~ ~ ~ 1 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_2.mcfunction index 8811a05..9da8ede 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#a67330"},{"text":" Rye, pumpernickel, whole-grain, sourdough and more, are right here!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#a67330"},{"translate":" Rye, pumpernickel, whole-grain, sourdough and more, are right here!","color":"gray"}] playsound minecraft:bread.saying_2 voice @a ~ ~ ~ 1 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_3.mcfunction index bdcd6a6..85808dc 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/bread/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#a67330"},{"text":" No . . . It's not gluten-free.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#a67330"},{"translate":" No . . . It's not gluten-free.","color":"gray"}] playsound minecraft:bread.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/fabric/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/fabric/greeting.mcfunction index 507161b..feb2b0e 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/fabric/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/fabric/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#9744c7"},{"text":" Draw near and see my many fabrics!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#9744c7"},{"translate":" Draw near and see my many fabrics!","color":"gray"}] playsound minecraft:fabric.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_1.mcfunction index f892799..ec661ba 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#9744c7"},{"text":" I'm selling royal purple fabric at a discount today!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#9744c7"},{"translate":" I'm selling royal purple fabric at a discount today!","color":"gray"}] playsound minecraft:fabric.saying_1 voice @a ~ ~ ~ 1 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_2.mcfunction index 2ba7047..ee17bf0 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#9744c7"},{"text":" I have all the colors of the rainbow, red, blue, green, even chartreuse!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#9744c7"},{"translate":" I have all the colors of the rainbow, red, blue, green, even chartreuse!","color":"gray"}] playsound minecraft:fabric.saying_2 voice @a ~ ~ ~ 1 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_3.mcfunction index 600ccac..8808702 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/fabric/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#9744c7"},{"text":" Take home a cardigan for the winter!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#9744c7"},{"translate":" Take home a cardigan for the winter!","color":"gray"}] playsound minecraft:fabric.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/fish/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/fish/greeting.mcfunction index 5362b09..b406ed8 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/fish/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/fish/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#78bcc6"},{"text":" I have everything you'll ever need for fishing, come here!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#78bcc6"},{"translate":" I have everything you'll ever need for fishing, come here!","color":"gray"}] playsound minecraft:fish.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_1.mcfunction index 3d88de0..f714c39 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#78bcc6"},{"text":" Catch anything today?","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#78bcc6"},{"translate":" Catch anything today?","color":"gray"}] playsound minecraft:fish.saying_1 voice @a ~ ~ ~ 0.75 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_2.mcfunction index 386010f..afa5817 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#78bcc6"},{"text":" When I'm not selling fish, I'm fishing.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#78bcc6"},{"translate":" When I'm not selling fish, I'm fishing.","color":"gray"}] playsound minecraft:fish.saying_2 voice @a ~ ~ ~ 0.5 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_3.mcfunction index dd85c34..2ed9d86 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/fish/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#78bcc6"},{"text":" I once caught a fish that was 120 feet long.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#78bcc6"},{"translate":" I once caught a fish that was 120 feet long.","color":"gray"}] playsound minecraft:fish.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/flower/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/flower/greeting.mcfunction index 54e3b75..dea08d7 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/flower/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/flower/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#6bfc6b"},{"text":" What do you want?","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#6bfc6b"},{"translate":" What do you want?","color":"gray"}] playsound minecraft:flower.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_1.mcfunction index a0accf4..ee75463 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#6bfc6b"},{"text":" I don't have all day!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#6bfc6b"},{"translate":" I don't have all day!","color":"gray"}] playsound minecraft:flower.saying_1 voice @a ~ ~ ~ 1 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_2.mcfunction index 89d8beb..f8ac203 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_2.mcfunction @@ -1,4 +1,4 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#6bfc6b"},{"text":" Do you wanna buy flowers or not?","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#6bfc6b"},{"translate":" Do you wanna buy flowers or not?","color":"gray"}] playsound minecraft:flower.saying_2 voice @a ~ ~ ~ 1 1 tag @s add said_2 scoreboard players set @s speech_timer 350 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_3.mcfunction index b55f508..fba0f29 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/flower/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#6bfc6b"},{"text":" Ehhh . . .","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#6bfc6b"},{"translate":" Ehhh . . .","color":"gray"}] playsound minecraft:flower.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/garbage/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/garbage/greeting.mcfunction index 18514d8..47f3894 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/garbage/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/garbage/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#578043"},{"text":" You there! Care to see my fine wares?","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#578043"},{"translate":" You there! Care to see my fine wares?","color":"gray"}] playsound minecraft:garbage.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_1.mcfunction index ed7b28b..4c04710 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#578043"},{"text":" As you can see, we have nothing but the most exquisite commodities.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#578043"},{"translate":" As you can see, we have nothing but the most exquisite commodities.","color":"gray"}] playsound minecraft:garbage.saying_1 voice @a ~ ~ ~ 0.75 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_2.mcfunction index a56b8ca..a9065a8 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#578043"},{"text":" One man's junk is another man's treasure.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#578043"},{"translate":" One man's junk is another man's treasure.","color":"gray"}] playsound minecraft:garbage.saying_2 voice @a ~ ~ ~ 0.75 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_3.mcfunction index c902683..385a272 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/garbage/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#578043"},{"text":" You'll be glad to know that there is no skeleton behind me.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#578043"},{"translate":" You'll be glad to know that there is no skeleton behind me.","color":"gray"}] playsound minecraft:garbage.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/livestock/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/livestock/greeting.mcfunction index e9e4bf0..9ec6217 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/livestock/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/livestock/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#a26f45"},{"text":" Come get your cows, chickens, horses, heck! I even got llamas!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#a26f45"},{"translate":" Come get your cows, chickens, horses, heck! I even got llamas!","color":"gray"}] playsound minecraft:livestock.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_1.mcfunction index 0bf5343..2321a48 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#a26f45"},{"text":" Need a saddle? I got plenty.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#a26f45"},{"translate":" Need a saddle? I got plenty.","color":"gray"}] playsound minecraft:livestock.saying_1 voice @a ~ ~ ~ 0.75 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_2.mcfunction index a73b691..84bfdc5 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#a26f45"},{"text":" Hey, I even have straw!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#a26f45"},{"translate":" Hey, I even have straw!","color":"gray"}] playsound minecraft:livestock.saying_2 voice @a ~ ~ ~ 0.5 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_3.mcfunction index c02d107..83ef6c1 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/livestock/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#a26f45"},{"text":" So, come and get your livestock.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#a26f45"},{"translate":" So, come and get your livestock.","color":"gray"}] playsound minecraft:livestock.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/melon/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/melon/greeting.mcfunction index 022b1d6..0387eb9 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/melon/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/melon/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"green"},{"text":" You, over there, come. I'm the melon man!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"green"},{"translate":" You, over there, come. I'm the melon man!","color":"gray"}] playsound minecraft:melon.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_1.mcfunction index 4998623..0472671 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"green"},{"text":" I have the finest melons from all over the globe!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"green"},{"translate":" I have the finest melons from all over the globe!","color":"gray"}] playsound minecraft:melon.saying_1 voice @a ~ ~ ~ 0.75 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_2.mcfunction index 601fad5..9e60028 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"green"},{"text":" Almost all variants of melons are healthy.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"green"},{"translate":" Almost all variants of melons are healthy.","color":"gray"}] playsound minecraft:melon.saying_2 voice @a ~ ~ ~ 0.5 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_3.mcfunction index f94f1a6..48e9162 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/melon/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"green"},{"text":" *melon song*","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"green"},{"translate":" *melon song*","color":"gray"}] playsound minecraft:melon.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/mining/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/mining/greeting.mcfunction index 1e0da54..5ae7aac 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/mining/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/mining/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"dark_gray"},{"text":" I've explored the deep dark! Come here to view my wondrous findings!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"dark_gray"},{"translate":" I've explored the deep dark! Come here to view my wondrous findings!","color":"gray"}] playsound minecraft:mining.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_1.mcfunction index bf58b57..c2856cb 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"dark_gray"},{"text":" Look at the beautiful amethyst. Mesmerizing, isn't it?","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"dark_gray"},{"translate":" Look at the beautiful amethyst. Mesmerizing, isn't it?","color":"gray"}] playsound minecraft:mining.saying_1 voice @a ~ ~ ~ 1 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_2.mcfunction index e863f3f..d539b54 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"dark_gray"},{"text":" I once found a vein of twenty diamond ore!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"dark_gray"},{"translate":" I once found a vein of twenty diamond ore!","color":"gray"}] playsound minecraft:mining.saying_2 voice @a ~ ~ ~ 1 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_3.mcfunction index 050f698..1fa4ea6 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/mining/saying_3.mcfunction @@ -1,4 +1,4 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"dark_gray"},{"text":" I got diorite, I got andesite, I got tuff, calcite, deepslate, and even basalt!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"dark_gray"},{"translate":" I got diorite, I got andesite, I got tuff, calcite, deepslate, and even basalt!","color":"gray"}] playsound minecraft:mining.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 scoreboard players set @s speech_timer 250 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/greeting.mcfunction index 2309b1f..9e0e2fd 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/greeting.mcfunction @@ -1,4 +1,4 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#c22128"},{"text":" I got red mushrooms, portobello mushrooms, brown mushrooms, poisionous mushrooms, even button mushrooms!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#c22128"},{"translate":" I got red mushrooms, portobello mushrooms, brown mushrooms, poisionous mushrooms, even button mushrooms!","color":"gray"}] playsound minecraft:mushroom.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting scoreboard players set @s speech_timer 250 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_1.mcfunction index ded4903..7adc166 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#c22128"},{"text":" Did you know that the largest organism in the world is a fungus?","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#c22128"},{"translate":" Did you know that the largest organism in the world is a fungus?","color":"gray"}] playsound minecraft:mushroom.saying_1 voice @a ~ ~ ~ 0.75 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_2.mcfunction index f6d0df2..9c1e2b1 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#c22128"},{"text":" I've been to mushroom worlds all over the universe.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#c22128"},{"translate":" I've been to mushroom worlds all over the universe.","color":"gray"}] playsound minecraft:mushroom.saying_2 voice @a ~ ~ ~ 0.5 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_3.mcfunction index ff32fca..9041c4a 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/mushroom/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#c22128"},{"text":" Buy some mushrooms.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#c22128"},{"translate":" Buy some mushrooms.","color":"gray"}] playsound minecraft:mushroom.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/nether/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/nether/greeting.mcfunction index a167e11..c49ab08 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/nether/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/nether/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#880006"},{"text":" I've been to the dangerous wastelands, come near and view my belongings!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#880006"},{"translate":" I've been to the dangerous wastelands, come near and view my belongings!","color":"gray"}] playsound minecraft:nether.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_1.mcfunction index f19db52..c0c902a 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#880006"},{"text":" I managed to \"acquire\" this gold from some angry pigs.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#880006"},{"translate":" I managed to \"acquire\" this gold from some angry pigs.","color":"gray"}] playsound minecraft:nether.saying_1 voice @a ~ ~ ~ 0.75 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_2.mcfunction index b71f613..0b08e91 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#880006"},{"text":" Do you want objects that are out of this world? I got you!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#880006"},{"translate":" Do you want objects that are out of this world? I got you!","color":"gray"}] playsound minecraft:nether.saying_2 voice @a ~ ~ ~ 0.5 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_3.mcfunction index eec8d7e..b9a35ba 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/nether/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#880006"},{"text":" Weeping vines and crying obsidian are half-off!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#880006"},{"translate":" Weeping vines and crying obsidian are half-off!","color":"gray"}] playsound minecraft:nether.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/potion/greeting.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/potion/greeting.mcfunction index 912f6f6..6bcdec5 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/potion/greeting.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/potion/greeting.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#7200ff"},{"text":" Hello adventurer! How about some potions?","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#7200ff"},{"translate":" Hello adventurer! How about some potions?","color":"gray"}] playsound minecraft:potion.greeting voice @a ~ ~ ~ 1 1 tag @s add said_greeting \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_1.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_1.mcfunction index c5eac1f..0503400 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_1.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_1.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#7200ff"},{"text":" I have newly brewed potions, fresh off the stand!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#7200ff"},{"translate":" I have newly brewed potions, fresh off the stand!","color":"gray"}] playsound minecraft:potion.saying_1 voice @a ~ ~ ~ 1 1 tag @s add said_1 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_2.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_2.mcfunction index 38c00dc..21e1252 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_2.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_2.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#7200ff"},{"text":" Don't worry, the spider eyes don't bite!","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#7200ff"},{"translate":" Don't worry, the spider eyes don't bite!","color":"gray"}] playsound minecraft:potion.saying_2 voice @a ~ ~ ~ 1 1 tag @s add said_2 \ No newline at end of file diff --git a/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_3.mcfunction b/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_3.mcfunction index 533a4ba..b247e31 100644 --- a/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_3.mcfunction +++ b/datapacks/stealth_game/data/lobby/functions/villagers/potion/saying_3.mcfunction @@ -1,3 +1,3 @@ -execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"text":"","color":"#7200ff"},{"text":" We haven't had any visitors in quite some time.","color":"gray"}] +execute positioned ^ ^ ^3 run tellraw @a[distance=..3] [{"translate":"","color":"#7200ff"},{"translate":" We haven't had any visitors in quite some time.","color":"gray"}] playsound minecraft:potion.saying_3 voice @a ~ ~ ~ 1 1 tag @s add said_3 \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/completionist/completionist.json b/datapacks/stealth_game/data/minecraft/advancements/completionist/completionist.json index b4ae465..217c151 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/completionist/completionist.json +++ b/datapacks/stealth_game/data/minecraft/advancements/completionist/completionist.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:gold_ingot"},"title":{"text":"The Completionist","color":"gold","bold":true},"show_toast":true,"announce_to_chat":"false","background":"minecraft:textures/block/netherite_block.png","hidden":"true","description":{"text":"Complete all advancements.","color":"yellow","bold":false}},"criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:gold_ingot"},"title":{"translate":"The Completionist","color":"gold","bold":true},"show_toast":true,"announce_to_chat":"false","background":"minecraft:textures/block/netherite_block.png","hidden":"true","description":{"translate":"Complete all advancements.","color":"yellow","bold":false}},"criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/barefoot_runner.json b/datapacks/stealth_game/data/minecraft/advancements/custom/barefoot_runner.json index 24dba2e..233000d 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/barefoot_runner.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/barefoot_runner.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:iron_boots"},"title":{"text":"Barefoot Runner","color":"#eac1dd","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Attempt to remove your boots.","color":"#cd008c","bold":false}},"parent":"custom/live_near_gladiator","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:iron_boots"},"title":{"translate":"Barefoot Runner","color":"#eac1dd","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Attempt to remove your boots.","color":"#cd008c","bold":false}},"parent":"custom/live_near_gladiator","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/check_out_socials.json b/datapacks/stealth_game/data/minecraft/advancements/custom/check_out_socials.json index c0b4679..dd4a6ba 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/check_out_socials.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/check_out_socials.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:player_head","nbt":"{SkullOwner:{Id:[I;-566027055,-1373812234,-1824937619,-1364409557],Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzg3M2MxMmJmZmI1MjUxYTBiODhkNWFlNzVjNzI0N2NiMzlhNzVmZjFhODFjYmU0YzhhMzliMzExZGRlZGEifX19\"}]}}}"},"title":{"text":"Check out our socials!","color":"aqua","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Click the buttons in the lobby to look at our socials.","color":"dark_aqua","bold":false}},"parent":"custom/find_cr","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:player_head","nbt":"{SkullOwner:{Id:[I;-566027055,-1373812234,-1824937619,-1364409557],Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzg3M2MxMmJmZmI1MjUxYTBiODhkNWFlNzVjNzI0N2NiMzlhNzVmZjFhODFjYmU0YzhhMzliMzExZGRlZGEifX19\"}]}}}"},"title":{"translate":"Check out our socials!","color":"aqua","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Click the buttons in the lobby to look at our socials.","color":"dark_aqua","bold":false}},"parent":"custom/find_cr","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/complete_tutorial.json b/datapacks/stealth_game/data/minecraft/advancements/custom/complete_tutorial.json index dc4fab3..3c48fbf 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/complete_tutorial.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/complete_tutorial.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:polished_basalt"},"title":{"text":"Properly Trained","color":"#c7c18b","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Complete the tutorial.","color":"#8c8339","bold":false}},"parent":"custom/root","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:polished_basalt"},"title":{"translate":"Properly Trained","color":"#c7c18b","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Complete the tutorial.","color":"#8c8339","bold":false}},"parent":"custom/root","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/dash_kill.json b/datapacks/stealth_game/data/minecraft/advancements/custom/dash_kill.json index ef03b86..a77356b 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/dash_kill.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/dash_kill.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:1}"},"title":{"text":"Speed Speed Speed","color":"#9dfff5","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Punch a runner while dashing.","color":"#59c3b8","bold":false}},"parent":"custom/punch_runner","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:1}"},"title":{"translate":"Speed Speed Speed","color":"#9dfff5","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Punch a runner while dashing.","color":"#59c3b8","bold":false}},"parent":"custom/punch_runner","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/find_cr.json b/datapacks/stealth_game/data/minecraft/advancements/custom/find_cr.json index 6d4d1f4..5ed77e0 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/find_cr.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/find_cr.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:chain_command_block"},"title":{"text":"CR Expert","color":"aqua","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Find the Command Realm \"CR\" in the lobby.","color":"dark_aqua","bold":false}},"parent":"custom/hit_bullseye","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:chain_command_block"},"title":{"translate":"CR Expert","color":"aqua","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Find the Command Realm \"CR\" in the lobby.","color":"dark_aqua","bold":false}},"parent":"custom/hit_bullseye","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/hit_bullseye.json b/datapacks/stealth_game/data/minecraft/advancements/custom/hit_bullseye.json index 4589ccc..499f7da 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/hit_bullseye.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/hit_bullseye.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:trident"},"title":{"text":"I hit that?","color":"#ea4832","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Hit a bullseye in the gladiator training-course.","color":"dark_red","bold":false}},"parent":"custom/melon_market","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:trident"},"title":{"translate":"I hit that?","color":"#ea4832","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Hit a bullseye in the gladiator training-course.","color":"dark_red","bold":false}},"parent":"custom/melon_market","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/hundred_points.json b/datapacks/stealth_game/data/minecraft/advancements/custom/hundred_points.json index 7c4e4b6..e271a3b 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/hundred_points.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/hundred_points.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:target"},"title":{"text":"Target Acquired","color":"#d43434","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Get a score of over 100 points in the gladiator training-course.","color":"#d9d9d9","bold":false}},"parent":"custom/complete_tutorial","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:target"},"title":{"translate":"Target Acquired","color":"#d43434","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Get a score of over 100 points in the gladiator training-course.","color":"#d9d9d9","bold":false}},"parent":"custom/complete_tutorial","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/kill_after_backdoor.json b/datapacks/stealth_game/data/minecraft/advancements/custom/kill_after_backdoor.json index b136ab9..cf42dcf 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/kill_after_backdoor.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/kill_after_backdoor.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:5}"},"title":{"text":"Not this time!","color":"#c00009","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Punch a runner within 30 seconds of using the backdoor item.","color":"#721d21","bold":false}},"parent":"custom/use_backdoor","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:5}"},"title":{"translate":"Not this time!","color":"#c00009","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Punch a runner within 30 seconds of using the backdoor item.","color":"#721d21","bold":false}},"parent":"custom/use_backdoor","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/kill_on_finish_line.json b/datapacks/stealth_game/data/minecraft/advancements/custom/kill_on_finish_line.json index c3bfb44..ed41b78 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/kill_on_finish_line.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/kill_on_finish_line.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:netherite_block"},"title":{"text":"So close, yet so far.","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Punch a runner near the finish line.","color":"gray","bold":false}},"parent":"custom/trap_kill","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:netherite_block"},"title":{"translate":"So close, yet so far.","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Punch a runner near the finish line.","color":"gray","bold":false}},"parent":"custom/trap_kill","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/live_near_gladiator.json b/datapacks/stealth_game/data/minecraft/advancements/custom/live_near_gladiator.json index e6e4662..35a099e 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/live_near_gladiator.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/live_near_gladiator.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:black_dye"},"title":{"text":"Hide In the Shadows","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Live for 15 seconds after being near a gladiator.","color":"#8c8c8c","bold":false}},"parent":"custom/step_on_finish_line","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:black_dye"},"title":{"translate":"Hide In the Shadows","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Live for 15 seconds after being near a gladiator.","color":"#8c8c8c","bold":false}},"parent":"custom/step_on_finish_line","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/melon_market.json b/datapacks/stealth_game/data/minecraft/advancements/custom/melon_market.json index f46b1c2..14b5973 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/melon_market.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/melon_market.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:melon"},"title":{"text":"Melon Connoisseur","color":"#5dc149","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Reach the top of the melon market stall.","color":"#a1c149","bold":false}},"parent":"custom/hundred_points","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:melon"},"title":{"translate":"Melon Connoisseur","color":"#5dc149","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Reach the top of the melon market stall.","color":"#a1c149","bold":false}},"parent":"custom/hundred_points","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/play_game.json b/datapacks/stealth_game/data/minecraft/advancements/custom/play_game.json index 8604b6d..e7b97e1 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/play_game.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/play_game.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:2}"},"title":{"text":"Game On!","color":"green","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Play a game of Stealthiators.","color":"dark_green","bold":false}},"parent":"custom/root","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:2}"},"title":{"translate":"Game On!","color":"green","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Play a game of Stealthiators.","color":"dark_green","bold":false}},"parent":"custom/root","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/punch_runner.json b/datapacks/stealth_game/data/minecraft/advancements/custom/punch_runner.json index f9009f4..4bfc80d 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/punch_runner.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/punch_runner.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:bone"},"title":{"text":"Gotchya!","color":"#ac004d","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Punch a runner.","color":"#760035","bold":false}},"parent":"custom/root","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:bone"},"title":{"translate":"Gotchya!","color":"#ac004d","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Punch a runner.","color":"#760035","bold":false}},"parent":"custom/root","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/root.json b/datapacks/stealth_game/data/minecraft/advancements/custom/root.json index 60ced04..ff43ec2 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/root.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/root.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:4}"},"title":{"text":"Stealthiators","color":"dark_gray","bold":true},"description":{"text":"By the ","color":"white","underlined":false,"extra":[{"text":"Command","color":"aqua","bold":true,"extra":[{"text":" Realm","color":"dark_aqua","extra":[{"text":" Team","bold":false,"color":"white"}]}]}]},"background":"minecraft:textures/block/black_concrete.png","show_toast":false,"announce_to_chat":"false"},"criteria":{"tick":{"trigger":"minecraft:tick"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:4}"},"title":{"translate":"Stealthiators","color":"dark_gray","bold":true},"description":{"translate":"By the ","color":"white","underlined":false,"extra":[{"translate":"Command","color":"aqua","bold":true,"extra":[{"translate":" Realm","color":"dark_aqua","extra":[{"translate":" Team","bold":false,"color":"white"}]}]}]},"background":"minecraft:textures/block/black_concrete.png","show_toast":false,"announce_to_chat":"false"},"criteria":{"tick":{"trigger":"minecraft:tick"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/run_300_blocks.json b/datapacks/stealth_game/data/minecraft/advancements/custom/run_300_blocks.json index fbde47b..5e7bb11 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/run_300_blocks.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/run_300_blocks.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:netherite_boots"},"title":{"text":"Run! Run! Run!","color":"green","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Run 300 blocks as a runner.","color":"dark_green","bold":false}},"parent":"custom/step_on_20_bands","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:netherite_boots"},"title":{"translate":"Run! Run! Run!","color":"green","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Run 300 blocks as a runner.","color":"dark_green","bold":false}},"parent":"custom/step_on_20_bands","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_20_bands.json b/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_20_bands.json index 900e60d..b97acd3 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_20_bands.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_20_bands.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:polished_basalt"},"title":{"text":"Band Master","color":"red","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Step on 20 bands.","color":"dark_red","bold":false}},"parent":"custom/step_on_trap","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:polished_basalt"},"title":{"translate":"Band Master","color":"red","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Step on 20 bands.","color":"dark_red","bold":false}},"parent":"custom/step_on_trap","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_finish_line.json b/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_finish_line.json index 59a37af..258fdba 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_finish_line.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_finish_line.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:lodestone"},"title":{"text":"Queue the Music","color":"aqua","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Step on the finish line as a runner.","color":"dark_aqua","bold":false}},"parent":"custom/root","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:lodestone"},"title":{"translate":"Queue the Music","color":"aqua","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Step on the finish line as a runner.","color":"dark_aqua","bold":false}},"parent":"custom/root","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_finish_line_late.json b/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_finish_line_late.json index dcdc721..1d011d9 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_finish_line_late.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_finish_line_late.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:red_nether_bricks"},"title":{"text":"Close Call","color":"#b70000","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Be the first to step on the finish line within the last minute of play.","color":"#712b2b","bold":false}},"parent":"custom/barefoot_runner","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:red_nether_bricks"},"title":{"translate":"Close Call","color":"#b70000","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Be the first to step on the finish line within the last minute of play.","color":"#712b2b","bold":false}},"parent":"custom/barefoot_runner","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_trap.json b/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_trap.json index 04e9b21..4ee9cc2 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_trap.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/step_on_trap.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:iron_bars"},"title":{"text":"Confined","color":"#00169c","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Step on a trap.","color":"#000d5b","bold":false}},"parent":"custom/step_on_finish_line_late","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:iron_bars"},"title":{"translate":"Confined","color":"#00169c","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Step on a trap.","color":"#000d5b","bold":false}},"parent":"custom/step_on_finish_line_late","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/talk_to_villagers.json b/datapacks/stealth_game/data/minecraft/advancements/custom/talk_to_villagers.json index 4b7ffc0..1c493ed 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/talk_to_villagers.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/talk_to_villagers.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:emerald"},"title":{"text":"Chatterbox","color":"#34ef87","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Listen to all market stall villagers.","color":"#2b9e5f","bold":false}},"parent":"custom/check_out_socials","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:emerald"},"title":{"translate":"Chatterbox","color":"#34ef87","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Listen to all market stall villagers.","color":"#2b9e5f","bold":false}},"parent":"custom/check_out_socials","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/trap_kill.json b/datapacks/stealth_game/data/minecraft/advancements/custom/trap_kill.json index 8885e13..e4d49d3 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/trap_kill.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/trap_kill.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:snow","nbt":"{CustomModelData:1}"},"title":{"text":"Wrong Step","color":"dark_red","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Punch a runner who recently stepped on a trap.","color":"#784446","bold":false}},"parent":"custom/kill_after_backdoor","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:snow","nbt":"{CustomModelData:1}"},"title":{"translate":"Wrong Step","color":"dark_red","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Punch a runner who recently stepped on a trap.","color":"#784446","bold":false}},"parent":"custom/kill_after_backdoor","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_death_message.json b/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_death_message.json index 11587c8..5bede43 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_death_message.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_death_message.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:bone"},"title":{"text":"Exclusive Death Message","color":"red","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Complete this row of advancements to unlock.","color":"dark_red","bold":false}},"parent":"custom/run_300_blocks","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:bone"},"title":{"translate":"Exclusive Death Message","color":"red","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Complete this row of advancements to unlock.","color":"dark_red","bold":false}},"parent":"custom/run_300_blocks","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_lobby_mount.json b/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_lobby_mount.json index 6a74e6b..aed357a 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_lobby_mount.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_lobby_mount.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:saddle"},"title":{"text":"Exclusive Lobby Mount","color":"green","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Complete this row of advancements to unlock.","color":"dark_green","bold":false}},"parent":"custom/win_on_rotation","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:saddle"},"title":{"translate":"Exclusive Lobby Mount","color":"green","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Complete this row of advancements to unlock.","color":"dark_green","bold":false}},"parent":"custom/win_on_rotation","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_prefix.json b/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_prefix.json index ab3091c..34ade84 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_prefix.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_prefix.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:name_tag"},"title":{"text":"Exclusive Prefix","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Complete this row of advancements to unlock.","color":"gray","bold":false}},"parent":"custom/talk_to_villagers","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:name_tag"},"title":{"translate":"Exclusive Prefix","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Complete this row of advancements to unlock.","color":"gray","bold":false}},"parent":"custom/talk_to_villagers","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_trident_effect.json b/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_trident_effect.json index 723c0e8..8c05e34 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_trident_effect.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/unlock_trident_effect.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:trident"},"title":{"text":"Exclusive Trident Effect","color":"gold","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Complete this row of advancements to unlock.","color":"#d2a800","bold":false}},"parent":"custom/kill_on_finish_line","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:trident"},"title":{"translate":"Exclusive Trident Effect","color":"gold","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Complete this row of advancements to unlock.","color":"#d2a800","bold":false}},"parent":"custom/kill_on_finish_line","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/use_backdoor.json b/datapacks/stealth_game/data/minecraft/advancements/custom/use_backdoor.json index 07b0428..9515722 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/use_backdoor.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/use_backdoor.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:5}"},"title":{"text":"Retreat!","color":"#8c7c7d","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Use the backdoor item.","color":"#5a4e4f","bold":false}},"parent":"custom/dash_kill","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:5}"},"title":{"translate":"Retreat!","color":"#8c7c7d","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Use the backdoor item.","color":"#5a4e4f","bold":false}},"parent":"custom/dash_kill","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/win_as_gladiator.json b/datapacks/stealth_game/data/minecraft/advancements/custom/win_as_gladiator.json index 17c6b4e..010be99 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/win_as_gladiator.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/win_as_gladiator.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:4}"},"title":{"text":"Watchful","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Win a round as a gladiator.","color":"gray","bold":false}},"parent":"custom/win_as_runner","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:carrot_on_a_stick","nbt":"{CustomModelData:4}"},"title":{"translate":"Watchful","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Win a round as a gladiator.","color":"gray","bold":false}},"parent":"custom/win_as_runner","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/win_as_runner.json b/datapacks/stealth_game/data/minecraft/advancements/custom/win_as_runner.json index a10d055..021bf5f 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/win_as_runner.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/win_as_runner.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:iron_boots"},"title":{"text":"Sneaky","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Win a round as a runner.","color":"gray","bold":false}},"parent":"custom/play_game","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:iron_boots"},"title":{"translate":"Sneaky","color":"dark_gray","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Win a round as a runner.","color":"gray","bold":false}},"parent":"custom/play_game","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/win_on_classic.json b/datapacks/stealth_game/data/minecraft/advancements/custom/win_on_classic.json index d6b02a9..1bd85db 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/win_on_classic.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/win_on_classic.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:white_glazed_terracotta"},"title":{"text":"Classic Victory","color":"white","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Win a game of \"Classic\" mode.","color":"gray","bold":false}},"parent":"custom/win_as_gladiator","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:white_glazed_terracotta"},"title":{"translate":"Classic Victory","color":"white","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Win a game of \"Classic\" mode.","color":"gray","bold":false}},"parent":"custom/win_as_gladiator","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/advancements/custom/win_on_rotation.json b/datapacks/stealth_game/data/minecraft/advancements/custom/win_on_rotation.json index c994a70..decd22c 100644 --- a/datapacks/stealth_game/data/minecraft/advancements/custom/win_on_rotation.json +++ b/datapacks/stealth_game/data/minecraft/advancements/custom/win_on_rotation.json @@ -1 +1 @@ -{"display":{"icon":{"item":"minecraft:black_glazed_terracotta"},"title":{"text":"Round of Applause","color":"gold","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"text":"Win a game of \"Rotation\" mode.","color":"yellow","bold":false}},"parent":"custom/win_on_classic","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file +{"display":{"icon":{"item":"minecraft:black_glazed_terracotta"},"title":{"translate":"Round of Applause","color":"gold","bold":true},"show_toast":true,"announce_to_chat":"false","description":{"translate":"Win a game of \"Rotation\" mode.","color":"yellow","bold":false}},"parent":"custom/win_on_classic","criteria":{"impossible":{"trigger":"minecraft:impossible"}}} \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/loot_tables/backdoor.json b/datapacks/stealth_game/data/minecraft/loot_tables/backdoor.json index 923fd05..9fa4066 100644 --- a/datapacks/stealth_game/data/minecraft/loot_tables/backdoor.json +++ b/datapacks/stealth_game/data/minecraft/loot_tables/backdoor.json @@ -1 +1 @@ -{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,CustomModelData:5}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"text":"Click to warp to band ","color":"red","italic":false},{"text":"#","color":"dark_red"},{"score":{"objective":"band_number","name":"$correct_band"},"bold":true,"italic":false,"color":"dark_red"}] } ], "name": "minecraft:carrot_on_a_stick" } ] } ] } \ No newline at end of file +{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,CustomModelData:5}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"translate":"Click to warp to band ","color":"red","italic":false},{"translate":"#","color":"dark_red"},{"score":{"objective":"band_number","name":"$correct_band"},"bold":true,"italic":false,"color":"dark_red"}] } ], "name": "minecraft:carrot_on_a_stick" } ] } ] } \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/loot_tables/played.json b/datapacks/stealth_game/data/minecraft/loot_tables/played.json index 923fd05..9fa4066 100644 --- a/datapacks/stealth_game/data/minecraft/loot_tables/played.json +++ b/datapacks/stealth_game/data/minecraft/loot_tables/played.json @@ -1 +1 @@ -{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,CustomModelData:5}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"text":"Click to warp to band ","color":"red","italic":false},{"text":"#","color":"dark_red"},{"score":{"objective":"band_number","name":"$correct_band"},"bold":true,"italic":false,"color":"dark_red"}] } ], "name": "minecraft:carrot_on_a_stick" } ] } ] } \ No newline at end of file +{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,CustomModelData:5}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"translate":"Click to warp to band ","color":"red","italic":false},{"translate":"#","color":"dark_red"},{"score":{"objective":"band_number","name":"$correct_band"},"bold":true,"italic":false,"color":"dark_red"}] } ], "name": "minecraft:carrot_on_a_stick" } ] } ] } \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/loot_tables/stats/bands.json b/datapacks/stealth_game/data/minecraft/loot_tables/stats/bands.json index f69db97..29751fc 100644 --- a/datapacks/stealth_game/data/minecraft/loot_tables/stats/bands.json +++ b/datapacks/stealth_game/data/minecraft/loot_tables/stats/bands.json @@ -1 +1 @@ -{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"text":"Bands stepped on: ","color":"gray","italic":false},{"score":{"objective":"stat_bands","name":"@s"},"bold":true,"italic":false,"color":"dark_gray"}] } ], "name": "minecraft:polished_basalt" } ] } ] } \ No newline at end of file +{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"translate":"Bands stepped on: ","color":"gray","italic":false},{"score":{"objective":"stat_bands","name":"@s"},"bold":true,"italic":false,"color":"dark_gray"}] } ], "name": "minecraft:polished_basalt" } ] } ] } \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/loot_tables/stats/g_wins.json b/datapacks/stealth_game/data/minecraft/loot_tables/stats/g_wins.json index c3b6447..041b2bb 100644 --- a/datapacks/stealth_game/data/minecraft/loot_tables/stats/g_wins.json +++ b/datapacks/stealth_game/data/minecraft/loot_tables/stats/g_wins.json @@ -1 +1 @@ -{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"text":"Gladiator wins: ","color":"#9c9558","italic":false},{"score":{"objective":"stat_g_win","name":"@s"},"bold":true,"italic":false,"color":"#6c6847"}] } ], "name": "minecraft:gold_ingot" } ] } ] } \ No newline at end of file +{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"translate":"Gladiator wins: ","color":"#9c9558","italic":false},{"score":{"objective":"stat_g_win","name":"@s"},"bold":true,"italic":false,"color":"#6c6847"}] } ], "name": "minecraft:gold_ingot" } ] } ] } \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/loot_tables/stats/highscore.json b/datapacks/stealth_game/data/minecraft/loot_tables/stats/highscore.json index efeec53..e9bfc80 100644 --- a/datapacks/stealth_game/data/minecraft/loot_tables/stats/highscore.json +++ b/datapacks/stealth_game/data/minecraft/loot_tables/stats/highscore.json @@ -1 +1 @@ -{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"text":"Training-Course Highscore: ","color":"aqua","italic":false},{"score":{"objective":"highscore","name":"@s"},"bold":true,"italic":false,"color":"dark_aqua"}] } ], "name": "minecraft:target" } ] } ] } \ No newline at end of file +{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"translate":"Training-Course Highscore: ","color":"aqua","italic":false},{"score":{"objective":"highscore","name":"@s"},"bold":true,"italic":false,"color":"dark_aqua"}] } ], "name": "minecraft:target" } ] } ] } \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/loot_tables/stats/punches.json b/datapacks/stealth_game/data/minecraft/loot_tables/stats/punches.json index 77ac01d..1577e6d 100644 --- a/datapacks/stealth_game/data/minecraft/loot_tables/stats/punches.json +++ b/datapacks/stealth_game/data/minecraft/loot_tables/stats/punches.json @@ -1 +1 @@ -{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"text":"Runners punched: ","color":"red","italic":false},{"score":{"objective":"stat_punches","name":"@s"},"bold":true,"italic":false,"color":"dark_red"}] } ], "name": "minecraft:trident" } ] } ] } \ No newline at end of file +{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"translate":"Runners punched: ","color":"red","italic":false},{"score":{"objective":"stat_punches","name":"@s"},"bold":true,"italic":false,"color":"dark_red"}] } ], "name": "minecraft:trident" } ] } ] } \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/loot_tables/stats/r_wins.json b/datapacks/stealth_game/data/minecraft/loot_tables/stats/r_wins.json index 34b2bc4..fab8224 100644 --- a/datapacks/stealth_game/data/minecraft/loot_tables/stats/r_wins.json +++ b/datapacks/stealth_game/data/minecraft/loot_tables/stats/r_wins.json @@ -1 +1 @@ -{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"text":"Runner wins: ","color":"gray","italic":false},{"score":{"objective":"stat_r_win","name":"@s"},"bold":true,"italic":false,"color":"dark_gray"}] } ], "name": "minecraft:iron_ingot" } ] } ] } \ No newline at end of file +{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"translate":"Runner wins: ","color":"gray","italic":false},{"score":{"objective":"stat_r_win","name":"@s"},"bold":true,"italic":false,"color":"dark_gray"}] } ], "name": "minecraft:iron_ingot" } ] } ] } \ No newline at end of file diff --git a/datapacks/stealth_game/data/minecraft/loot_tables/stats/wins.json b/datapacks/stealth_game/data/minecraft/loot_tables/stats/wins.json index 659f55b..fc815ae 100644 --- a/datapacks/stealth_game/data/minecraft/loot_tables/stats/wins.json +++ b/datapacks/stealth_game/data/minecraft/loot_tables/stats/wins.json @@ -1 +1 @@ -{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"text":"Total wins: ","color":"yellow","italic":false},{"score":{"objective":"stat_win","name":"@s"},"bold":true,"italic":false,"color":"gold"}] } ], "name": "minecraft:netherite_ingot" } ] } ] } \ No newline at end of file +{ "type":"minecraft:generic", "pools" : [ { "rolls":1, "entries":[ { "type": "minecraft:item", "functions":[ {"function":"minecraft:set_nbt","entity":"this","tag":"{HideFlags:63,clickable:1}"},{ "function": "minecraft:set_name", "entity": "this", "name": [{"translate":"Total wins: ","color":"yellow","italic":false},{"score":{"objective":"stat_win","name":"@s"},"bold":true,"italic":false,"color":"gold"}] } ], "name": "minecraft:netherite_ingot" } ] } ] } \ No newline at end of file diff --git a/datapacks/stealth_game/data/options/functions/error.mcfunction b/datapacks/stealth_game/data/options/functions/error.mcfunction index 823b715..2c9f791 100644 --- a/datapacks/stealth_game/data/options/functions/error.mcfunction +++ b/datapacks/stealth_game/data/options/functions/error.mcfunction @@ -1,2 +1,2 @@ -tellraw @s {"text":"Please wait until the game is over to change this option.","color":"red"} +tellraw @s {"translate":"Please wait until the game is over to change this option.","color":"red"} playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 10000 0 \ No newline at end of file diff --git a/datapacks/stealth_game/data/options/functions/generation/add_generation.mcfunction b/datapacks/stealth_game/data/options/functions/generation/add_generation.mcfunction index 4388f0f..0ff2c5d 100644 --- a/datapacks/stealth_game/data/options/functions/generation/add_generation.mcfunction +++ b/datapacks/stealth_game/data/options/functions/generation/add_generation.mcfunction @@ -5,9 +5,9 @@ execute if score $auto generation matches ..-1 run scoreboard players set $auto execute if score $auto generation matches 2.. run scoreboard players set $auto generation 0 -execute if score $auto generation matches 1 run setblock 26 68 -36 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"","color":"#cbc69c","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"Generation:","color":"#4d834c","bold":true}', '{"text":"Auto","color":"yellow"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:generation/click_generation"}}'], has_glowing_text: false, color: "black"}} -execute if score $auto generation matches 0 run setblock 26 68 -36 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"","color":"#cbc69c","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"Generation:","color":"#4d834c","bold":true}', '{"text":"Custom","color":"yellow"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:generation/click_generation"}}'], has_glowing_text: false, color: "black"}} -execute if score $auto generation matches 0 run tellraw @s {"text":"You can change the specifics of generation to the right of this option.","color":"green"} +execute if score $auto generation matches 1 run setblock 26 68 -36 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"","color":"#cbc69c","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"Generation:","color":"#4d834c","bold":true}', '{"translate":"Auto","color":"yellow"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:generation/click_generation"}}'], has_glowing_text: false, color: "black"}} +execute if score $auto generation matches 0 run setblock 26 68 -36 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"","color":"#cbc69c","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"Generation:","color":"#4d834c","bold":true}', '{"translate":"Custom","color":"yellow"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:generation/click_generation"}}'], has_glowing_text: false, color: "black"}} +execute if score $auto generation matches 0 run tellraw @s {"translate":"You can change the specifics of generation to the right of this option.","color":"green"} particle minecraft:cloud 25 69.5 -36 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/options/functions/gladiators/add_gladiator.mcfunction b/datapacks/stealth_game/data/options/functions/gladiators/add_gladiator.mcfunction index 50265f4..e248095 100644 --- a/datapacks/stealth_game/data/options/functions/gladiators/add_gladiator.mcfunction +++ b/datapacks/stealth_game/data/options/functions/gladiators/add_gladiator.mcfunction @@ -5,8 +5,8 @@ execute if score $number gladiators matches ..-1 run scoreboard players set $num execute if score $number gladiators matches 11.. run scoreboard players set $number gladiators 0 -execute if score $number gladiators matches 0 run setblock 28 68 -34 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"Number of","color":"#cbc69c","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"gladiators:","color":"#3cbc69c","bold":true}', '{"text":"Auto","color":"yellow"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:gladiators/click_gladiators"}}'], has_glowing_text: false, color: "black"}} -execute unless score $number gladiators matches 0 run setblock 28 68 -34 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"Number of","color":"#cbc69c","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"gladiators:","color":"#3cbc69c","bold":true}', '{"score":{"objective":"gladiators","name":"$number"},"color":"yellow"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:gladiators/click_gladiators"}}'], has_glowing_text: false, color: "black"}} +execute if score $number gladiators matches 0 run setblock 28 68 -34 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"Number of","color":"#cbc69c","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"gladiators:","color":"#3cbc69c","bold":true}', '{"translate":"Auto","color":"yellow"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:gladiators/click_gladiators"}}'], has_glowing_text: false, color: "black"}} +execute unless score $number gladiators matches 0 run setblock 28 68 -34 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"Number of","color":"#cbc69c","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"gladiators:","color":"#3cbc69c","bold":true}', '{"score":{"objective":"gladiators","name":"$number"},"color":"yellow"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:gladiators/click_gladiators"}}'], has_glowing_text: false, color: "black"}} particle minecraft:cloud 27 69.5 -34 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/options/functions/infection/add_infection.mcfunction b/datapacks/stealth_game/data/options/functions/infection/add_infection.mcfunction index 177ef78..2731ee4 100644 --- a/datapacks/stealth_game/data/options/functions/infection/add_infection.mcfunction +++ b/datapacks/stealth_game/data/options/functions/infection/add_infection.mcfunction @@ -5,8 +5,8 @@ execute if score $number infection matches ..-1 run scoreboard players set $numb execute if score $number infection matches 2.. run scoreboard players set $number infection 0 -execute if score $number infection matches 0 run setblock 26 68 -38 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"Runners swap","color":"#a06a3e","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"team on death:","color":"#a06a3e","bold":true}', '{"text":"Off","color":"red"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:infection/click_infection"}}'], has_glowing_text: false, color: "black"}} -execute if score $number infection matches 1 run setblock 26 68 -38 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"Runners swap","color":"#a06a3e","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"team on death:","color":"#a06a3e","bold":true}', '{"text":"On","color":"green"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:infection/click_infection"}}'], has_glowing_text: false, color: "black"}} +execute if score $number infection matches 0 run setblock 26 68 -38 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"Runners swap","color":"#a06a3e","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"team on death:","color":"#a06a3e","bold":true}', '{"translate":"Off","color":"red"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:infection/click_infection"}}'], has_glowing_text: false, color: "black"}} +execute if score $number infection matches 1 run setblock 26 68 -38 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"Runners swap","color":"#a06a3e","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"team on death:","color":"#a06a3e","bold":true}', '{"translate":"On","color":"green"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:infection/click_infection"}}'], has_glowing_text: false, color: "black"}} particle minecraft:cloud 25 69.5 -38 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/options/functions/invalid_generation.mcfunction b/datapacks/stealth_game/data/options/functions/invalid_generation.mcfunction index f586c2e..3d6cef1 100644 --- a/datapacks/stealth_game/data/options/functions/invalid_generation.mcfunction +++ b/datapacks/stealth_game/data/options/functions/invalid_generation.mcfunction @@ -1,2 +1,2 @@ -tellraw @s {"text":"Please set the generation to custom before changing this setting.","color":"red"} +tellraw @s {"translate":"Please set the generation to custom before changing this setting.","color":"red"} playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 0.8 \ No newline at end of file diff --git a/datapacks/stealth_game/data/options/functions/invalid_generation_setting.mcfunction b/datapacks/stealth_game/data/options/functions/invalid_generation_setting.mcfunction index 0559765..76c817b 100644 --- a/datapacks/stealth_game/data/options/functions/invalid_generation_setting.mcfunction +++ b/datapacks/stealth_game/data/options/functions/invalid_generation_setting.mcfunction @@ -1,2 +1,2 @@ -tellraw @s {"text":"Invalid generation setting. Please try again.","color":"red"} +tellraw @s {"translate":"Invalid generation setting. Please try again.","color":"red"} playsound minecraft:block.note_block.didgeridoo master @s ~ ~ ~ 100000 0.8 \ No newline at end of file diff --git a/datapacks/stealth_game/data/options/functions/long/add_long.mcfunction b/datapacks/stealth_game/data/options/functions/long/add_long.mcfunction index 95e641f..7aacad0 100644 --- a/datapacks/stealth_game/data/options/functions/long/add_long.mcfunction +++ b/datapacks/stealth_game/data/options/functions/long/add_long.mcfunction @@ -5,7 +5,7 @@ playsound minecraft:ui.button.click master @s -setblock 28 67 -53 oak_wall_sign[facing=south]{front_text:{messages:['{"text":"Long width","color":"yellow","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"segments:","color":"yellow","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 1 run function options:invalid_generation"}}', '{"score":{"objective":"custom_gen","name":"$long"},"color":"gray"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 0 as @s at @s anchored eyes if score $game state matches 0 run function options:long/click_long"}}'], has_glowing_text: false, color: "black"}} +setblock 28 67 -53 oak_wall_sign[facing=south]{front_text:{messages:['{"translate":"Long width","color":"yellow","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"segments:","color":"yellow","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 1 run function options:invalid_generation"}}', '{"score":{"objective":"custom_gen","name":"$long"},"color":"gray"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 0 as @s at @s anchored eyes if score $game state matches 0 run function options:long/click_long"}}'], has_glowing_text: false, color: "black"}} particle minecraft:cloud 28 68.5 -54 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/options/functions/med/add_med.mcfunction b/datapacks/stealth_game/data/options/functions/med/add_med.mcfunction index 1a74232..7baf46b 100644 --- a/datapacks/stealth_game/data/options/functions/med/add_med.mcfunction +++ b/datapacks/stealth_game/data/options/functions/med/add_med.mcfunction @@ -3,7 +3,7 @@ playsound minecraft:ui.button.click master @s -setblock 31 67 -54 oak_wall_sign[facing=south]{front_text:{messages:['{"text":"Medium width","color":"gold","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"segments:","color":"gold","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 1 run function options:invalid_generation"}}', '{"score":{"objective":"custom_gen","name":"$med"},"color":"gray"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 0 as @s at @s anchored eyes if score $game state matches 0 run function options:med/click_med"}}'], has_glowing_text: false, color: "black"}} +setblock 31 67 -54 oak_wall_sign[facing=south]{front_text:{messages:['{"translate":"Medium width","color":"gold","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"segments:","color":"gold","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 1 run function options:invalid_generation"}}', '{"score":{"objective":"custom_gen","name":"$med"},"color":"gray"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 0 as @s at @s anchored eyes if score $game state matches 0 run function options:med/click_med"}}'], has_glowing_text: false, color: "black"}} particle minecraft:cloud 31 68.5 -55 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/options/functions/mode/add_mode.mcfunction b/datapacks/stealth_game/data/options/functions/mode/add_mode.mcfunction index fa823f2..2756d88 100644 --- a/datapacks/stealth_game/data/options/functions/mode/add_mode.mcfunction +++ b/datapacks/stealth_game/data/options/functions/mode/add_mode.mcfunction @@ -4,8 +4,8 @@ scoreboard players add $number mode 1 execute if score $number mode matches 2.. run scoreboard players set $number mode 0 execute if score $number mode matches ..-1 run scoreboard players set $number mode 1 -execute if score $number mode matches 0 run setblock 29 68 -32 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"","color":"blue","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"Mode:","color":"#3a005f","bold":true}', '{"text":"Classic","color":"yellow"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:mode/click_mode"}}'], has_glowing_text: false, color: "black"}} -execute if score $number mode matches 1 run setblock 29 68 -32 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"","color":"blue","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"Mode:","color":"#3a005f","bold":true}', '{"text":"Rotation","color":"yellow"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:mode/click_mode"}}'], has_glowing_text: false, color: "black"}} +execute if score $number mode matches 0 run setblock 29 68 -32 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"","color":"blue","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"Mode:","color":"#3a005f","bold":true}', '{"translate":"Classic","color":"yellow"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:mode/click_mode"}}'], has_glowing_text: false, color: "black"}} +execute if score $number mode matches 1 run setblock 29 68 -32 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"","color":"blue","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"Mode:","color":"#3a005f","bold":true}', '{"translate":"Rotation","color":"yellow"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:mode/click_mode"}}'], has_glowing_text: false, color: "black"}} particle minecraft:cloud 28 69.5 -32 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/options/functions/ready/add_ready.mcfunction b/datapacks/stealth_game/data/options/functions/ready/add_ready.mcfunction index 21ed48a..c09dded 100644 --- a/datapacks/stealth_game/data/options/functions/ready/add_ready.mcfunction +++ b/datapacks/stealth_game/data/options/functions/ready/add_ready.mcfunction @@ -5,8 +5,8 @@ execute if score $number auto_ready matches ..-1 run scoreboard players set $num execute if score $number auto_ready matches 2.. run scoreboard players set $number auto_ready 0 -execute if score $number auto_ready matches 0 run setblock 24 68 -42 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"Auto-ready after","color":"#b2caad","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"after games:","color":"#b2caad","bold":true}', '{"text":"Off","color":"red"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:ready/click_ready"}}'], has_glowing_text: false, color: "black"}} -execute if score $number auto_ready matches 1 run setblock 24 68 -42 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"Auto-ready after","color":"#b2caad","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"after games:","color":"#b2caad","bold":true}', '[{"text":"On","color":"green"}]', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:ready/click_ready"}}'], has_glowing_text: false, color: "black"}} +execute if score $number auto_ready matches 0 run setblock 24 68 -42 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"Auto-ready after","color":"#b2caad","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"after games:","color":"#b2caad","bold":true}', '{"translate":"Off","color":"red"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:ready/click_ready"}}'], has_glowing_text: false, color: "black"}} +execute if score $number auto_ready matches 1 run setblock 24 68 -42 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"Auto-ready after","color":"#b2caad","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"after games:","color":"#b2caad","bold":true}', '[{"translate":"On","color":"green"}]', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:ready/click_ready"}}'], has_glowing_text: false, color: "black"}} particle minecraft:cloud 23 69.5 -42 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/options/functions/small/add_small.mcfunction b/datapacks/stealth_game/data/options/functions/small/add_small.mcfunction index 51dd9e6..f03355c 100644 --- a/datapacks/stealth_game/data/options/functions/small/add_small.mcfunction +++ b/datapacks/stealth_game/data/options/functions/small/add_small.mcfunction @@ -3,7 +3,7 @@ playsound minecraft:ui.button.click master @s -setblock 34 67 -55 oak_wall_sign[facing=south]{front_text:{messages:['{"text":"Small width","color":"gold","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"segments:","color":"gold","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 1 run function options:invalid_generation"}}', '{"score":{"objective":"custom_gen","name":"$small"},"color":"gray"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 0 as @s at @s anchored eyes if score $game state matches 0 run function options:small/click_small"}}'], has_glowing_text: false, color: "black"}} +setblock 34 67 -55 oak_wall_sign[facing=south]{front_text:{messages:['{"translate":"Small width","color":"gold","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"segments:","color":"gold","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 1 run function options:invalid_generation"}}', '{"score":{"objective":"custom_gen","name":"$small"},"color":"gray"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $auto generation matches 0 as @s at @s anchored eyes if score $game state matches 0 run function options:small/click_small"}}'], has_glowing_text: false, color: "black"}} particle minecraft:cloud 34 68.5 -56 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/options/functions/timer/add_timer.mcfunction b/datapacks/stealth_game/data/options/functions/timer/add_timer.mcfunction index 38515b1..ace4152 100644 --- a/datapacks/stealth_game/data/options/functions/timer/add_timer.mcfunction +++ b/datapacks/stealth_game/data/options/functions/timer/add_timer.mcfunction @@ -6,8 +6,8 @@ execute if score $time set_timer matches 12001.. run scoreboard players set $tim scoreboard players operation $options set_timer = $time set_timer scoreboard players operation $options set_timer /= $minute number -execute if score $options set_timer matches 1 run setblock 25 68 -40 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"","color":"#a06a3e","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"Timer:","color":"#70979a","bold":true}', '{"text":"1 minute","color":"yellow"}', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:timer/click_timer"}}'], has_glowing_text: false, color: "black"}} -execute if score $options set_timer matches 2.. run setblock 25 68 -40 oak_wall_sign[facing=east]{front_text:{messages:['{"text":"","color":"#a06a3e","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"text":"Timer:","color":"#70979a","bold":true}', '[{"score":{"objective":"set_timer","name":"$options"},"color":"yellow"},{"text":" minutes","color":"yellow"}]', '{"text":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:timer/click_timer"}}'], has_glowing_text: false, color: "black"}} +execute if score $options set_timer matches 1 run setblock 25 68 -40 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"","color":"#a06a3e","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"Timer:","color":"#70979a","bold":true}', '{"translate":"1 minute","color":"yellow"}', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:timer/click_timer"}}'], has_glowing_text: false, color: "black"}} +execute if score $options set_timer matches 2.. run setblock 25 68 -40 oak_wall_sign[facing=east]{front_text:{messages:['{"translate":"","color":"#a06a3e","bold":true,"clickEvent":{"action":"run_command","value":"/execute if score $game state matches 1.. run function options:error"}}', '{"translate":"Timer:","color":"#70979a","bold":true}', '[{"score":{"objective":"set_timer","name":"$options"},"color":"yellow"},{"translate":" minutes","color":"yellow"}]', '{"translate":"<<< >>>","color":"#91b0be","bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s at @s anchored eyes if score $game state matches 0 run function options:timer/click_timer"}}'], has_glowing_text: false, color: "black"}} particle minecraft:cloud 24 69.5 -40 0 0 0 0.05 10 diff --git a/datapacks/stealth_game/data/pregame/functions/countdown.mcfunction b/datapacks/stealth_game/data/pregame/functions/countdown.mcfunction index 5268eef..a44dd6a 100644 --- a/datapacks/stealth_game/data/pregame/functions/countdown.mcfunction +++ b/datapacks/stealth_game/data/pregame/functions/countdown.mcfunction @@ -8,9 +8,9 @@ execute if score $time sound_second matches 0 run function pregame:play_sound scoreboard players operation $time display_timer = $time startup_timer scoreboard players operation $time display_timer /= 20 number scoreboard players add $time display_timer 1 -execute if score $number players_ready matches 2.. run title @a title [{"score":{"objective":"display_timer","name":"$time"},"color":"dark_gray"},{"text":" seconds","color":"#777777"}] -execute if score $number players_ready matches 2.. if score $time display_timer matches 1 run title @a title [{"score":{"objective":"display_timer","name":"$time"},"color":"dark_gray"},{"text":" second","color":"#777777"}] -execute if score $number players_ready matches 2.. run title @a[scores={ready=0}] subtitle [{"text":"to join the game","color":"#3e0003"}] -execute if score $number players_ready matches 2.. run title @a[scores={ready=1}] subtitle [{"text":"till the game begins ","color":"gray"},{"text":"(","color":"dark_gray","bold":true},{"score":{"objective":"players_ready","name":"$number"},"color":"gray","bold":false},{"text":"/","color":"gray"},{"score":{"objective":"players_on","name":"$number"},"color":"gray"},{"text":")","color":"dark_gray","bold":true}] +execute if score $number players_ready matches 2.. run title @a title [{"score":{"objective":"display_timer","name":"$time"},"color":"dark_gray"},{"translate":" seconds","color":"#777777"}] +execute if score $number players_ready matches 2.. if score $time display_timer matches 1 run title @a title [{"score":{"objective":"display_timer","name":"$time"},"color":"dark_gray"},{"translate":" second","color":"#777777"}] +execute if score $number players_ready matches 2.. run title @a[scores={ready=0}] subtitle [{"translate":"to join the game","color":"#3e0003"}] +execute if score $number players_ready matches 2.. run title @a[scores={ready=1}] subtitle [{"translate":"till the game begins ","color":"gray"},{"translate":"(","color":"dark_gray","bold":true},{"score":{"objective":"players_ready","name":"$number"},"color":"gray","bold":false},{"translate":"/","color":"gray"},{"score":{"objective":"players_on","name":"$number"},"color":"gray"},{"translate":")","color":"dark_gray","bold":true}] execute if score $time startup_timer matches 0 run function game:start execute as @a[scores={intro=0..}] at @s run function lobby:intro/end \ No newline at end of file diff --git a/datapacks/stealth_game/data/pregame/functions/get_ready_book.mcfunction b/datapacks/stealth_game/data/pregame/functions/get_ready_book.mcfunction index 3b9c427..f971d49 100644 --- a/datapacks/stealth_game/data/pregame/functions/get_ready_book.mcfunction +++ b/datapacks/stealth_game/data/pregame/functions/get_ready_book.mcfunction @@ -1,5 +1,5 @@ clear @s carrot_on_a_stick{CustomModelData:2} execute positioned ~ ~1 ~ if entity @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:2}}},distance=..2] run function lobby:drop_ready_book kill @e[type=item,nbt={Item:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:2}}}] -execute if entity @s[scores={ready=0}] run item replace entity @s hotbar.4 with carrot_on_a_stick{clickable:0,CustomModelData:2,display:{Name:'[{"text":"Press ","color":"dark_gray","bold":false,"italic":false},{"keybind":"key.use","color":"gray","bold":true},{"text":" to play.","color":"dark_gray","bold":false}]'}} -execute if entity @s[scores={ready=1}] run item replace entity @s hotbar.4 with carrot_on_a_stick{clickable:0,CustomModelData:2,display:{Name:'[{"text":"Press ","color":"gray","bold":false,"italic":false},{"keybind":"key.use","color":"white","bold":true},{"text":" to spectate.","color":"gray","bold":false}]'},Enchantments:[{id:"x",lvl:1}]} \ No newline at end of file +execute if entity @s[scores={ready=0}] run item replace entity @s hotbar.4 with carrot_on_a_stick{clickable:0,CustomModelData:2,display:{Name:'[{"translate":"Press ","color":"dark_gray","bold":false,"italic":false},{"keybind":"key.use","color":"gray","bold":true},{"translate":" to play.","color":"dark_gray","bold":false}]'}} +execute if entity @s[scores={ready=1}] run item replace entity @s hotbar.4 with carrot_on_a_stick{clickable:0,CustomModelData:2,display:{Name:'[{"translate":"Press ","color":"gray","bold":false,"italic":false},{"keybind":"key.use","color":"white","bold":true},{"translate":" to spectate.","color":"gray","bold":false}]'},Enchantments:[{id:"x",lvl:1}]} \ No newline at end of file diff --git a/datapacks/stealth_game/data/pregame/functions/main.mcfunction b/datapacks/stealth_game/data/pregame/functions/main.mcfunction index a3eb3d1..14c303a 100644 --- a/datapacks/stealth_game/data/pregame/functions/main.mcfunction +++ b/datapacks/stealth_game/data/pregame/functions/main.mcfunction @@ -1,8 +1,8 @@ scoreboard players reset $number players_on execute as @a run scoreboard players add $number players_on 1 execute as @a[tag=!playing,gamemode=adventure] at @s unless entity @s[nbt={Inventory:[{Slot:4b,id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:2}}]}] run function pregame:get_ready_book -execute as @a[tag=!playing,gamemode=adventure,scores={ready=0}] unless entity @s[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}}] run title @s[x=57,y=73,z=7,distance=17..] actionbar [{"text":"You will spectate. ","color":"gray"},{"text":"(","color":"dark_gray","bold":true},{"score":{"objective":"players_ready","name":"$number"},"color":"gray","bold":false},{"text":"/","color":"gray"},{"score":{"objective":"players_on","name":"$number"},"color":"gray"},{"text":")","color":"dark_gray","bold":true}] -execute as @a[tag=!playing,gamemode=adventure,scores={ready=1}] unless entity @s[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}}] run title @s[x=57,y=73,z=7,distance=17..] actionbar [{"text":"You will play. ","color":"dark_gray"},{"text":"(","color":"dark_gray","bold":true},{"score":{"objective":"players_ready","name":"$number"},"color":"gray","bold":false},{"text":"/","color":"gray"},{"score":{"objective":"players_on","name":"$number"},"color":"gray"},{"text":")","color":"dark_gray","bold":true}] +execute as @a[tag=!playing,gamemode=adventure,scores={ready=0}] unless entity @s[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}}] run title @s[x=57,y=73,z=7,distance=17..] actionbar [{"translate":"You will spectate. ","color":"gray"},{"translate":"(","color":"dark_gray","bold":true},{"score":{"objective":"players_ready","name":"$number"},"color":"gray","bold":false},{"translate":"/","color":"gray"},{"score":{"objective":"players_on","name":"$number"},"color":"gray"},{"translate":")","color":"dark_gray","bold":true}] +execute as @a[tag=!playing,gamemode=adventure,scores={ready=1}] unless entity @s[x=0,y=66,z=0,distance=..300,nbt={SelectedItem:{id:"minecraft:written_book"}}] run title @s[x=57,y=73,z=7,distance=17..] actionbar [{"translate":"You will play. ","color":"dark_gray"},{"translate":"(","color":"dark_gray","bold":true},{"score":{"objective":"players_ready","name":"$number"},"color":"gray","bold":false},{"translate":"/","color":"gray"},{"score":{"objective":"players_on","name":"$number"},"color":"gray"},{"translate":")","color":"dark_gray","bold":true}] execute as @a[tag=!playing,scores={right_click=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{CustomModelData:2}}}] at @s run function pregame:right_click scoreboard players set $number players_ready 0 diff --git a/datapacks/stealth_game/data/pregame/functions/not_enough_players.mcfunction b/datapacks/stealth_game/data/pregame/functions/not_enough_players.mcfunction index 00580cd..52baec2 100644 --- a/datapacks/stealth_game/data/pregame/functions/not_enough_players.mcfunction +++ b/datapacks/stealth_game/data/pregame/functions/not_enough_players.mcfunction @@ -1,3 +1,3 @@ ##called when there aren't enough players to start the game. -title @a[x=0,y=66,z=0,distance=..500,gamemode=adventure] title [{"text":""}] -title @a[x=0,y=66,z=0,distance=..500,gamemode=adventure] subtitle [{"text":"- ","color":"gray"},{"text":"Not enough players.","color":"red"}] \ No newline at end of file +title @a[x=0,y=66,z=0,distance=..500,gamemode=adventure] title [{"translate":""}] +title @a[x=0,y=66,z=0,distance=..500,gamemode=adventure] subtitle [{"translate":"- ","color":"gray"},{"translate":"Not enough players.","color":"red"}] \ No newline at end of file diff --git a/datapacks/stealth_game/data/pregame/functions/start_timer.mcfunction b/datapacks/stealth_game/data/pregame/functions/start_timer.mcfunction index 39872ca..13e9a37 100644 --- a/datapacks/stealth_game/data/pregame/functions/start_timer.mcfunction +++ b/datapacks/stealth_game/data/pregame/functions/start_timer.mcfunction @@ -3,7 +3,7 @@ scoreboard players set $time sound_second 20 title @a times 0 20 5 execute as @a[scores={ready=1}] at @s run playsound minecraft:block.note_block.guitar master @s ~ ~ ~ 0.5 0 execute as @a[scores={ready=1}] at @s run playsound minecraft:entity.iron_golem.repair master @s ~ ~ ~ 0.25 0.6 -scoreboard objectives add playing dummy {"text":"- Playing -","color":"gray"} +scoreboard objectives add playing dummy {"translate":"- Playing -","color":"gray"} scoreboard objectives setdisplay sidebar playing -data modify entity @e[type=area_effect_cloud,tag=start_button_text,limit=1] CustomName set value '[{"text":"- ","color":"gray"},{"text":"🗡","color":"#9c9558","bold":true},{"text":" Cancel ","color":"red"},{"text":"🗡","color":"#9c9558","bold":true},{"text":" -","color":"gray"}]' \ No newline at end of file +data modify entity @e[type=area_effect_cloud,tag=start_button_text,limit=1] CustomName set value '[{"translate":"- ","color":"gray"},{"translate":"🗡","color":"#9c9558","bold":true},{"translate":" Cancel ","color":"red"},{"translate":"🗡","color":"#9c9558","bold":true},{"translate":" -","color":"gray"}]' \ No newline at end of file diff --git a/datapacks/stealth_game/data/pregame/functions/timer_end.mcfunction b/datapacks/stealth_game/data/pregame/functions/timer_end.mcfunction index 1bae2d8..7a186fc 100644 --- a/datapacks/stealth_game/data/pregame/functions/timer_end.mcfunction +++ b/datapacks/stealth_game/data/pregame/functions/timer_end.mcfunction @@ -1,3 +1,3 @@ scoreboard players set $time startup_timer -1 scoreboard objectives remove playing -data modify entity @e[type=area_effect_cloud,tag=start_button_text,limit=1] CustomName set value '[{"text":"- ","color":"gray"},{"text":"🗡","color":"#9c9558","bold":true},{"text":" Start ","color":"gold"},{"text":"🗡","color":"#9c9558","bold":true},{"text":" -","color":"gray"}]' +data modify entity @e[type=area_effect_cloud,tag=start_button_text,limit=1] CustomName set value '[{"translate":"- ","color":"gray"},{"translate":"🗡","color":"#9c9558","bold":true},{"translate":" Start ","color":"gold"},{"translate":"🗡","color":"#9c9558","bold":true},{"translate":" -","color":"gray"}]' diff --git a/datapacks/stealth_game/data/pregame/functions/waiting_for_player.mcfunction b/datapacks/stealth_game/data/pregame/functions/waiting_for_player.mcfunction index c608050..48ffa21 100644 --- a/datapacks/stealth_game/data/pregame/functions/waiting_for_player.mcfunction +++ b/datapacks/stealth_game/data/pregame/functions/waiting_for_player.mcfunction @@ -1,2 +1,2 @@ -title @a[scores={ready=1}] title {"text":" "} -title @a[scores={ready=1}] subtitle {"text":"Waiting for another player . . . ","color":"gray"} \ No newline at end of file +title @a[scores={ready=1}] title {"translate":" "} +title @a[scores={ready=1}] subtitle {"translate":"Waiting for another player . . . ","color":"gray"} \ No newline at end of file diff --git a/resources.zip b/resources.zip index d95799f..4c02c10 100644 Binary files a/resources.zip and b/resources.zip differ