From 45da08e34b44f9771599d9695e4379df8ce35e60 Mon Sep 17 00:00:00 2001 From: themodernhakr Date: Mon, 24 Mar 2025 20:56:30 -0500 Subject: [PATCH] vault backup: 2025-03-24 20:56:29 --- .../When Two Macros are Faster than One.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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