Started by
Polar404
on
Topic category: Help with Minecraft modding (Java Edition)
I would like to know how to make a block that detects the movement of any entity that passes in front of its front facet (imagine the same as the observer's face), as a consequence, emitting redstone energy to its back facet (imagine the same as the observer's back , which emit energy when they notice a block change).
Hmm that might be a little hard, what you could do is to Directional blocks to check in what direction the block is facing and then getting the offset X, Y & Z cords and then using any of the entity blocks using square cube checks like the "Does entity exist at" and setting the size to 1 and the location to the directional offset.
I might be a little confused about how to do these things you just told me lol