Files
fabric-carpet/src/main
Mitchell Skaggs 28cb136c6b Max collisions optimization (#1038)
* Lift entity limit up to the `getOtherEntities` method so it bails early

This has the potential to prevent a lot of bounding box computation

* Clean up decompiled code

* Fix raw generic types

This doesn't alter the signature, but it helps the compiler warn about misuse of the type later on

* Actually abort forEach when `limit` entities have been checked

`throw`ing a known exception is the easiest way to `break` out of a forEach call
2021-08-03 07:20:09 -03:00
..