Skip to content

Commit

Permalink
DP | idk lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Sep 2, 2024
1 parent 4bd952b commit 4f9ead2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ tellraw @a {"text":" \u2139 | We will pick some maps now...","color":"gray","typ
scoreboard players set min nn_lobby 0
scoreboard players set sec nn_lobby 40
scoreboard players set start_timer nn_lobby 0
tag @e[type=minecraft:pig,limit=1,sort=random,tag=] add map_1
tag @e[type=minecraft:pig,limit=1,sort=random] add map_1
tag @e[tag=map_1] remove map_2
tag @e[tag=map_1] remove map_3
tellraw @a [{"text":" \u2139 | Picked ","color":"gray"},{"selector":"@e[tag=map_1]","color":"yellow"}]
tag @e[type=minecraft:pig,limit=1,sort=random,tag=] add map_2
tag @e[type=minecraft:pig,limit=1,sort=random] add map_2
tag @e[tag=map_2] remove map_1
tag @e[tag=map_2] remove map_3
tellraw @a [{"text":" \u2139 | Picked ","color":"gray"},{"selector":"@e[tag=map_2]","color":"yellow"}]
tag @e[type=minecraft:pig,limit=1,sort=random,tag=] add map_3
tag @e[type=minecraft:pig,limit=1,sort=random] add map_3
tag @e[tag=map_3] remove map_1
tag @e[tag=map_3] remove map_2
tellraw @a [{"text":" \u2139 | Picked ","color":"gray"},{"selector":"@e[tag=map_3]","color":"yellow"}]
Expand Down
6 changes: 3 additions & 3 deletions nnb_main/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,19 @@ function round_manager() {
// Pick random maps

//map_1
tag @e[type=minecraft:pig,limit=1,sort=random,tag=] add map_1;
tag @e[type=minecraft:pig,limit=1,sort=random] add map_1;
tag @e[tag=map_1] remove map_2;
tag @e[tag=map_1] remove map_3;
tellraw @a [{"text":" ℹ | Picked ","color":"gray"},{"selector":"@e[tag=map_1]","color":"yellow"}];

//map_2
tag @e[type=minecraft:pig,limit=1,sort=random,tag=] add map_2;
tag @e[type=minecraft:pig,limit=1,sort=random] add map_2;
tag @e[tag=map_2] remove map_1;
tag @e[tag=map_2] remove map_3;
tellraw @a [{"text":" ℹ | Picked ","color":"gray"},{"selector":"@e[tag=map_2]","color":"yellow"}];

//map_3
tag @e[type=minecraft:pig,limit=1,sort=random,tag=] add map_3;
tag @e[type=minecraft:pig,limit=1,sort=random] add map_3;
tag @e[tag=map_3] remove map_1;
tag @e[tag=map_3] remove map_2;
tellraw @a [{"text":" ℹ | Picked ","color":"gray"},{"selector":"@e[tag=map_3]","color":"yellow"}];
Expand Down

0 comments on commit 4f9ead2

Please sign in to comment.