diff --git a/Minecraft Datapacking/When Two Macros are Faster than One.md b/Minecraft Datapacking/When Two Macros are Faster than One.md index c94d534..9e986fa 100644 --- a/Minecraft Datapacking/When Two Macros are Faster than One.md +++ b/Minecraft Datapacking/When Two Macros are Faster than One.md @@ -43,8 +43,8 @@ data remove storage test_namespace:test_namespace temp.result $data modify storage test_namespace:test_namespace temp.result set from storage test_namespace:test_namespace one_macro.array[string:$(keyword)] ``` # Two Macro -```haskell --- two_macro/run.mcfunction +```vb +' two_macro/run.mcfunction data modify storage test_namespace:test_namespace temp.keyword set value 'entry500' @@ -57,14 +57,14 @@ data remove storage test_namespace:test_namespace temp.index data remove storage test_namespace:test_namespace temp.result ``` -```ts -// two_macro/_searchindex.mcfunction +```vb +' two_macro/_searchindex.mcfunction $data modify storage test_namespace:test_namespace temp.index set from storage test_namespace:test_namespace two_macro.index.$(keyword) ``` -```ts -// two_macro/_searcharray.mcfunction +```vb +' two_macro/_searcharray.mcfunction $data modify storage test_namespace:test_namespace temp.result set from storage test_namespace:test_namespace two_macro.array[$(index)] ``` \ No newline at end of file