Random orientation for ores

Started by Jeepers Creepers on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 23:22, 10. Nov 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Random orientation for ores

I am trying to add a special ore where each side has a different texture. However, I can't figure out how to randomly change the block's orientation upon generation. I have Y axis rotation from blockface enabled, as well as a procedure that uses the 'set direction of block' and 'random direction' blocks hooked to 'When block added' trigger. The procedure appears to work, as when I add it to the 'when block is placed' trigger the orientation is randomized, which means the 'when block is added' trigger is the problem. Any ideas on how to fix this?

Last seen on 20:37, 26. Jul 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Randomizing the direction…
Sun, 10/22/2023 - 17:57

Randomizing the direction should work; if you want the direction to be randomized when a player places it, you may want to try make a procedure with the 'a block is placed' global trigger, instead of running it through the block. But yes, something like this should be totally doable.