[Solved] Right-Click on (Custom) Entity Procedure Repeat Twice

Started by Kuroi Anji on

Topic category: Help with modding (Java Edition)

Last seen on 20:33, 28. May 2023
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Solved] Right-Click on (Custom) Entity Procedure Repeat Twice
Wed, 04/06/2022 - 14:14 (edited)

I made a Custom Entity and when I trigger the right click on entity custom procedure, it seems to repeat twice, in any case after the else if procedure, it execute the if procedure above too, I tried to make the if procedure in other ways to, but the only thing I came whit is it repeats twice, how can I fix it?

custom_procedure

I think it may be related on this post https://mcreator.net/forum/50690/right-clicking-mob-triggers-event-twice but I've noticed the same problem in a video of NorthWestTrees, but in a older version, mine is MCreator 2021.3 (Minecraft Forge 1.17.1)

 

Oke, I Fixed this way for now

custom_procedure_fixed

I tame the entity after an amount of ticks, I think it work whit less than 100 ticks too.

Edited by Kuroi Anji on Wed, 04/06/2022 - 14:14