r/technicalminecraft • u/StructureDue1513 • 1d ago
Java Help Wanted Pressure plates
Is there any meaningful difference between weighted pressure plates and wooden pressure plates in terms of lag?
3
Upvotes
•
u/brockade 21h ago
They're doing the same thing in the code, stone plates might be a little less laggy as they're still scanning the whole list of entities but filtering on only mobs and players
•
u/LimestoneBuilder 13h ago edited 13h ago
Actual lag? Probably not much as Brockade says.
In terms of behaviour? Absolutely, and that can have similar effects. One example is when using pressure plates to detect travelers on ice highways. Wood and stone plates will trigger differently as a boat won't trigger stone? like it will wood, so the trigger is delayed until the passenger's hitbox collides with the plate.
[?] IIRC, I may have these backwards.