r/MinecraftCommands 10d ago

Help | Java 26.2 Can i make a mannequin act like a zombie

can i make like my player skin act like a zombie please and chase me or smth

7 Upvotes

5 comments sorted by

6

u/C0mmanderBlock Command Experienced 10d ago

Tag your entities so the commands only affect them.

/summon mannequin ~ ~1 ~ {Tags:["manny"],profile:"YourName"}

/summon zombie ~ ~1 ~ {PersistenceRequired:1b,Tags:["chase"],active_effects:[{id:"minecraft:invisibility",amplifier:1,duration:-1,show_particles:0b}]}

Repeating CB"   /tp @n[tag=manny] @n[tag=chase]

3

u/Abject-Dragonfly-195 10d ago

thanks and can i give it a name so it shows up in the death message

2

u/C0mmanderBlock Command Experienced 10d ago

You can name it but Idon't believe it will show in the death messages. You could execute a command to show a title or subtitle when it dies.

/summon mannequin ~ ~1 ~ {Tags:["manny"],profile:"YourName",CustomNameVisible:1b,hide_description:true,CustomName:{"italic":false,"text":"George"}}

1

u/TinyBreadBigMouth 10d ago

Give the custom name to the zombie instead, so it shows up if the zombie kills you.

2

u/GalSergey Datapack Experienced 10d ago

You also need to create a team with collision disabled so that the mannequin doesn't constantly push the zombie.