Skip to content

Commit eec27b5

Browse files
SnaveSutitgitbutler-client
authored andcommitted
🩹 Fix minor data pack typos
1 parent 20f7f07 commit eec27b5

6 files changed

Lines changed: 19 additions & 23 deletions

File tree

src/systems/datapackCompiler/1.20.4/main.mcb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ function summon {
871871
block { with storage <%temp_storage%> entry.data.locators
872872
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity && node.config.on_summon_function)) as locator {
873873
$block { $(<%locator.storage_name%>)
874-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
874+
$execute as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
875875
<%%
876876
emit.mcb(locator.config.on_summon_function)
877877
%%>
@@ -884,7 +884,7 @@ function summon {
884884
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity)) as locator {
885885
block { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
886886
# Track any custom entities on the locator.
887-
$execute at @s as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
887+
$execute as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
888888
}
889889
data modify storage <%temp_storage%> entry.data.uuids append from storage <%temp_storage%> uuids
890890
}
@@ -895,7 +895,7 @@ function summon {
895895
block { with storage <%temp_storage%> entry.data.interactions
896896
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'interaction' && node.config.on_summon_function)) as interaction {
897897
$block { $(<%interaction.storage_name%>)
898-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
898+
$execute as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
899899
<%%
900900
emit.mcb(interaction.config.on_summon_function)
901901
%%>

src/systems/datapackCompiler/1.20.5/main.mcb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,6 @@ function summon {
776776
}
777777

778778
data_manager write
779-
780779
function <%blueprint_id%>/zzz/set_default_pose
781780

782781
# Variant Arguement
@@ -874,7 +873,7 @@ function summon {
874873
block { with storage <%temp_storage%> entry.data.locators
875874
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity && node.config.on_summon_function)) as locator {
876875
$block { $(<%locator.storage_name%>)
877-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
876+
$execute as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
878877
<%%
879878
emit.mcb(locator.config.on_summon_function)
880879
%%>
@@ -887,7 +886,7 @@ function summon {
887886
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity)) as locator {
888887
block { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
889888
# Track any custom entities on the locator.
890-
$execute at @s as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
889+
$execute as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
891890
}
892891
data modify storage <%temp_storage%> entry.data.uuids append from storage <%temp_storage%> uuids
893892
}
@@ -898,7 +897,7 @@ function summon {
898897
block { with storage <%temp_storage%> entry.data.interactions
899898
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'interaction' && node.config.on_summon_function)) as interaction {
900899
$block { $(<%interaction.storage_name%>)
901-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
900+
$execute as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
902901
<%%
903902
emit.mcb(interaction.config.on_summon_function)
904903
%%>

src/systems/datapackCompiler/1.21.0/main.mcb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,6 @@ function summon {
777777
}
778778

779779
data_manager write
780-
781780
function <%blueprint_id%>/zzz/set_default_pose
782781

783782
# Variant Arguement
@@ -875,7 +874,7 @@ function summon {
875874
block { with storage <%temp_storage%> entry.data.locators
876875
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity && node.config.on_summon_function)) as locator {
877876
$block { $(<%locator.storage_name%>)
878-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
877+
$execute as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
879878
<%%
880879
emit.mcb(locator.config.on_summon_function)
881880
%%>
@@ -888,7 +887,7 @@ function summon {
888887
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity)) as locator {
889888
block { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
890889
# Track any custom entities on the locator.
891-
$execute at @s as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
890+
$execute as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
892891
}
893892
data modify storage <%temp_storage%> entry.data.uuids append from storage <%temp_storage%> uuids
894893
}
@@ -899,7 +898,7 @@ function summon {
899898
block { with storage <%temp_storage%> entry.data.interactions
900899
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'interaction' && node.config.on_summon_function)) as interaction {
901900
$block { $(<%interaction.storage_name%>)
902-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
901+
$execute as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
903902
<%%
904903
emit.mcb(interaction.config.on_summon_function)
905904
%%>

src/systems/datapackCompiler/1.21.2/main.mcb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,6 @@ function summon {
776776
}
777777

778778
data_manager write
779-
780779
function <%blueprint_id%>/zzz/set_default_pose
781780

782781
# Variant Arguement
@@ -874,7 +873,7 @@ function summon {
874873
block { with storage <%temp_storage%> entry.data.locators
875874
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity && node.config.on_summon_function)) as locator {
876875
$block { $(<%locator.storage_name%>)
877-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
876+
$execute as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
878877
<%%
879878
emit.mcb(locator.config.on_summon_function)
880879
%%>
@@ -887,7 +886,7 @@ function summon {
887886
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity)) as locator {
888887
block { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
889888
# Track any custom entities on the locator.
890-
$execute at @s as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
889+
$execute as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
891890
}
892891
data modify storage <%temp_storage%> entry.data.uuids append from storage <%temp_storage%> uuids
893892
}
@@ -898,7 +897,7 @@ function summon {
898897
block { with storage <%temp_storage%> entry.data.interactions
899898
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'interaction' && node.config.on_summon_function)) as interaction {
900899
$block { $(<%interaction.storage_name%>)
901-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
900+
$execute as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
902901
<%%
903902
emit.mcb(interaction.config.on_summon_function)
904903
%%>

src/systems/datapackCompiler/1.21.4/main.mcb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,6 @@ function summon {
864864
}
865865

866866
data_manager write
867-
868867
function <%blueprint_id%>/zzz/set_default_pose
869868

870869
# Variant Arguement
@@ -962,7 +961,7 @@ function summon {
962961
block { with storage <%temp_storage%> entry.data.locators
963962
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity && node.config.on_summon_function)) as locator {
964963
$block { $(<%locator.storage_name%>)
965-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
964+
$execute as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
966965
<%%
967966
emit.mcb(locator.config.on_summon_function)
968967
%%>
@@ -975,7 +974,7 @@ function summon {
975974
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity)) as locator {
976975
block { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
977976
# Track any custom entities on the locator.
978-
$execute at @s as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
977+
$execute as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
979978
}
980979
data modify storage <%temp_storage%> entry.data.uuids append from storage <%temp_storage%> uuids
981980
}
@@ -986,7 +985,7 @@ function summon {
986985
block { with storage <%temp_storage%> entry.data.interactions
987986
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'interaction' && node.config.on_summon_function)) as interaction {
988987
$block { $(<%interaction.storage_name%>)
989-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
988+
$execute as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
990989
<%%
991990
emit.mcb(interaction.config.on_summon_function)
992991
%%>

src/systems/datapackCompiler/1.21.5/main.mcb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,6 @@ function summon {
863863
}
864864

865865
data_manager write
866-
867866
function <%blueprint_id%>/zzz/set_default_pose
868867

869868
# Variant Arguement
@@ -961,7 +960,7 @@ function summon {
961960
block { with storage <%temp_storage%> entry.data.locators
962961
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity && node.config.on_summon_function)) as locator {
963962
$block { $(<%locator.storage_name%>)
964-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
963+
$execute as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
965964
<%%
966965
emit.mcb(locator.config.on_summon_function)
967966
%%>
@@ -974,7 +973,7 @@ function summon {
974973
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity)) as locator {
975974
block { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
976975
# Track any custom entities on the locator.
977-
$execute at @s as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
976+
$execute as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
978977
}
979978
data modify storage <%temp_storage%> entry.data.uuids append from storage <%temp_storage%> uuids
980979
}
@@ -985,7 +984,7 @@ function summon {
985984
block { with storage <%temp_storage%> entry.data.interactions
986985
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'interaction' && node.config.on_summon_function)) as interaction {
987986
$block { $(<%interaction.storage_name%>)
988-
$execute at @s as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
987+
$execute as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
989988
<%%
990989
emit.mcb(interaction.config.on_summon_function)
991990
%%>
@@ -1839,6 +1838,7 @@ IF (has_locators || has_cameras) {
18391838
}
18401839
}
18411840
}
1841+
data_manager write
18421842
}
18431843
}
18441844
}

0 commit comments

Comments
 (0)