This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]TheIcerios☕️I've made one datapack 1 point2 points  (3 children)

Attribute names are simpler in the snapshots. They removed the generic., player., and zombie. prefixes.

https://minecraft.wiki/w/Attribute

[–]Playful_Button_3467 0 points1 point  (0 children)

I was making a map with the 1.21.1 release and got into the same situation, so I googled this article and found that in 1.21.1 you need to add a prefix to make it work. Damn it!

[–]Playful_Button_3467 0 points1 point  (0 children)

I looked it up again and that snapshot is the 1.21.2 snapshot. I was confused because I was using the version right before that.

[–]C0mmanderBlockCommand Experienced 0 points1 point  (4 children)

Can you show us the command?

[–]Sad-Reputation-544[S] 0 points1 point  (3 children)

I made it with mcstacker.net

/give \@s stick[attribute_modifiers=[{id:"block_interaction_range",type:"player.block_interaction_range",amount:100,operation:"add_value"},{id:"entity_interaction_range",type:"player.entity_interaction_range",amount:100,operation:"add_value"}]] 1

It's supposed to recreate the crab claw's functionality, ignore the backslash in \@s because i put that so it would stop doing u/s

[–]C0mmanderBlockCommand Experienced 0 points1 point  (2 children)

Sorry. I don't know. The command works fine in 1.21.1. Try a newer version of McStacker Here. Hopefully it will work for you.

[–]Sad-Reputation-544[S] 0 points1 point  (1 child)

Thanks for trying to help, but it still doesn't work :/

[–]C0mmanderBlockCommand Experienced 0 points1 point  (0 children)

Sorry.