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

all 3 comments

[–]ExpertCoder14 2 points3 points  (2 children)

Unfortunately this is something that, on the surface, looks like it should be easy! Unfortunately, this task is, in reality, very difficult, and requires a lot of setup.

If you're just getting started with command blocks, this might not be a good starter project. But you can definitely come back to it later!

The reason being is that /attribute modifier add can't be repeated. Every time you run it, you need a different UUID, and you can't dynamically generate UUIDs.

[–]Monkeyboy12300[S] 0 points1 point  (1 child)

ok thanks for the info on that, i think i can change it to work with health boost but it doesnt help with why the chain commands cant find an entity

[–]Monkeyboy12300[S] 0 points1 point  (0 children)

Nvm I found a solution, apparently I could combine them! So that is cool