Infinite Potion Ticks

Started by xmor on

Topic category: Help with modding (Java Edition)

Last seen on 12:28, 7. Apr 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Infinite Potion Ticks
Fri, 04/05/2024 - 15:44 (edited)

I've been searching around for an answer, but I just cant find one. I'm trying to make my potion effects infinite, and I have changed the 0 value in ticks to be a large number, and it turns to infinity, however after saving, I get an error which doesn't allow me to open Minecraft. I've also tried setting it to other high numbers, but again to no avail, it gives me an error. Does anybody know how to fix this?

 

My code simply has:

Event trigger

Followed by:

Add potion REGENERATION with level "2" for "0" ticks ambient "true" particles "false" to 'event/target entity'

Edited by xmor on Fri, 04/05/2024 - 15:44
Last seen on 11:32, 30. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Write "-1" ticks, it should…
Fri, 04/05/2024 - 23:19

Write "-1" ticks, it should help

Last seen on 19:58, 29. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
-1?! What does that mean?
Sat, 04/06/2024 - 14:06

-1?! What does that mean?