Started by
RedWirePlatinum
on
Topic category: Troubleshooting, bugs, and solutions
I have some pressure plate items in my mod that do certain things when an entity steps on them. However, I noticed that since this activates under "when entity collides with block", it activates as if it were a regular block and not.. well.. a pressure plate. You could jump over a pressure plate, and the collision procedure would still activate.
Yes, because I imagine the procedure activates based on your coordinates, not the bounding box. What you could do instead is execute the procedure whenever the block has redstone power.
Can't really do that since I need the target entity in my procedure.. BUT I made some kind of work-around:
Basically just checks if your Y coordinate is more approximately in position of the pressure plate
Well.. actually I don't NEED an entity for my land mine item that I used in the example pic in comparison for my other pressure plate items, but you get my point)
If you use a call procedure block, you need to use the variant with coordinates.
I am aware of that but thank u :)