Unable to place a block when right clicking on it

Started by Ricy40 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unable to place a block when right clicking on it

Hi!

I am making a filler mod for a modpack me and a friend are working on. This involves adding some new copper variants, which need to oxidise over time to fit with 1.17's new copper.
I have  managed to maek the oxidisation process using update ticks as well as the waxing and 'axing' (removal of wax, or making it go back a stage) using the block right click procedures.

However, Once I have used the OnBlockRightClicked procedure, it works with items specified but if I want to place a block on top of the copper block, I am not able to withotu shift clicking as it tries to 'use' the block on the copper and does nothing.

Anyway to fix this?
 

My procedure:
https://imgur.com/sfsloYr
  

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not sure how to describe it…
Sat, 07/17/2021 - 17:44

Not sure how to describe it but try "on player block right clicked" in the space where it says "no additional trigger". Remove the procedure from the block itself (just make it say no procedure). Try "if get block at x y z = (your block)" and then have your right click procedure. I've had this issue before so I know how to fix it, though not entirely how to describe it.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you, will try it, then…
Sun, 07/18/2021 - 11:03

Thank you, will try it, then feed back and post screenshot of have it works if so for future people. :)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yep that solved my problem!…
Sat, 07/24/2021 - 18:27

Yep that solved my problem!
Here is an image of my procedures:Image of procedures