Custom Potion times?

Started by Magecrafter543 on

Topic category: Help with modding (Java Edition)

Last seen on 02:12, 18. Jan 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Potion times?

I was trying to make a custom potion it was very strong and disabled damage on the player but I wanted it to only last 1 minute not 3 minutes! Can you please help?

Last seen on 21:54, 28. Mar 2024
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You go in the code an look…
Mon, 08/05/2019 - 14:37

You go in the code an look for "PotionTypeCustom". You'll see the number 3600. you can change that by locking the mod element's code and edit the value to 1200 (1 minute).

Last seen on 21:54, 28. Mar 2024
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oof there's supposed to be…
Mon, 08/05/2019 - 14:38

Oof there's supposed to be an "and" in the first sentence not an "an".