Detecting a right click on a specific block

Started by Sbagliare on

Topic category: Help with Minecraft modding (Java Edition)

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? 

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.

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.

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?

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thx for this post i need…
Mon, 09/02/2024 - 23:35

thx for this post i need this for my marshmallow cooking!