I'm using command blocks to make a custom slime, I've tried using the command: /summon slime ~ ~ ~ {Size:3b,Attributes:[{Name:"generic.attack_knockback", Base:8.0,}]}

but it doesn't work. Replacing "slime" with "zombie" does work however. I've tried giving the slime a knockback sword, but they can't make use of items. Is there any way to increase their knockback?


I think this changed in the 1.16 update, when I have worked with this command, I looked it up, and it seems like this attribute now only affects iron golems, Hoglins, and zoglins

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.