Custom Potion times?

Started by Magecrafter543 on Wed, 07/24/2019 - 17:23

Topic category: Help with modding (Java Edition)

Last seen on 03:10, 7. Jul 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Custom Potion times?
Wed, 07/24/2019 - 17:23

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 13:07, 9. Feb 2020
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 13:07, 9. Feb 2020
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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".