Convert a specific block to another specific block using a specific item.

Started by dffdgamer on

Topic category: Help with modding (Java Edition)

Last seen on 22:47, 10. Jun 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Convert a specific block to another specific block using a specific item.

I want to replace a block with another block with an item in hand and right click.pls help me.

thanks.

Last seen on 13:50, 6. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why did you created a new…
Fri, 10/09/2020 - 17:13

Why did you created a new topic page? I already answered your question!

Last seen on 13:50, 6. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Global trigger : When player…
Fri, 10/09/2020 - 17:14

Global trigger : When player right clicks block
Procedure :
IF (block at x y z = YOUR_BLOCK) AND (item in event/target entity's main hand = YOUR_ITEM)
DO replace block at x y z by YOUR_OTHER_BLOCK

Last seen on 22:47, 10. Jun 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
photo? pls  
Fri, 10/09/2020 - 19:47

photo? pls

 

Last seen on 22:47, 10. Jun 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No longer necessary, THANK…
Fri, 10/09/2020 - 21:15

No longer necessary, THANK YOU VERY MUCH

Last seen on 17:02, 15. Apr 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried that but you cant…
Wed, 08/02/2023 - 16:56

I tried that but you cant place another block on top of the block with that code, so when building, you have to shift click.