Custom Potion times?

Started by Magecrafter543 on

Topic category: Help with Minecraft modding (Java Edition)

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?

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).

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".