Trying to make it rain when player equips an item and stop when they unequip it

Started by I_TheAlphaWolf_I on

Topic category: Help with MCreator software

Last seen on 02:22, 18. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to make it rain when player equips an item and stop when they unequip it

So what i'm trying to do is to make an axe that when you hold it in your hand, it starts to rain/thunder. Then when you unequip it, it stops and clears the weather. How might I go along to do something like this? Thank you for the help.

Last seen on 13:34, 8. Apr 2024
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if player have in main hand …
Sun, 04/28/2019 - 08:14

if player have in main hand (get item == item)

do

Your procedure (for example execute commnd weather rain

else

/weather clear

 

Warning you must allow coments in your world try.