Last active
April 20, 2023 10:28
-
-
Save intsuc/0901df9d487f7829d97491613a12d351 to your computer and use it in GitHub Desktop.
List-Mapped Trie
This file contains hidden or 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
| scoreboard players operation #_index lmt = #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[] | |
| execute if score #size lmt matches 0 run data modify storage lmt: "" append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: "" append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] | |
| scoreboard players operation #index lmt += #index lmt | |
| execute store result score #size lmt if data storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][] | |
| execute if score #size lmt matches 0 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append from storage lmt: branch[] | |
| execute if score #size lmt matches 3 if score #index lmt matches 0.. run data remove storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][2] | |
| execute if score #size lmt matches 2 if score #index lmt matches ..-1 run data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value [] |
This file contains hidden or 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
| function init | |
| scoreboard players set #index lmt 0 | |
| function touch | |
| data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value 0b | |
| data get storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][0] | |
| # Storage lmt: has the following contents: 0b | |
| scoreboard players set #index lmt 1 | |
| function touch | |
| data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value {data: 1s} | |
| data get storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][0].data | |
| # Storage lmt: has the following contents: 1s | |
| scoreboard players set #index lmt -1 | |
| function touch | |
| data modify storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2] append value 4294967295L | |
| data get storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][0] | |
| # Storage lmt: has the following contents: 4294967295L | |
| scoreboard players set #index lmt 0 | |
| function touch | |
| data get storage lmt: ""[-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][-2][0] | |
| # Storage lmt: has the following contents: 0b |
This file contains hidden or 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
| data modify storage lmt: branch set value [[], []] | |
| scoreboard objectives add lmt dummy |
This file contains hidden or 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
| execute unless score #_index lmt = #index lmt run function _touch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment