How to get the face of a block

Started by lazardemon 92 on

Topic category: Help with modding (Java Edition)

Last seen on 00:36, 22. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get the face of a block
Mon, 12/11/2023 - 15:00 (edited)

I am trying to make a budding amethyst type thing and I wan't it to break when floating. to do that, I get the rotation of the block and check if the block its facing is air, but that doesn't work if its on the floor or ceiling.

Is there a way to get the face of the block?

 

Edited by lazardemon 92 on Mon, 12/11/2023 - 15:00