Broken Entity Effects

Started by camgampp on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 19:18, 21. Aug 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Broken Entity Effects

When using either the "Add potion with level _ and duration _ to provided entity: _" or "Add potion with level _ and duration _ ambient _ particles _ to provided entity: _", the effect is always broken in game. For example, I have it set as "Add potion with level 1 and duration 300 to provided entity: LEVITATION", but it shows up as Levitation II and when the timer hits 0:00, I am still floating up and the effect does not go away. I'm trying to make an entity give you blindness and levitation for 15 seconds when you touch it. Anyone know a solution or alternative?

Last seen on 00:30, 24. Aug 2023
Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
First off, Minecraft handles…
Tue, 04/14/2020 - 19:09

First off, Minecraft handles potion levels starting from 0, so level 0 is actually level 1, level 1 is actually level 2, etc.

As for the potion persisting after it's reached 0:00, this is just an unfortunate bug in either Minecraft or MCreator. It can be fixed if you re-log or host your mod on a server. This only happens in singleplayer games.

I also had that bug! I don…
Fri, 05/21/2021 - 08:06

I also had that bug!

I don't want to be too quick with that answer, as I just tested my fix for that, but... clearing *this specific potion* helped with that bug. I mean, levitation image still appears, but there's no more levitation after 0:00 timer.

I used projectile though, so it just works that way - first shot can make you levitate, and each shot (so, next one as well) clears you from levitation. As they happen in two-three seconds delay, it's enough for you to levitate a bit, but you won't be levitated to extreme heights.

There's important thing though - clearing all potions didn't work for me, it had to be clearing only levitation.