Add a temporary potion effect

Started by gaming with sam on

Topic category: Help with modding (Java Edition)

Last seen on 00:57, 29. May 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add a temporary potion effect

I want to add a temporary potion effect to armor based on an event trigger like 30 seconds of blindness when it rains if you are wearing a piece of armor.

Last seen on 00:57, 29. May 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind figured out how to…
Sun, 09/20/2020 - 02:42

Nevermind figured out how to do it now what i need help with is adding a time delay between events in a procedure

Last seen on 00:31, 10. Dec 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To do this programming you…
Sun, 09/20/2020 - 02:42

To do this programming you must do:

1. Set Global Trigger to On player tick update

Download the file in ptpL (http://www.mediafire.com/file/lua1r2l46jj752n/potion.ptpl/file), and import this file into MCreator (in case your procedure)

I used all the pieces of armor, but if you want, just erase, if you want to put, for example, 2 pieces of armor of an effect, just follow this same sequence, THIS COMMAND USES SIMPLE PROCEDURES, IF YOU WANT TO USE NBT TAGS, FOR EXAMPLE TO GIVE MORE FEATURES.