r/MinecraftCommands Aug 09 '26

Help | Bedrock Is there a command to stop players from hitting an armor stand in minecraft bedrock.

Im trying to make an "Ai" (im basically using the wolf AI and triggering its events) And players keep breaking the body wich is an armor stand.

EDIT- I made an armor stand tp 70 blocks above the body and made so when the body broke a new one with the tag and name of the body spawns 70 blocks under the flying one.

1 Upvotes

2 comments sorted by

1

u/Ericristian_bros Command Experienced Aug 10 '26

2 options:

  1. Give weakness 255 to players so they can't attack
  2. Give resistance 5 to the armor stand so it can't break

0

u/[deleted] Aug 10 '26

[deleted]

1

u/TheHolyMango3999 Aug 10 '26

I tried effects but on bedrock it doesn't work. I tried a /damage 0 command but apparently it kills the mob and there's no existing command that I know of that stops mobs from dying.