Right Click On a block And change item

Started by LapisPhoenix on Tue, 04/27/2021 - 16:51

Topic category: Help with modding (Java Edition)

Last seen on 02:44, 1. Mar 2022
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Right Click On a block And change item
Tue, 04/27/2021 - 16:51

As the title says. I want to change a mod item when you right click the block whilst its in there hand.

Last seen on 03:58, 10. Apr 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
1. Define 2nd Item 2. Define…
Wed, 04/28/2021 - 20:25

1. Define 2nd Item

2. Define in the first item a trigger: Right-Clicked On Block

Procedure Content: If get Block a xyz = [Your Block]

Remove 1[specific item] item from main-hand

set 1[2nd item] item in main-hand

 

~Lanee