getting the block connected to a specific face of a block for energy cables

Started by siren on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Dec 2020
Points:
615

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
getting the block connected to a specific face of a block for energy cables

so I'm working on a mod that has, among other things, custom energy cables. how would I go about having the cable only output to the block it's facing? like, get a specific block connected to it, but relative to what direction the block is facing instead of X , Y, Z+1 because XYZ is global and not relative.