Skip to content

Commit

Permalink
DP | Fancy adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Feb 28, 2024
1 parent d925d7f commit 8b52209
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$tp @e[tag=$(bot_name)_z,tag=!done] @e[tag=$(map),limit=1,sort=random]
$execute at @e[tag=$(bot_name)_z,tag=!done] run summon minecraft:lightning_bolt ~ ~ ~
$tag @e[tag=$(bot_name)_z,tag=!done] add done
$tellraw @a[tag=debug] "$(bot_name) $(id) $(map)"
$scoreboard players set ticks nn_spawn $(limit)
$tellraw @a[tag=debug] "&<dark_gray>Spawned: $(bot_name) $(id) In: $(map)"
data modify storage nnb_spawnsystem:temp bot_name set value " " $scoreboard players set ticks nn_spawn $(limit)
3 changes: 2 additions & 1 deletion nnb_spawnsystem/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,9 @@ function tp_bots() {
$tp @e[tag=$(bot_name)_z,tag=!done] @e[tag=$(map),limit=1,sort=random];
$execute at @e[tag=$(bot_name)_z,tag=!done] run summon minecraft:lightning_bolt ~ ~ ~;
$tag @e[tag=$(bot_name)_z,tag=!done] add done;
$tellraw @a[tag=debug] "$(bot_name) $(id) $(map)";
$tellraw @a[tag=debug] "&<dark_gray>Spawned: $(bot_name) $(id) In: $(map)";

data modify storage nnb_spawnsystem:temp bot_name set value " "
$scoreboard players set ticks nn_spawn $(limit);
}

Expand Down

0 comments on commit 8b52209

Please sign in to comment.