Add a temporary potion effect

Started by gaming with sam on Sun, 09/20/2020 - 02:00

Topic category: Help with modding (Java Edition)

Last seen on 03:31, 27. Sep 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Add a temporary potion effect
Sun, 09/20/2020 - 02:00

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 03:31, 27. Sep 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 21:11, 18. Nov 2020
Joined Jul 2020
User points:

User statistics:

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