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

Started by PartySpider_199 on Sat, 05/23/2020 - 21:05

Topic category: Help with modding (Java Edition)

Last seen on 20:19, 7. Jul 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 00:38, 16. Jul 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 20:19, 7. Jul 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 11:51, 14. Jul 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 20:19, 7. Jul 2020
Joined May 2019
User points:

User statistics:

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

Ok thanks