How do I add a when right clicked on block event for a food item?

Started by Matt The Banana on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Sep 2018
Points:
1020

User statistics:

  • Modifications: 3
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 163
How do I add a when right clicked on block event for a food item?

There is no event option for "if right clicked on block" for food items. So how do I do it with "if right clicked"?

Active 1 year ago
Joined Apr 2015
Points:
852

User statistics:

  • Modifications: 7
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 107
One thing you could do is …
Sun, 05/26/2019 - 05:16

One thing you could do is "If food right clicked" and set it to detect a certain block.

There is another way to just plain detect a block. I could send a video if you really wanted.

Active 1 month ago
Joined Sep 2018
Points:
1020

User statistics:

  • Modifications: 3
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 163
Yeah I did that and it is…
Sun, 05/26/2019 - 05:17

Yeah I did that and it is really glitchy. It doesn't spawn on the right block and it doesn't play the place animation.

Active 1 year ago
Joined Apr 2015
Points:
852

User statistics:

  • Modifications: 7
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 107
For now, that's the best you…
Sun, 05/26/2019 - 17:27

For now, that's the best you're gonna get.

Active 1 month ago
Joined Sep 2018
Points:
1020

User statistics:

  • Modifications: 3
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 163
For now, that isn’t the best…
Sun, 05/26/2019 - 17:35

For now, that isn’t the best I can get. There is always a way to do something. Even if it is unknown.

Active 1 year ago
Joined Apr 2015
Points:
852

User statistics:

  • Modifications: 7
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 107
What?
Sun, 05/26/2019 - 17:36

What?

Active 1 year ago
Joined Apr 2015
Points:
852

User statistics:

  • Modifications: 7
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 107
No, not really. Unless…
Sun, 05/26/2019 - 17:36

No, not really. Unless MCreator adds it, lol.

Active 1 month ago
Joined Sep 2018
Points:
1020

User statistics:

  • Modifications: 3
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 163
You know Mcreator has open…
Sun, 05/26/2019 - 17:40

You know Mcreator has open source java right?

Active 1 year ago
Joined Apr 2015
Points:
852

User statistics:

  • Modifications: 7
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 107
Yes, but then again, that's…
Sun, 05/26/2019 - 17:42

Yes, but then again, that's a very difficult method for it.