Skip to content

Commit

Permalink
Update attribute name to 1.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeldrion committed Oct 14, 2024
1 parent c81cdae commit f38c6e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/iris/function/get_hitbox/entity/scale.mcfunction
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit f38c6e8

Please sign in to comment.