diff --git a/TheSkyBlessing/data/api/functions/data_get/abilities.mcfunction b/TheSkyBlessing/data/api/functions/data_get/abilities.mcfunction index 161111d6df..666c02181f 100644 --- a/TheSkyBlessing/data/api/functions/data_get/abilities.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/abilities.mcfunction @@ -6,7 +6,7 @@ # @output storage api: abilities # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.abilities.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.abilities.Data set from entity @s abilities # outputのstorageに移す - data modify storage api: abilities set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.abilities.Data \ No newline at end of file + data modify storage api: abilities set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.abilities.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/absorption_amount.mcfunction b/TheSkyBlessing/data/api/functions/data_get/absorption_amount.mcfunction index b95cddc17e..dfa755bd55 100644 --- a/TheSkyBlessing/data/api/functions/data_get/absorption_amount.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/absorption_amount.mcfunction @@ -6,7 +6,7 @@ # @output storage api: AbsorptionAmount # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.AbsorptionAmount.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.AbsorptionAmount.Data set from entity @s AbsorptionAmount # outputのstorageに移す - data modify storage api: AbsorptionAmount set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.AbsorptionAmount.Data \ No newline at end of file + data modify storage api: AbsorptionAmount set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.AbsorptionAmount.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/active_effects.mcfunction b/TheSkyBlessing/data/api/functions/data_get/active_effects.mcfunction index 8d4c8ec91c..c6dab6d025 100644 --- a/TheSkyBlessing/data/api/functions/data_get/active_effects.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/active_effects.mcfunction @@ -6,7 +6,7 @@ # @output storage api: active_effects # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.active_effects.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run function api:data_get/active_effects_fetch # outputのstorageに移す - data modify storage api: active_effects set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.active_effects.Data \ No newline at end of file + data modify storage api: active_effects set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.active_effects.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/air.mcfunction b/TheSkyBlessing/data/api/functions/data_get/air.mcfunction index a139872059..422a0e34b2 100644 --- a/TheSkyBlessing/data/api/functions/data_get/air.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/air.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Air # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Air.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Air.Data set from entity @s Air # outputのstorageに移す - data modify storage api: Air set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Air.Data \ No newline at end of file + data modify storage api: Air set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Air.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/attributes.mcfunction b/TheSkyBlessing/data/api/functions/data_get/attributes.mcfunction index c0333a5edf..20408c907e 100644 --- a/TheSkyBlessing/data/api/functions/data_get/attributes.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/attributes.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Attributes # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Attributes.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Attributes.Data set from entity @s Attributes # outputのstorageに移す - data modify storage api: Attributes set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Attributes.Data \ No newline at end of file + data modify storage api: Attributes set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Attributes.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/brain.mcfunction b/TheSkyBlessing/data/api/functions/data_get/brain.mcfunction index e2104ffe69..346cc1a181 100644 --- a/TheSkyBlessing/data/api/functions/data_get/brain.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/brain.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Brain # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Brain.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Brain.Data set from entity @s Brain # outputのstorageに移す - data modify storage api: Brain set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Brain.Data \ No newline at end of file + data modify storage api: Brain set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Brain.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/custom_name.mcfunction b/TheSkyBlessing/data/api/functions/data_get/custom_name.mcfunction index e7f61bf78c..13cc3356bb 100644 --- a/TheSkyBlessing/data/api/functions/data_get/custom_name.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/custom_name.mcfunction @@ -6,7 +6,7 @@ # @output storage api: CustomName # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomName.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomName.Data set from entity @s CustomName + execute if score $NotLatestData Temporary matches 1 run function api:data_get/custom_name_fetch # outputのstorageに移す - data modify storage api: CustomName set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomName.Data \ No newline at end of file + data modify storage api: CustomName set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomName.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/custom_name_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/custom_name_fetch.mcfunction new file mode 100644 index 0000000000..3d95d9a9e3 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/custom_name_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/custom_name_fetch +# +# +# +# @within function api:data_get/custom_name + +data modify storage api: Temp set from entity @s CustomName +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomName.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomName.Data + +data remove storage api: Temp +data remove storage api: CustomName diff --git a/TheSkyBlessing/data/api/functions/data_get/custom_name_visible.mcfunction b/TheSkyBlessing/data/api/functions/data_get/custom_name_visible.mcfunction index ac74ee4bf5..67cf77ebed 100644 --- a/TheSkyBlessing/data/api/functions/data_get/custom_name_visible.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/custom_name_visible.mcfunction @@ -6,7 +6,7 @@ # @output storage api: CustomNameVisible # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomNameVisible.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomNameVisible.Data set from entity @s CustomNameVisible + execute if score $NotLatestData Temporary matches 1 run function api:data_get/custom_name_visible_fetch # outputのstorageに移す - data modify storage api: CustomNameVisible set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomNameVisible.Data \ No newline at end of file + data modify storage api: CustomNameVisible set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomNameVisible.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/custom_name_visible_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/custom_name_visible_fetch.mcfunction new file mode 100644 index 0000000000..845e5ee080 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/custom_name_visible_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/custom_name_visible_fetch +# +# +# +# @within function api:data_get/custom_name_visible + +data modify storage api: Temp set from entity @s CustomNameVisible +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomNameVisible.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.CustomNameVisible.Data + +data remove storage api: Temp +data remove storage api: CustomNameVisible diff --git a/TheSkyBlessing/data/api/functions/data_get/data_version.mcfunction b/TheSkyBlessing/data/api/functions/data_get/data_version.mcfunction index d2cc031608..ccb684df8f 100644 --- a/TheSkyBlessing/data/api/functions/data_get/data_version.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/data_version.mcfunction @@ -6,7 +6,7 @@ # @output storage api: DataVersion # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.DataVersion.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.DataVersion.Data set from entity @s DataVersion # outputのstorageに移す - data modify storage api: DataVersion set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.DataVersion.Data \ No newline at end of file + data modify storage api: DataVersion set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.DataVersion.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/death_time.mcfunction b/TheSkyBlessing/data/api/functions/data_get/death_time.mcfunction index 049ba06533..6f216449b5 100644 --- a/TheSkyBlessing/data/api/functions/data_get/death_time.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/death_time.mcfunction @@ -6,7 +6,7 @@ # @output storage api: DeathTime # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.DeathTime.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.DeathTime.Data set from entity @s DeathTime # outputのstorageに移す - data modify storage api: DeathTime set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.DeathTime.Data \ No newline at end of file + data modify storage api: DeathTime set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.DeathTime.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/dimension.mcfunction b/TheSkyBlessing/data/api/functions/data_get/dimension.mcfunction index 3f37bf9f3b..0b0dc7c441 100644 --- a/TheSkyBlessing/data/api/functions/data_get/dimension.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/dimension.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Dimension # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Dimension.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Dimension.Data set from entity @s Dimension # outputのstorageに移す - data modify storage api: Dimension set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Dimension.Data \ No newline at end of file + data modify storage api: Dimension set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Dimension.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/ender_items.mcfunction b/TheSkyBlessing/data/api/functions/data_get/ender_items.mcfunction index 4340cbca10..508a2958e5 100644 --- a/TheSkyBlessing/data/api/functions/data_get/ender_items.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/ender_items.mcfunction @@ -6,7 +6,7 @@ # @output storage api: EnderItems # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.EnderItems.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.EnderItems.Data set from entity @s EnderItems # outputのstorageに移す - data modify storage api: EnderItems set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.EnderItems.Data \ No newline at end of file + data modify storage api: EnderItems set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.EnderItems.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/entered_nether_position.mcfunction b/TheSkyBlessing/data/api/functions/data_get/entered_nether_position.mcfunction index 5de845c2f4..ad6070dc06 100644 --- a/TheSkyBlessing/data/api/functions/data_get/entered_nether_position.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/entered_nether_position.mcfunction @@ -6,7 +6,7 @@ # @output storage api: enteredNetherPosition # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.enteredNetherPosition.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.enteredNetherPosition.Data set from entity @s enteredNetherPosition + execute if score $NotLatestData Temporary matches 1 run function api:data_get/entered_nether_position_fetch # outputのstorageに移す - data modify storage api: enteredNetherPosition set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.enteredNetherPosition.Data \ No newline at end of file + data modify storage api: enteredNetherPosition set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.enteredNetherPosition.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/entered_nether_position_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/entered_nether_position_fetch.mcfunction new file mode 100644 index 0000000000..030c2af307 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/entered_nether_position_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/entered_nether_position_fetch +# +# +# +# @within function api:data_get/entered_nether_position + +data modify storage api: Temp set from entity @s enteredNetherPosition +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.enteredNetherPosition.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.enteredNetherPosition.Data + +data remove storage api: Temp +data remove storage api: enteredNetherPosition diff --git a/TheSkyBlessing/data/api/functions/data_get/fall_distance.mcfunction b/TheSkyBlessing/data/api/functions/data_get/fall_distance.mcfunction index 52cdef264a..ffe35c0ec4 100644 --- a/TheSkyBlessing/data/api/functions/data_get/fall_distance.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/fall_distance.mcfunction @@ -6,7 +6,7 @@ # @output storage api: FallDistance # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.FallDistance.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.FallDistance.Data set from entity @s FallDistance # outputのstorageに移す - data modify storage api: FallDistance set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.FallDistance.Data \ No newline at end of file + data modify storage api: FallDistance set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.FallDistance.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/fall_flying.mcfunction b/TheSkyBlessing/data/api/functions/data_get/fall_flying.mcfunction index 494dc7214c..272db88050 100644 --- a/TheSkyBlessing/data/api/functions/data_get/fall_flying.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/fall_flying.mcfunction @@ -6,7 +6,7 @@ # @output storage api: FallFlying # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.FallFlying.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.FallFlying.Data set from entity @s FallFlying # outputのstorageに移す - data modify storage api: FallFlying set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.FallFlying.Data \ No newline at end of file + data modify storage api: FallFlying set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.FallFlying.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/fire.mcfunction b/TheSkyBlessing/data/api/functions/data_get/fire.mcfunction index cc46b0fbcc..f5922e0050 100644 --- a/TheSkyBlessing/data/api/functions/data_get/fire.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/fire.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Fire # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Fire.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Fire.Data set from entity @s Fire # outputのstorageに移す - data modify storage api: Fire set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Fire.Data \ No newline at end of file + data modify storage api: Fire set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Fire.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/food_exhaustion_level.mcfunction b/TheSkyBlessing/data/api/functions/data_get/food_exhaustion_level.mcfunction index 0125885e2c..5ee1d87480 100644 --- a/TheSkyBlessing/data/api/functions/data_get/food_exhaustion_level.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/food_exhaustion_level.mcfunction @@ -6,7 +6,7 @@ # @output storage api: foodExhaustionLevel # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodExhaustionLevel.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodExhaustionLevel.Data set from entity @s foodExhaustionLevel # outputのstorageに移す - data modify storage api: foodExhaustionLevel set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodExhaustionLevel.Data \ No newline at end of file + data modify storage api: foodExhaustionLevel set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodExhaustionLevel.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/food_level.mcfunction b/TheSkyBlessing/data/api/functions/data_get/food_level.mcfunction index 937dd7ecfe..40feb25620 100644 --- a/TheSkyBlessing/data/api/functions/data_get/food_level.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/food_level.mcfunction @@ -6,7 +6,7 @@ # @output storage api: foodLevel # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodLevel.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodLevel.Data set from entity @s foodLevel # outputのstorageに移す - data modify storage api: foodLevel set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodLevel.Data \ No newline at end of file + data modify storage api: foodLevel set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodLevel.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/food_saturation_level.mcfunction b/TheSkyBlessing/data/api/functions/data_get/food_saturation_level.mcfunction index abda945bad..de5a75871d 100644 --- a/TheSkyBlessing/data/api/functions/data_get/food_saturation_level.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/food_saturation_level.mcfunction @@ -6,7 +6,7 @@ # @output storage api: foodSaturationLevel # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodSaturationLevel.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodSaturationLevel.Data set from entity @s foodSaturationLevel # outputのstorageに移す - data modify storage api: foodSaturationLevel set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodSaturationLevel.Data \ No newline at end of file + data modify storage api: foodSaturationLevel set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodSaturationLevel.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/food_tick_timer.mcfunction b/TheSkyBlessing/data/api/functions/data_get/food_tick_timer.mcfunction index 2722e91a28..472fc83e11 100644 --- a/TheSkyBlessing/data/api/functions/data_get/food_tick_timer.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/food_tick_timer.mcfunction @@ -6,7 +6,7 @@ # @output storage api: foodTickTimer # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodTickTimer.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodTickTimer.Data set from entity @s foodTickTimer # outputのstorageに移す - data modify storage api: foodTickTimer set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodTickTimer.Data \ No newline at end of file + data modify storage api: foodTickTimer set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.foodTickTimer.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/glowing.mcfunction b/TheSkyBlessing/data/api/functions/data_get/glowing.mcfunction index 89454f754c..4462fdaf6a 100644 --- a/TheSkyBlessing/data/api/functions/data_get/glowing.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/glowing.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Glowing # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Glowing.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Glowing.Data set from entity @s Glowing + execute if score $NotLatestData Temporary matches 1 run function api:data_get/glowing_fetch # outputのstorageに移す - data modify storage api: Glowing set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Glowing.Data \ No newline at end of file + data modify storage api: Glowing set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Glowing.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/glowing_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/glowing_fetch.mcfunction new file mode 100644 index 0000000000..5b39bcff1f --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/glowing_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/glowing_fetch +# +# +# +# @within function api:data_get/glowing + +data modify storage api: Temp set from entity @s Glowing +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Glowing.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Glowing.Data + +data remove storage api: Temp +data remove storage api: Glowing diff --git a/TheSkyBlessing/data/api/functions/data_get/health.mcfunction b/TheSkyBlessing/data/api/functions/data_get/health.mcfunction index df149ae616..be0811dbfe 100644 --- a/TheSkyBlessing/data/api/functions/data_get/health.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/health.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Health # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Health.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Health.Data set from entity @s Health # outputのstorageに移す - data modify storage api: Health set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Health.Data \ No newline at end of file + data modify storage api: Health set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Health.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/hurt_time.mcfunction b/TheSkyBlessing/data/api/functions/data_get/hurt_time.mcfunction index 3bd6607ca7..312bae29e8 100644 --- a/TheSkyBlessing/data/api/functions/data_get/hurt_time.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/hurt_time.mcfunction @@ -6,7 +6,7 @@ # @output storage api: HurtTime # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.HurtTime.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.HurtTime.Data set from entity @s HurtTime # outputのstorageに移す - data modify storage api: HurtTime set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.HurtTime.Data \ No newline at end of file + data modify storage api: HurtTime set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.HurtTime.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/id.mcfunction b/TheSkyBlessing/data/api/functions/data_get/id.mcfunction index e1e12571c8..bf64ffab9f 100644 --- a/TheSkyBlessing/data/api/functions/data_get/id.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/id.mcfunction @@ -6,7 +6,7 @@ # @output storage api: id # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.id.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.id.Data set from entity @s id + execute if score $NotLatestData Temporary matches 1 run function api:data_get/id_fetch # outputのstorageに移す - data modify storage api: id set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.id.Data \ No newline at end of file + data modify storage api: id set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.id.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/id_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/id_fetch.mcfunction new file mode 100644 index 0000000000..2d93870f7b --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/id_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/id_fetch +# +# +# +# @within function api:data_get/id + +data modify storage api: Temp set from entity @s id +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.id.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.id.Data + +data remove storage api: Temp +data remove storage api: id diff --git a/TheSkyBlessing/data/api/functions/data_get/inventory.mcfunction b/TheSkyBlessing/data/api/functions/data_get/inventory.mcfunction index 509b4a3d46..0d789bbb52 100644 --- a/TheSkyBlessing/data/api/functions/data_get/inventory.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/inventory.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Inventory # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Inventory.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Inventory.Data set from entity @s Inventory # outputのstorageに移す - data modify storage api: Inventory set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Inventory.Data \ No newline at end of file + data modify storage api: Inventory set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Inventory.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/invulnerable.mcfunction b/TheSkyBlessing/data/api/functions/data_get/invulnerable.mcfunction index 4ca8a3a8f8..b21543ee29 100644 --- a/TheSkyBlessing/data/api/functions/data_get/invulnerable.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/invulnerable.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Invulnerable # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Invulnerable.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Invulnerable.Data set from entity @s Invulnerable # outputのstorageに移す - data modify storage api: Invulnerable set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Invulnerable.Data \ No newline at end of file + data modify storage api: Invulnerable set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Invulnerable.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/motion.mcfunction b/TheSkyBlessing/data/api/functions/data_get/motion.mcfunction index b8a4012306..b72eeb1807 100644 --- a/TheSkyBlessing/data/api/functions/data_get/motion.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/motion.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Motion # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Motion.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Motion.Data set from entity @s Motion # outputのstorageに移す - data modify storage api: Motion set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Motion.Data \ No newline at end of file + data modify storage api: Motion set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Motion.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/no_ai.mcfunction b/TheSkyBlessing/data/api/functions/data_get/no_ai.mcfunction index 754fb22c46..c34b5a6f52 100644 --- a/TheSkyBlessing/data/api/functions/data_get/no_ai.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/no_ai.mcfunction @@ -6,7 +6,7 @@ # @output storage api: NoAI # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoAI.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoAI.Data set from entity @s NoAI + execute if score $NotLatestData Temporary matches 1 run function api:data_get/no_ai_fetch # outputのstorageに移す - data modify storage api: NoAI set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoAI.Data \ No newline at end of file + data modify storage api: NoAI set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoAI.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/no_ai_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/no_ai_fetch.mcfunction new file mode 100644 index 0000000000..e542e9985b --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/no_ai_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/no_ai_fetch +# +# +# +# @within function api:data_get/no_ai + +data modify storage api: Temp set from entity @s NoAI +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoAI.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoAI.Data + +data remove storage api: Temp +data remove storage api: NoAI diff --git a/TheSkyBlessing/data/api/functions/data_get/no_gravity.mcfunction b/TheSkyBlessing/data/api/functions/data_get/no_gravity.mcfunction index 0d4532524a..0b538f0e4b 100644 --- a/TheSkyBlessing/data/api/functions/data_get/no_gravity.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/no_gravity.mcfunction @@ -6,7 +6,7 @@ # @output storage api: NoGravity # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoGravity.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoGravity.Data set from entity @s NoGravity + execute if score $NotLatestData Temporary matches 1 run function api:data_get/no_gravity_fetch # outputのstorageに移す - data modify storage api: NoGravity set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoGravity.Data \ No newline at end of file + data modify storage api: NoGravity set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoGravity.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/no_gravity_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/no_gravity_fetch.mcfunction new file mode 100644 index 0000000000..91dcd487d0 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/no_gravity_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/no_gravity_fetch +# +# +# +# @within function api:data_get/no_gravity + +data modify storage api: Temp set from entity @s NoGravity +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoGravity.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.NoGravity.Data + +data remove storage api: Temp +data remove storage api: NoGravity diff --git a/TheSkyBlessing/data/api/functions/data_get/on_ground.mcfunction b/TheSkyBlessing/data/api/functions/data_get/on_ground.mcfunction index c89682fa70..60b0467b49 100644 --- a/TheSkyBlessing/data/api/functions/data_get/on_ground.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/on_ground.mcfunction @@ -6,7 +6,7 @@ # @output storage api: OnGround # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.OnGround.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.OnGround.Data set from entity @s OnGround # outputのstorageに移す - data modify storage api: OnGround set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.OnGround.Data \ No newline at end of file + data modify storage api: OnGround set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.OnGround.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/passengers.mcfunction b/TheSkyBlessing/data/api/functions/data_get/passengers.mcfunction index 54f8afb7cd..ab24900c88 100644 --- a/TheSkyBlessing/data/api/functions/data_get/passengers.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/passengers.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Passengers # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Passengers.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Passengers.Data set from entity @s Passengers + execute if score $NotLatestData Temporary matches 1 run function api:data_get/passengers_fetch # outputのstorageに移す - data modify storage api: Passengers set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Passengers.Data \ No newline at end of file + data modify storage api: Passengers set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Passengers.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/passengers_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/passengers_fetch.mcfunction new file mode 100644 index 0000000000..bf87df18d7 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/passengers_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/passengers_fetch +# +# +# +# @within function api:data_get/passengers + +data modify storage api: Temp set from entity @s Passengers +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Passengers.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Passengers.Data + +data remove storage api: Temp +data remove storage api: Passengers diff --git a/TheSkyBlessing/data/api/functions/data_get/player_game_type.mcfunction b/TheSkyBlessing/data/api/functions/data_get/player_game_type.mcfunction index 16bf2d7d7d..70457efd64 100644 --- a/TheSkyBlessing/data/api/functions/data_get/player_game_type.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/player_game_type.mcfunction @@ -6,7 +6,7 @@ # @output storage api: playerGameType # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.playerGameType.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.playerGameType.Data set from entity @s playerGameType # outputのstorageに移す - data modify storage api: playerGameType set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.playerGameType.Data \ No newline at end of file + data modify storage api: playerGameType set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.playerGameType.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/portal_cooldown.mcfunction b/TheSkyBlessing/data/api/functions/data_get/portal_cooldown.mcfunction index 11f2129567..0ca5ba888c 100644 --- a/TheSkyBlessing/data/api/functions/data_get/portal_cooldown.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/portal_cooldown.mcfunction @@ -6,7 +6,7 @@ # @output storage api: PortalCooldown # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.PortalCooldown.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.PortalCooldown.Data set from entity @s PortalCooldown # outputのstorageに移す - data modify storage api: PortalCooldown set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.PortalCooldown.Data \ No newline at end of file + data modify storage api: PortalCooldown set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.PortalCooldown.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/pos.mcfunction b/TheSkyBlessing/data/api/functions/data_get/pos.mcfunction index df84f11d0d..9e0284d633 100644 --- a/TheSkyBlessing/data/api/functions/data_get/pos.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/pos.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Pos # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Pos.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 at @s as 0-0-0-0-0 run function api:data_get/pos_fetch # outputのstorageに移す - data modify storage api: Pos set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Pos.Data \ No newline at end of file + data modify storage api: Pos set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Pos.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/previous_player_game_type.mcfunction b/TheSkyBlessing/data/api/functions/data_get/previous_player_game_type.mcfunction index 53ee43658d..f990a6237b 100644 --- a/TheSkyBlessing/data/api/functions/data_get/previous_player_game_type.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/previous_player_game_type.mcfunction @@ -6,7 +6,7 @@ # @output storage api: previousPlayerGameType # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.previousPlayerGameType.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.previousPlayerGameType.Data set from entity @s previousPlayerGameType # outputのstorageに移す - data modify storage api: previousPlayerGameType set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.previousPlayerGameType.Data \ No newline at end of file + data modify storage api: previousPlayerGameType set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.previousPlayerGameType.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/recipe_book.mcfunction b/TheSkyBlessing/data/api/functions/data_get/recipe_book.mcfunction index 734d4211f8..37c28f462f 100644 --- a/TheSkyBlessing/data/api/functions/data_get/recipe_book.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/recipe_book.mcfunction @@ -6,7 +6,7 @@ # @output storage api: recipeBook # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.recipeBook.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.recipeBook.Data set from entity @s recipeBook # outputのstorageに移す - data modify storage api: recipeBook set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.recipeBook.Data \ No newline at end of file + data modify storage api: recipeBook set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.recipeBook.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/root_vehicle.mcfunction b/TheSkyBlessing/data/api/functions/data_get/root_vehicle.mcfunction index 32eccd0078..3df7c1ae43 100644 --- a/TheSkyBlessing/data/api/functions/data_get/root_vehicle.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/root_vehicle.mcfunction @@ -6,7 +6,7 @@ # @output storage api: RootVehicle # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.RootVehicle.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.RootVehicle.Data set from entity @s RootVehicle + execute if score $NotLatestData Temporary matches 1 run function api:data_get/root_vehicle_fetch # outputのstorageに移す - data modify storage api: RootVehicle set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.RootVehicle.Data \ No newline at end of file + data modify storage api: RootVehicle set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.RootVehicle.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/root_vehicle_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/root_vehicle_fetch.mcfunction new file mode 100644 index 0000000000..94057652c9 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/root_vehicle_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/root_vehicle_fetch +# +# +# +# @within function api:data_get/root_vehicle + +data modify storage api: Temp set from entity @s RootVehicle +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.RootVehicle.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.RootVehicle.Data + +data remove storage api: Temp +data remove storage api: RootVehicle diff --git a/TheSkyBlessing/data/api/functions/data_get/rotation.mcfunction b/TheSkyBlessing/data/api/functions/data_get/rotation.mcfunction index 32a5a1388e..bbe15058dd 100644 --- a/TheSkyBlessing/data/api/functions/data_get/rotation.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/rotation.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Rotation # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Rotation.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 at @s as 0-0-0-0-0 run function api:data_get/rotation_fetch # outputのstorageに移す - data modify storage api: Rotation set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Rotation.Data \ No newline at end of file + data modify storage api: Rotation set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Rotation.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/score.mcfunction b/TheSkyBlessing/data/api/functions/data_get/score.mcfunction index 6e5d86474c..8ffa0d1f88 100644 --- a/TheSkyBlessing/data/api/functions/data_get/score.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/score.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Score # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Score.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Score.Data set from entity @s Score # outputのstorageに移す - data modify storage api: Score set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Score.Data \ No newline at end of file + data modify storage api: Score set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Score.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/seen_credits.mcfunction b/TheSkyBlessing/data/api/functions/data_get/seen_credits.mcfunction index 6122c1738f..d527affab7 100644 --- a/TheSkyBlessing/data/api/functions/data_get/seen_credits.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/seen_credits.mcfunction @@ -6,7 +6,7 @@ # @output storage api: seenCredits # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.seenCredits.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.seenCredits.Data set from entity @s seenCredits # outputのstorageに移す - data modify storage api: seenCredits set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.seenCredits.Data \ No newline at end of file + data modify storage api: seenCredits set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.seenCredits.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/selected_item.mcfunction b/TheSkyBlessing/data/api/functions/data_get/selected_item.mcfunction index a06ee4fd31..681b565a75 100644 --- a/TheSkyBlessing/data/api/functions/data_get/selected_item.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/selected_item.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SelectedItem # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SelectedItem.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run function api:data_get/selected_item_fetch # outputのstorageに移す - data modify storage api: SelectedItem set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SelectedItem.Data \ No newline at end of file + data modify storage api: SelectedItem set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SelectedItem.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/selected_item_slot.mcfunction b/TheSkyBlessing/data/api/functions/data_get/selected_item_slot.mcfunction index 1d6d36be19..f78d93e451 100644 --- a/TheSkyBlessing/data/api/functions/data_get/selected_item_slot.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/selected_item_slot.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SelectedItemSlot # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SelectedItemSlot.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SelectedItemSlot.Data set from entity @s SelectedItemSlot # outputのstorageに移す - data modify storage api: SelectedItemSlot set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SelectedItemSlot.Data \ No newline at end of file + data modify storage api: SelectedItemSlot set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SelectedItemSlot.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_left.mcfunction b/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_left.mcfunction index b9a39504dc..d17f3fae1d 100644 --- a/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_left.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_left.mcfunction @@ -6,7 +6,7 @@ # @output storage api: ShoulderEntityLeft # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityLeft.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityLeft.Data set from entity @s ShoulderEntityLeft + execute if score $NotLatestData Temporary matches 1 run function api:data_get/shoulder_entity_left_fetch # outputのstorageに移す - data modify storage api: ShoulderEntityLeft set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityLeft.Data \ No newline at end of file + data modify storage api: ShoulderEntityLeft set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityLeft.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_left_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_left_fetch.mcfunction new file mode 100644 index 0000000000..83a3a38fd1 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_left_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/shoulder_entity_left_fetch +# +# +# +# @within function api:data_get/shoulder_entity_left + +data modify storage api: Temp set from entity @s ShoulderEntityLeft +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityLeft.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityLeft.Data + +data remove storage api: Temp +data remove storage api: ShoulderEntityLeft diff --git a/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_right.mcfunction b/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_right.mcfunction index 1a23f52478..a26e1833a1 100644 --- a/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_right.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_right.mcfunction @@ -6,7 +6,7 @@ # @output storage api: ShoulderEntityRight # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityRight.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityRight.Data set from entity @s ShoulderEntityRight + execute if score $NotLatestData Temporary matches 1 run function api:data_get/shoulder_entity_right_fetch # outputのstorageに移す - data modify storage api: ShoulderEntityRight set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityRight.Data \ No newline at end of file + data modify storage api: ShoulderEntityRight set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityRight.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_right_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_right_fetch.mcfunction new file mode 100644 index 0000000000..c32ed92236 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/shoulder_entity_right_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/shoulder_entity_right_fetch +# +# +# +# @within function api:data_get/shoulder_entity_right + +data modify storage api: Temp set from entity @s ShoulderEntityRight +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityRight.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.ShoulderEntityRight.Data + +data remove storage api: Temp +data remove storage api: ShoulderEntityRight diff --git a/TheSkyBlessing/data/api/functions/data_get/silent.mcfunction b/TheSkyBlessing/data/api/functions/data_get/silent.mcfunction index 24d1f3c86e..49ec7e9fa1 100644 --- a/TheSkyBlessing/data/api/functions/data_get/silent.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/silent.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Silent # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Silent.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Silent.Data set from entity @s Silent + execute if score $NotLatestData Temporary matches 1 run function api:data_get/silent_fetch # outputのstorageに移す - data modify storage api: Silent set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Silent.Data \ No newline at end of file + data modify storage api: Silent set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Silent.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/silent_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/silent_fetch.mcfunction new file mode 100644 index 0000000000..b59524be04 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/silent_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/silent_fetch +# +# +# +# @within function api:data_get/silent + +data modify storage api: Temp set from entity @s Silent +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Silent.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Silent.Data + +data remove storage api: Temp +data remove storage api: Silent diff --git a/TheSkyBlessing/data/api/functions/data_get/sleep_timer.mcfunction b/TheSkyBlessing/data/api/functions/data_get/sleep_timer.mcfunction index 9c61309422..17e3c20dac 100644 --- a/TheSkyBlessing/data/api/functions/data_get/sleep_timer.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/sleep_timer.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SleepTimer # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepTimer.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepTimer.Data set from entity @s SleepTimer # outputのstorageに移す - data modify storage api: SleepTimer set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepTimer.Data \ No newline at end of file + data modify storage api: SleepTimer set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepTimer.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/sleeping_x.mcfunction b/TheSkyBlessing/data/api/functions/data_get/sleeping_x.mcfunction index 0f5875002b..87eefe4818 100644 --- a/TheSkyBlessing/data/api/functions/data_get/sleeping_x.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/sleeping_x.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SleepingX # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingX.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingX.Data set from entity @s SleepingX + execute if score $NotLatestData Temporary matches 1 run function api:data_get/sleeping_x_fetch # outputのstorageに移す - data modify storage api: SleepingX set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingX.Data \ No newline at end of file + data modify storage api: SleepingX set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingX.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/sleeping_x_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/sleeping_x_fetch.mcfunction new file mode 100644 index 0000000000..e6dfe736ff --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/sleeping_x_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/sleeping_x_fetch +# +# +# +# @within function api:data_get/sleeping_x + +data modify storage api: Temp set from entity @s SleepingX +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingX.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingX.Data + +data remove storage api: Temp +data remove storage api: SleepingX diff --git a/TheSkyBlessing/data/api/functions/data_get/sleeping_y.mcfunction b/TheSkyBlessing/data/api/functions/data_get/sleeping_y.mcfunction index 307b4cca52..f3b38aaf2a 100644 --- a/TheSkyBlessing/data/api/functions/data_get/sleeping_y.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/sleeping_y.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SleepingY # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingY.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingY.Data set from entity @s SleepingY + execute if score $NotLatestData Temporary matches 1 run function api:data_get/sleeping_y_fetch # outputのstorageに移す - data modify storage api: SleepingY set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingY.Data \ No newline at end of file + data modify storage api: SleepingY set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingY.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/sleeping_y_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/sleeping_y_fetch.mcfunction new file mode 100644 index 0000000000..e7e2fe6abe --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/sleeping_y_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/sleeping_y_fetch +# +# +# +# @within function api:data_get/sleeping_y + +data modify storage api: Temp set from entity @s SleepingY +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingY.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingY.Data + +data remove storage api: Temp +data remove storage api: SleepingY diff --git a/TheSkyBlessing/data/api/functions/data_get/sleeping_z.mcfunction b/TheSkyBlessing/data/api/functions/data_get/sleeping_z.mcfunction index a0536b8129..9d3b0306d9 100644 --- a/TheSkyBlessing/data/api/functions/data_get/sleeping_z.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/sleeping_z.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SleepingZ # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingZ.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingZ.Data set from entity @s SleepingZ + execute if score $NotLatestData Temporary matches 1 run function api:data_get/sleeping_z_fetch # outputのstorageに移す - data modify storage api: SleepingZ set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingZ.Data \ No newline at end of file + data modify storage api: SleepingZ set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingZ.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/sleeping_z_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/sleeping_z_fetch.mcfunction new file mode 100644 index 0000000000..382029a47e --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/sleeping_z_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/sleeping_z_fetch +# +# +# +# @within function api:data_get/sleeping_z + +data modify storage api: Temp set from entity @s SleepingZ +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingZ.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SleepingZ.Data + +data remove storage api: Temp +data remove storage api: SleepingZ diff --git a/TheSkyBlessing/data/api/functions/data_get/spawn_forced.mcfunction b/TheSkyBlessing/data/api/functions/data_get/spawn_forced.mcfunction index 3f2417e2e9..df5717da49 100644 --- a/TheSkyBlessing/data/api/functions/data_get/spawn_forced.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/spawn_forced.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SpawnForced # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnForced.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnForced.Data set from entity @s SpawnForced # outputのstorageに移す - data modify storage api: SpawnForced set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnForced.Data \ No newline at end of file + data modify storage api: SpawnForced set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnForced.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/spawn_x.mcfunction b/TheSkyBlessing/data/api/functions/data_get/spawn_x.mcfunction index 1b4c1ec74d..65c476804d 100644 --- a/TheSkyBlessing/data/api/functions/data_get/spawn_x.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/spawn_x.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SpawnX # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnX.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnX.Data set from entity @s SpawnX + execute if score $NotLatestData Temporary matches 1 run function api:data_get/spawn_x_fetch # outputのstorageに移す - data modify storage api: SpawnX set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnX.Data \ No newline at end of file + data modify storage api: SpawnX set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnX.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/spawn_x_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/spawn_x_fetch.mcfunction new file mode 100644 index 0000000000..cf04f0117a --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/spawn_x_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/spawn_x_fetch +# +# +# +# @within function api:data_get/spawn_x + +data modify storage api: Temp set from entity @s SpawnX +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnX.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnX.Data + +data remove storage api: Temp +data remove storage api: SpawnX diff --git a/TheSkyBlessing/data/api/functions/data_get/spawn_y.mcfunction b/TheSkyBlessing/data/api/functions/data_get/spawn_y.mcfunction index 7822a4f2b4..1841786c6b 100644 --- a/TheSkyBlessing/data/api/functions/data_get/spawn_y.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/spawn_y.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SpawnY # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnY.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnY.Data set from entity @s SpawnY + execute if score $NotLatestData Temporary matches 1 run function api:data_get/spawn_y_fetch # outputのstorageに移す - data modify storage api: SpawnY set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnY.Data \ No newline at end of file + data modify storage api: SpawnY set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnY.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/spawn_y_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/spawn_y_fetch.mcfunction new file mode 100644 index 0000000000..29ecb1e489 --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/spawn_y_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/spawn_y_fetch +# +# +# +# @within function api:data_get/spawn_y + +data modify storage api: Temp set from entity @s SpawnY +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnY.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnY.Data + +data remove storage api: Temp +data remove storage api: SpawnY diff --git a/TheSkyBlessing/data/api/functions/data_get/spawn_z.mcfunction b/TheSkyBlessing/data/api/functions/data_get/spawn_z.mcfunction index 21f2a378ad..ca4c81b8ef 100644 --- a/TheSkyBlessing/data/api/functions/data_get/spawn_z.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/spawn_z.mcfunction @@ -6,7 +6,7 @@ # @output storage api: SpawnZ # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnZ.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnZ.Data set from entity @s SpawnZ + execute if score $NotLatestData Temporary matches 1 run function api:data_get/spawn_z_fetch # outputのstorageに移す - data modify storage api: SpawnZ set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnZ.Data \ No newline at end of file + data modify storage api: SpawnZ set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnZ.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/spawn_z_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/spawn_z_fetch.mcfunction new file mode 100644 index 0000000000..4f116b1e4e --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/spawn_z_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/spawn_z_fetch +# +# +# +# @within function api:data_get/spawn_z + +data modify storage api: Temp set from entity @s SpawnZ +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnZ.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.SpawnZ.Data + +data remove storage api: Temp +data remove storage api: SpawnZ diff --git a/TheSkyBlessing/data/api/functions/data_get/tags.mcfunction b/TheSkyBlessing/data/api/functions/data_get/tags.mcfunction index 73dac3754c..4267cb9044 100644 --- a/TheSkyBlessing/data/api/functions/data_get/tags.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/tags.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Tags # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Tags.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Tags.Data set from entity @s Tags # outputのstorageに移す - data modify storage api: Tags set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Tags.Data \ No newline at end of file + data modify storage api: Tags set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Tags.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/team.mcfunction b/TheSkyBlessing/data/api/functions/data_get/team.mcfunction index 43e9dd58b4..96db3cff77 100644 --- a/TheSkyBlessing/data/api/functions/data_get/team.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/team.mcfunction @@ -6,7 +6,7 @@ # @output storage api: Team # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -14,6 +14,6 @@ function oh_my_dat:please # 最新のものかチェックし、最新じゃなければ取得 execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Team.Time set from storage global Time - execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Team.Data set from entity @s Team + execute if score $NotLatestData Temporary matches 1 run function api:data_get/team_fetch # outputのstorageに移す - data modify storage api: Team set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Team.Data \ No newline at end of file + data modify storage api: Team set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Team.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/team_fetch.mcfunction b/TheSkyBlessing/data/api/functions/data_get/team_fetch.mcfunction new file mode 100644 index 0000000000..c3ce5714ea --- /dev/null +++ b/TheSkyBlessing/data/api/functions/data_get/team_fetch.mcfunction @@ -0,0 +1,12 @@ +#> api:data_get/team_fetch +# +# +# +# @within function api:data_get/team + +data modify storage api: Temp set from entity @s Team +execute if data storage api: Temp run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Team.Data set from storage api: Temp +execute unless data storage api: Temp run data remove storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.Team.Data + +data remove storage api: Temp +data remove storage api: Team diff --git a/TheSkyBlessing/data/api/functions/data_get/uuid.mcfunction b/TheSkyBlessing/data/api/functions/data_get/uuid.mcfunction index 95605250bd..e6008b7fe7 100644 --- a/TheSkyBlessing/data/api/functions/data_get/uuid.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/uuid.mcfunction @@ -6,7 +6,7 @@ # @output storage api: UUID # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -15,4 +15,4 @@ # キャッシュされていなければ取得 execute unless data storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.UUID.Data run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.UUID.Data set from entity @s UUID # outputのstorageに移す - data modify storage api: UUID set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.UUID.Data \ No newline at end of file + data modify storage api: UUID set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.UUID.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/xp_level.mcfunction b/TheSkyBlessing/data/api/functions/data_get/xp_level.mcfunction index 11e7a15be8..210c92a65d 100644 --- a/TheSkyBlessing/data/api/functions/data_get/xp_level.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/xp_level.mcfunction @@ -6,7 +6,7 @@ # @output storage api: XpLevel # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpLevel.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpLevel.Data set from entity @s XpLevel # outputのstorageに移す - data modify storage api: XpLevel set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpLevel.Data \ No newline at end of file + data modify storage api: XpLevel set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpLevel.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/xp_p.mcfunction b/TheSkyBlessing/data/api/functions/data_get/xp_p.mcfunction index c3e7d1b5d8..0fef2ba68b 100644 --- a/TheSkyBlessing/data/api/functions/data_get/xp_p.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/xp_p.mcfunction @@ -6,7 +6,7 @@ # @output storage api: XpP # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpP.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpP.Data set from entity @s XpP # outputのstorageに移す - data modify storage api: XpP set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpP.Data \ No newline at end of file + data modify storage api: XpP set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpP.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/xp_seed.mcfunction b/TheSkyBlessing/data/api/functions/data_get/xp_seed.mcfunction index aaba767a64..0ca9be636a 100644 --- a/TheSkyBlessing/data/api/functions/data_get/xp_seed.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/xp_seed.mcfunction @@ -6,7 +6,7 @@ # @output storage api: XpSeed # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpSeed.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpSeed.Data set from entity @s XpSeed # outputのstorageに移す - data modify storage api: XpSeed set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpSeed.Data \ No newline at end of file + data modify storage api: XpSeed set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpSeed.Data diff --git a/TheSkyBlessing/data/api/functions/data_get/xp_total.mcfunction b/TheSkyBlessing/data/api/functions/data_get/xp_total.mcfunction index 90f47d8ea2..6838a2fde9 100644 --- a/TheSkyBlessing/data/api/functions/data_get/xp_total.mcfunction +++ b/TheSkyBlessing/data/api/functions/data_get/xp_total.mcfunction @@ -6,7 +6,7 @@ # @output storage api: XpTotal # @public -#>Temp +#> Temp # @private #declare score_holder $NotLatestData @@ -16,4 +16,4 @@ execute store result score $NotLatestData Temporary run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpTotal.Time set from storage global Time execute if score $NotLatestData Temporary matches 1 run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpTotal.Data set from entity @s XpTotal # outputのstorageに移す - data modify storage api: XpTotal set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpTotal.Data \ No newline at end of file + data modify storage api: XpTotal set from storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].DataCache.XpTotal.Data