-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
nnb_main/data/nnb_main/function/__private__/switch_case/1/1.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
$tellraw $(pl) "<gray> \u2139 | $(text)" | ||
$tellraw @s "<gray> \u2139 | $(text)" | ||
scoreboard players set __found_case__ __variable__ 1 |
2 changes: 1 addition & 1 deletion
2
nnb_main/data/nnb_main/function/__private__/switch_case/1/2.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
$tellraw $(pl) "<yellow> \u26a0 | $(text)" | ||
$tellraw @s "<yellow> \u26a0 | $(text)" | ||
scoreboard players set __found_case__ __variable__ 1 |
2 changes: 1 addition & 1 deletion
2
nnb_main/data/nnb_main/function/__private__/switch_case/1/3.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
$tellraw $(pl) "<red> \ud83d\uded1 | $(text)" | ||
$tellraw @s "<red> \ud83d\uded1 | $(text)" | ||
scoreboard players set __found_case__ __variable__ 1 |
2 changes: 1 addition & 1 deletion
2
nnb_main/data/nnb_main/function/__private__/switch_case/1/default.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
$tellraw $(pl) "<dark_gray> \u2754 | $(text)" | ||
$tellraw @s "<dark_gray> \u2754 | $(text)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
function nnb_main:logger {"pl":"@s","ll":"1","text":"Generated sucessfully"} | ||
function nnb_main:s_logger {"ll":"1","text":"Generated sucessfully"} | ||
$give @s minecraft:armor_stand[minecraft:entity_data={Invisible:true,Invulnerable:true,NoBasePlate:true,NoGravity:true,Small:true,CustomNameVisible:false,DisabledSlots:4128768,Tags:["$(Tag)"],id:"minecraft:armor_stand"},minecraft:custom_name='{"text":"$(Tag) Marker"}'] 1 |
3 changes: 1 addition & 2 deletions
3
.../data/nnb_main/function/logger.mcfunction → ...ata/nnb_main/function/s_logger.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
execute store result score $v_ll __variable__ run $(ll) | ||
scoreboard players set __found_case__ __variable__ 0 | ||
execute store result storage nnb_main:__storage__ switch_key int 1 run scoreboard players get $v_ll __variable__ | ||
execute store result storage nnb_main:__storage__ switch_key int 1 run scoreboard players get $ll __variable__ | ||
function nnb_main:__private__/switch_case/1/select with storage nnb_main:__storage__ | ||
execute unless score __found_case__ __variable__ matches 1 run function nnb_main:__private__/switch_case/1/default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters