I need help on what to do to make this mod work?

Started by Woolyo on Thu, 07/15/2021 - 17:26

Topic category: Help with modding (Java Edition)

Last seen on 22:16, 25. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I need help on what to do to make this mod work?
Thu, 07/15/2021 - 17:26

Hello, I am trying to make this mod where you right click while holding a tool I made and whatever mob you look at gets the levitation effect and it stops if you right click on the mob again any ideas on how to do that?

Last seen on 02:01, 27. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
On Right-click If main hand…
Fri, 07/16/2021 - 00:12

On Right-click

If main hand item is [tool]

  • If Source Entity is EntityPlayer OR EntityPlayerMP
  •  - If Target Entity has Levitation
  •  - - Remove Effect (this this is a block but if not just execute /clear using Target Entity)
  •  - Else
  •  - - Give Target Entity Levitation effect 99999 duration
Last seen on 22:16, 25. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Do you mind posting a…
Fri, 07/16/2021 - 17:19

Do you mind posting a screenshot @TechTastic? 

Last seen on 02:01, 27. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I didn't make it, was just…
Fri, 07/16/2021 - 23:04

I didn't make it, was just thinking of the blocks I know exist and the logic and going from there

 

I can post a pic in a few hours tho

Last seen on 22:16, 25. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ok! thank you very much  
Sat, 07/17/2021 - 00:15

ok! thank you very much