Delayed effect from item.

Started by Polixaber on

Topic category: Help with Minecraft modding (Java Edition)

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!

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)

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