How make this structure rotate?

Started by Ball-van on

Topic category: Help with modding (Java Edition)

Last seen on 18:29, 16. Mar 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How make this structure rotate?
Sat, 04/09/2022 - 12:02 (edited)

Hello!

I made an advanced workbench, it consists of 4 blocks. I made an item when it clicks on any block, it places 4 blocks that form the workbench itself, but it only looks in one direction, and I would like it to look in different directions depending on how the player placed it. Can you please tell me if this is possible and how?

Below I attached a link to a gif with the placement of the workbench.

https://www.deviantart.com/duckmadnes/art/How-report-912210646

Edited by Ball-van on Sat, 04/09/2022 - 12:02
Last seen on 12:41, 26. Nov 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could I see the on right…
Thu, 04/07/2022 - 18:10

Could I see the on right click procedure you are using to create it ?

Last seen on 02:44, 11. Mar 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well if youre placing a…
Fri, 04/08/2022 - 14:41

well if youre placing a structure and not just a large model you would probably be best off making the block you place face you with the rotation setting then getting the rotation of the block and placing the structure off of that. however, if youre using an item then you need to find the way the player is facing and reverse it to place the structure.

Last seen on 18:29, 16. Mar 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi! Yes, look! Only there,…
Fri, 04/08/2022 - 16:27

Hi! Yes, look! Only there, instead of planks and logs, there is a part of the workbench model, I just use their textures.

1 Part: https://www.deviantart.com/duckmadnes/art/Screen-3-912415568

2 Part: https://www.deviantart.com/duckmadnes/art/Screen-4-912415570

Last seen on 18:29, 16. Mar 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey! Can you show the…
Fri, 04/08/2022 - 16:31

Hey! Can you show the procedure itself? It will make it much easier for me to understand!

Last seen on 17:29, 1. Feb 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any updates on this?…
Sat, 11/25/2023 - 01:14

Any updates on this? Currently working on a modular room placing system and I'm trying to figure out how to get the structure I place (via a right-clicked block) to rotate based around the block rotation.