Topic category: Help with modding (Java Edition)
I am making a sort of territory system where people get certain anti-griefing effects upon entering an opponent's territory. However, this requires a large tick update procedure for multiple entities. To reduce the lag of this procedure, would this picture work, by which there's only a 10% chance that the procedure executes per tick, and thus would only run fully every half second?
Or does java load the entire procedure regardless of how much of it goes through? Would this method actually reduce lag?