[SOLVED] Stop player movent or spawn block arround him

Started by Noxvern on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] Stop player movent or spawn block arround him
Sun, 09/05/2021 - 22:14 (edited)

Hello, there any way to stop player movement control?

I want to make a projectile that paralize you or if is not possible, spawn blocks arround him (like in all directions and 2 blocks of height to get stuck)

Appreciate the help!

Edited by Noxvern on Sun, 09/05/2021 - 22:14
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is no direct procedure…
Thu, 08/19/2021 - 20:29

There is no direct procedure block to do it but you can get the same result by adding a 255 level slowness potion effect to the player. You can also choose not to show the particles so it does not look like it has a potion effect, like in the example here: https://imgur.com/uJCe69n

Hope it helps!

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm sorry, I forgot you can…
Thu, 08/19/2021 - 20:45

I'm sorry, I forgot you can still jump being slowed, but if you duplicate the procedure adding 128 level Jump-Boost effect, the player won't move by any chance.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thnx! I tried and it works…
Fri, 08/20/2021 - 16:31

Thnx! I tried and it works perfectly