1

Is it possible to give multiple potion effects with one command block?

For example, I have command block hooked up to a pressure plate and I want it to give a player Slowness 255 and Jump Boost 150, effectively holding them in place for a set period of time or until an /effect @p clear command is run on them.

Is there anyway to do this without having to use more than 1 command block for both effects?

1
2

You can't execute two commands from within one command block. The only halfways acceptable solution is to spawn in another command block with a preloaded command, such as this:

/setblock ~ ~2 ~ minecraft:command_block 0 destroy {Command:/say Hi}

source

Where you'd need to replace /say Hi with your command.

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.