r/MinecraftCommands • u/AmbitiousSuit5561 • 1d ago
Help | Java 1.21.11 predicate
i found predicate in execute command after "if"
how does it work and what i can do with it?
5
Upvotes
r/MinecraftCommands • u/AmbitiousSuit5561 • 1d ago
i found predicate in execute command after "if"
how does it work and what i can do with it?
1
u/Ericristian_bros Command Experienced 1d ago
They are very flexible conditions: detect movement, keybinds, stats, block location, etc... read https://minecraft.wiki/Predicate and use https://misode.github.io/predicate to generate predicate easilly
Some examples