potion's effect wile item is in offhand - 2020.2

Started by virgilvlogger on Tue, 01/26/2021 - 08:42

Topic category: Help with modding (Java Edition)

Last seen on 11:41, 28. Jan 2021
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
potion's effect wile item is in offhand - 2020.2
Tue, 01/26/2021 - 09:44 (edited)

I have in my mod a item that if you put it in your hand you get jump boost and luck, but I also want it to work if you put the item in your off hand. I've already tried a few things but it still doesn't work! can anyone help me?

I already have this: (see the link)

version: 1.12.2 (2020.2)

 

https://imgur.com/jLP49X0

 

 

Edited by virgilvlogger on Tue, 01/26/2021 - 09:44
Last seen on 11:41, 28. Jan 2021
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Can I than stil make my mod…
Tue, 01/26/2021 - 11:03

Can I than stil make my mod in 1.12.2?

Last seen on 11:41, 28. Jan 2021
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oke, I updated to 2020.5,…
Tue, 01/26/2021 - 14:57

Oke, I updated to 2020.5, what now?

 

Last seen on 11:41, 28. Jan 2021
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
is there a spacial code i…
Wed, 01/27/2021 - 10:54

is there a spacial code i need to do?

 

Last seen on 11:41, 28. Jan 2021
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Klemen I have Updated, what…
Wed, 01/27/2021 - 12:51

Klemen I have Updated, what do i need to do now?

 

Last seen on 18:36, 24. Feb 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
First try reducing duration…
Thu, 01/28/2021 - 09:01

First try reducing duration to 1. Also for off hand add another if for check for offhand