Detecting a right click on a specific block

Started by Sbagliare on Tue, 03/02/2021 - 12:27

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Detecting a right click on a specific block
Tue, 03/02/2021 - 12:27

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 08:25, 10. Apr 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 13:48, 11. Apr 2021
Joined Apr 2020
Points:

User statistics:

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

Hello Sbagliare

 

> Here < take a look at this screenshot.

Last seen on 14:52, 11. Apr 2021
Joined Apr 2021
Points:

User statistics:

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

how do you get there?