-
Notifications
You must be signed in to change notification settings - Fork 0
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
44 changed files
with
575 additions
and
601 deletions.
There are no files selected for viewing
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
54 changes: 26 additions & 28 deletions
54
GLOBAL/data/lib/functions/random_normal/interface.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,31 +1,29 @@ | ||
scoreboard players operation #x tmp = #mean tmp | ||
scoreboard players operation #delta tmp = #std tmp | ||
scoreboard players operation #delta tmp *= 2 const | ||
scoreboard players set #loop tmp 0 | ||
scoreboard players operation #delta ctx = #std input | ||
scoreboard players operation #delta ctx *= 2 const | ||
|
||
scoreboard players set #x tmp 0 | ||
scoreboard players set #x output 0 | ||
|
||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess tmp run random value -500..500 | ||
scoreboard players operation #x tmp += #guess tmp | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
execute store result score #guess ctx run random value -500..500 | ||
scoreboard players operation #x output += #guess ctx | ||
|
||
scoreboard players operation #x tmp *= #std tmp | ||
scoreboard players operation #x tmp /= 1000 const | ||
scoreboard players operation #x tmp += #mean tmp | ||
scoreboard players operation #x output *= #std input | ||
scoreboard players operation #x output /= 1000 const | ||
scoreboard players operation #x output += #mean input |
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
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
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
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
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,10 +1,10 @@ | ||
# Jump Complete | ||
|
||
execute as @s store result score @s tmp run random value 0..6 | ||
execute at @s[scores={tmp=0}] run setblock ~ 80 ~ black_wool | ||
execute at @s[scores={tmp=1}] run setblock ~ 80 ~ white_wool | ||
execute at @s[scores={tmp=2}] run setblock ~ 80 ~ red_wool | ||
execute at @s[scores={tmp=3}] run setblock ~ 80 ~ lime_wool | ||
execute at @s[scores={tmp=4}] run setblock ~ 80 ~ light_blue_wool | ||
execute at @s[scores={tmp=5}] run setblock ~ 80 ~ magenta_wool | ||
execute at @s[scores={tmp=6}] run setblock ~ 80 ~ yellow_wool | ||
execute as @s store result score @s ctx run random value 0..6 | ||
execute at @s[scores={ctx=0}] run setblock ~ 80 ~ black_wool | ||
execute at @s[scores={ctx=1}] run setblock ~ 80 ~ white_wool | ||
execute at @s[scores={ctx=2}] run setblock ~ 80 ~ red_wool | ||
execute at @s[scores={ctx=3}] run setblock ~ 80 ~ lime_wool | ||
execute at @s[scores={ctx=4}] run setblock ~ 80 ~ light_blue_wool | ||
execute at @s[scores={ctx=5}] run setblock ~ 80 ~ magenta_wool | ||
execute at @s[scores={ctx=6}] run setblock ~ 80 ~ yellow_wool |
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
Oops, something went wrong.