Skip to content

Commit

Permalink
DP | More
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Aug 31, 2024
1 parent 2a85022 commit 2868d56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nnb_main/data/nnb_main/function/hide_as_names.mcfunction
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
execute at @a if score @p nn_asplaced >= 1 nn_asplaced as @e[type=armor_stand] run tellraw @a {"text":" \u26a0| Optimizing Stuff...","color":"yellow","type":"text"}
execute at @a if score @p nn_asplaced >= 1 nn_asplaced as @e[type=armor_stand] as @e[type=armor_stand] run data modify entity @s CustomNameVisible set value 0b
execute at @a if score @p nn_asplaced >= 1 nn_asplaced as @e[type=armor_stand] as @e[type=armor_stand] run data modify entity @s CustomNameVisible set value 0b
execute at @a if score @p nn_asplaced >= 1 nn_asplaced as @e[type=armor_stand] run scoreboard players set @p nn_asplaced 0
1 change: 1 addition & 0 deletions nnb_main/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function hide_as_names() {
execute at @a if score @p nn_asplaced >= 1 nn_asplaced run execute as @e[type=armor_stand] expand {
Text.tellraw(@a, "&<yellow> ⚠| Optimizing Stuff...");
execute as @e[type=armor_stand] run data modify entity @s CustomNameVisible set value 0b;
scoreboard players set @p nn_asplaced 0;
}
}

Expand Down

0 comments on commit 2868d56

Please sign in to comment.