event on right click on entity

Started by PatrickTheF on

Topic category: Help with modding (Java Edition)

Last seen on 14:20, 5. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
event on right click on entity

event on right click on entity is not working or something? I can't milk my custom cow.

Last seen on 16:15, 8. Dec 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Depending on how you want to…
Sun, 05/17/2020 - 09:47

Depending on how you want to do it but.. you could under the right click on entity in the entity's events

RightClickOnEntityGiveMilk

Last seen on 14:20, 5. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i know but it's not working…
Sun, 05/17/2020 - 12:58

i know but it's not working nothing happened when right clicked

Last seen on 14:20, 5. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm using latest snapshot it…
Sun, 05/17/2020 - 13:05

I'm using latest snapshot it looks like this or I'm doing something wrong?

event

Last seen on 16:15, 8. Dec 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yea.. do you not see the…
Sun, 05/17/2020 - 13:44

yea.. do you not see the image in my previous reply ?

Last seen on 16:15, 8. Dec 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i dont think thats how you…
Sun, 05/17/2020 - 13:47

i dont think thats how you use itemstack procedures

Last seen on 14:20, 5. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I saw your image, and I…
Sun, 05/17/2020 - 13:53

I saw your image, and I changed "do" to what you showed me, but I don't know how to make "if" just like yours

Last seen on 16:15, 8. Dec 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in (Logic operations) the…
Sun, 05/17/2020 - 14:08

in (Logic operations) the last one on the list

in (Entity procedures) Item in entity's main hand its close to the bottom of the list

in (Minecraft components) the first one on the list

Last seen on 14:20, 5. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and there's the problem, the…
Sun, 05/17/2020 - 14:17

and there's the problem, the last one on the list in logic there's only block operation not item/block

entity procedure don't have any in entity's main hand, just that one which I use.

I'm using the latest 2020.3 snapshot, you have different options unfortunately so I don't know what to do

Last seen on 16:15, 8. Dec 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry i had to download the…
Sun, 05/17/2020 - 14:49

sorry i had to download the snapshot on a different computer than my main one

Image

Last seen on 14:20, 5. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yup, it's not working at all…
Sun, 05/17/2020 - 15:19

yup, it's not working at all, I think it's a bug, because when I right click on entity nothing happens unfortunately.

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it me or did they make…
Sun, 05/17/2020 - 15:54

Is it me or did they make procedures 10x more complicated?

Last seen on 16:15, 8. Dec 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ya the short look i had at…
Sun, 05/17/2020 - 16:01

ya the short look i had at the snapshot procedures do seem more complicated

Last seen on 14:20, 5. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it's more complicated, and…
Sun, 05/17/2020 - 16:01

it's more complicated, and it's not working at all I guess...

Last seen on 16:15, 8. Dec 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im sorry i was test this on…
Sun, 05/17/2020 - 16:28

im sorry i was test this on a block to save time and i never used the snapshot

change the (event/target entity) to (event/ Source entity)

 

in (Minecraft components) event/ Source entity