Custom Potion times?

Started by Magecrafter543 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined May 2019
Points:
702

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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?

Active 2 weeks ago
Joined Dec 2016
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 52
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).

Active 2 weeks ago
Joined Dec 2016
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 52
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".