From f38c6e8c4687bf2a211f9e39b1b0f0c516067af0 Mon Sep 17 00:00:00 2001 From: Aeldrion Date: Mon, 14 Oct 2024 23:45:10 +0200 Subject: [PATCH] Update attribute name to 1.21.2 --- data/iris/function/get_hitbox/entity/scale.mcfunction | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/iris/function/get_hitbox/entity/scale.mcfunction b/data/iris/function/get_hitbox/entity/scale.mcfunction index 149e314..5f78d0e 100644 --- a/data/iris/function/get_hitbox/entity/scale.mcfunction +++ b/data/iris/function/get_hitbox/entity/scale.mcfunction @@ -1,10 +1,10 @@ #> iris:get_hitbox/entity/scale # -# Scales a living entity according to its generic.scale attribute +# Scales a living entity according to its scale attribute # # @within iris:get_hitbox/entity -execute store result score $attribute_scale iris run attribute @s generic.scale get 1000 +execute store result score $attribute_scale iris run attribute @s minecraft:scale get 1000 execute if score $attribute_scale iris matches 0 run return fail execute if score $attribute_scale iris matches 1000 run return 0