Unable to place a block when right clicking on it

Started by Ricy40 on Sat, 07/17/2021 - 15:14

Topic category: Help with modding (Java Edition)

Last seen on 17:29, 16. Sep 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Unable to place a block when right clicking on it
Sat, 07/17/2021 - 15:14

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
  

Last seen on 03:34, 18. Sep 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 17:29, 16. Sep 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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. :)

Last seen on 17:29, 16. Sep 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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