Block face detection for Placement Restriction.

Started by Gavirium on

Topic category: Help with modding (Java Edition)

Last seen on 08:25, 31. Jul 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block face detection for Placement Restriction.

How would one go about checking the block face you're trying to place something against is solid, through block valid placement condition. Similar to how a "Amethyst Cluster" does it. I've tried using a "direction" local variable, but couldn't get anything to work. Could anyone show me the way:)