pressure_plate_activate not triggered by non player entities
LadyCailinBot opened this issue ยท 13 comments
CMDHELPER-2859 - Reported by VergilPrime
As far as I can tell the only way pressure_plate_activate goes off is if a player stands on it.
Comment by PseudoKnight
Maybe "entity_interact" with prefilters for entity type and block type?
Comment by VergilPrime
I don't see entity_interact on the staged event api page :I
Comment by PseudoKnight
That's because I was asking if that sounded intuitive.
Comment by PseudoKnight
No, I never started. I don't need it. I have plenty of things to add that I do need. In fact, I can't even think of what I'd use it for. Maybe when you're riding a horse?
Comment by VergilPrime
Trying to keep players without perm from entering a door. They just hop on a horse and ride straight through. Also mobs can wander onto the plate and let the player in.
Comment by VergilPrime
I disagree. the name pressure_plate_activate doesn't imply that it only applies to players. It should trigger ANY time a pressure plate is activated, therefore this is a bug.
Comment by PseudoKnight
I'm saying this was by design. They didn't accidentally exclude other entities. It's a physical player interact event in bukkit. They'd have to add support for other entities, which would use a different bukkit event with different code.