I'm looking for a way to execute a command for any player on my server who eats this specific enchanted beetroot which gives them this effect that makes them feel like they are on drugs (screenshots attached)
1 Answer
You can use a repeating command block with testfor to detect if someone is holding the beetroot. If it passes true, it can detect if a command linked to stat.eat.beetroot (?) increases to one, reset it to 0, and execute whatever commands you would like. I'll post redstone and commands later when I can get on Minecraft.
-
1It's been three and a half years, have you had a chance to get on Minecraft yet? Commented Jan 27, 2020 at 20:40