Rotate blocks with item(wrench)

Started by DomkaLtu on Tue, 04/06/2021 - 07:03

Topic category: Help with modding (Java Edition)

Last seen on 05:31, 6. May 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Rotate blocks with item(wrench)
Tue, 04/06/2021 - 07:03

I want to make an item that would rotate the block on right click,like a wrench 

Last seen on 12:56, 6. May 2021
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use when right clicked on…
Tue, 04/06/2021 - 07:17

Use when right clicked on block -> if get block rotation=north then set rotation of the block xyz to south, else if rotation=south then set to north, etc.