Delayed effect from item.

Started by Polixaber on

Topic category: Help with modding (Java Edition)

Last seen on 15:14, 1. Sep 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Delayed effect from item.

Hello! I am making an item, and i really want to make it, that at first it gives strengt III for 1 minute, but after some time (5 minutes for example) it gives you weakness. Is it possible? I don't really know how to make procedures, so i will be grateful for every help!

Last seen on 21:28, 12. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
basically just do:give…
Sat, 08/31/2024 - 02:32

basically just do:

give target entity potion: STRENGTH for 1200 ticks (rest is up to you)

wait 6000 ticks then do on serverside

give target entity potion: weakness (rest is also up to you)

Last seen on 15:14, 1. Sep 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! It worked
Sat, 08/31/2024 - 18:38

Thanks! It worked