event on right click on entity

Started by PatrickTheF on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined May 2020
Points:
668

User statistics:

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

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

Active 4 years ago
Joined Sep 2019
Points:
748

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
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

Active 4 years ago
Joined May 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
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

Active 4 years ago
Joined May 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
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

Active 4 years ago
Joined Sep 2019
Points:
748

User statistics:

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

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

Active 4 years ago
Joined Sep 2019
Points:
748

User statistics:

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

i dont think thats how you use itemstack procedures

Active 4 years ago
Joined May 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
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

Active 4 years ago
Joined Sep 2019
Points:
748

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
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

Active 4 years ago
Joined May 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
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

Active 4 years ago
Joined Sep 2019
Points:
748

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
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

Active 4 years ago
Joined May 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
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.

Active 3 years ago
Joined Mar 2020
Points:
1278

User statistics:

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

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

Active 4 years ago
Joined Sep 2019
Points:
748

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
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

Active 4 years ago
Joined May 2020
Points:
668

User statistics:

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

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

Active 4 years ago
Joined Sep 2019
Points:
748

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
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