Problem with using an item on a mob

Started by weezl on

Topic category: Help with modding (Java Edition)

Last seen on 12:36, 11. Apr 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with using an item on a mob

I wanted to set the mob that when you use it on the item was imposed on him weakness, but neither through the procedures of the mob nor through the procedures of the object I do it failed, what could be the problem?

https://imgur.com/ayJ3yJr

Last seen on 19:36, 28. Mar 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dont understand quite right,…
Mon, 01/30/2023 - 00:01

Dont understand quite right, do you want to right click a mob with an item and give them poison?  (as the screenshot uses poison)

Last seen on 12:36, 11. Apr 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to use this item, the…
Mon, 01/30/2023 - 00:14

I want to use this item, the effect is imposed on the mob, in this case for the test so far using poison

Last seen on 19:36, 28. Mar 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the global trigger …
Tue, 01/31/2023 - 03:41

Use the global trigger "player rightclicks on entity" and check that your weapon is in your main hand or offhand.

Last seen on 12:36, 11. Apr 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks man, it all worked.
Tue, 01/31/2023 - 17:18

Thanks man, it all worked.

Last seen on 19:36, 28. Mar 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I remade the procedure…
Wed, 02/01/2023 - 01:27

I remade the procedure exactly as your screenshot and it worked, I see that you are using an older version of Mcreator.

What version of Mcreator do you use?

Also, does it say in the bottom left "not compatible with generator"?

Right click entity and source entity didnt work in 1.12 is i remember correctly, if it is 1.12 you use.

Last seen on 12:36, 11. Apr 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm using the 2022.3 version…
Wed, 02/01/2023 - 10:08

I'm using the 2022.3 version of mcretor and the minecraft 1.18.2 mod. So I need to upgrade?

 

Last seen on 19:36, 28. Mar 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
As i am using 2023.1 and it…
Wed, 02/01/2023 - 13:33

As i am using 2023.1 and it worked you can probably update, but your procedure should work in 2022.3 aswell. Can be that you are using 1.18 and some features are not updated there. 

Last seen on 12:36, 11. Apr 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you're right, I'll…
Wed, 02/01/2023 - 22:29

Maybe you're right, I'll update