Detecting a right click on a specific block

Started by Sbagliare on

Topic category: Help with modding (Java Edition)

Last seen on 22:22, 16. Mar 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detecting a right click on a specific block

I'm currently creating a mod and have hit a bit of a roadblock. Im adding a item based on the vanilla bell, but canno find how to make it ring when right clicked. I have finished the block properties and everything else about it, but when i try to add a trigger to make it ring, it makes EVERYTHING in the world ring when right clicked... I understand why this happens, but am unsure of how to proceed. Is there a way to specify what block the player is right-clicking? 

Last seen on 20:03, 24. Apr 2024
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Only works, if you use the …
Thu, 04/01/2021 - 15:19

Only works, if you use the "on block right clicked" trigger of the block.

Last seen on 11:52, 23. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello Sbagliare   > Here <…
Fri, 04/02/2021 - 16:39

Hello Sbagliare

 

> Here < take a look at this screenshot.

Last seen on 20:59, 6. Jun 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do you get there?
Fri, 04/02/2021 - 16:55

how do you get there?