[SOLVED] How to make a potion that freezes an entity?

Started by PartySpider_199 on

Topic category: Help with modding (Java Edition)

Last seen on 13:09, 14. Apr 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] How to make a potion that freezes an entity?
Fri, 07/03/2020 - 09:18 (edited)

So, I'm tryna make a potion effect that makes the player/mob completely immobile for a few minutes/seconds but I'm not sure how to get it to work. Yes, yes, i know you can add slowness with a high amplifier, but I don't want the player to see a slowness effect, I want it to seem like its own status effect. How can I use procedures to make the entity be unable to move? Or maybe, be able to add slowness but doesn't appear by the inventory? And maybe if we can go the extra mile, add an overlay on the mob texture to make them blue like they're stuck in ice? (the blue overlay is extra and idm if no one can answer that)

If this question exists and already has been answered, please just send me the link, I searched but never found anything.

Thanks! :D

Edited by PartySpider_199 on Fri, 07/03/2020 - 09:18
Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use slowness but…
Sun, 05/24/2020 - 11:29

You can use slowness but without the particles, that is a procedure block too.

Also if you still don’t like having the slowness I think constantly teleporting the mob to itself might work, but that could be complicated.

Last seen on 13:09, 14. Apr 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh yes I didn't think about…
Sun, 05/24/2020 - 11:42

Oh yes I didn't think about the teleport thing. I dont think it would be too hard, except it might make the screen glitch out for the player. Before I got this reply I had went with the slowness procedure block without ambient and particles in fact, and it doesnt show up on the screen, but does on the side of your inventory when you open it. Well, either way, thanks for the feedback and i'll update you later!

Last seen on 15:38, 1. Dec 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can just turn off the…
Thu, 06/25/2020 - 18:06

You can just turn off the entity NBT tag AI.

Last seen on 13:09, 14. Apr 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thanks  
Fri, 07/03/2020 - 09:17

Ok thanks

 

Last seen on 15:35, 21. Mar 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
override velocity motion of…
Thu, 12/16/2021 - 16:09

override velocity motion of entity vx vy and vz to 0 for every tick will work smoothly without glitching