mirror of
https://github.com/zeldaret/botw
synced 2026-05-28 08:25:01 -04:00
ddef936b26
The pattern we want to use is: ``` if (isEntity()) do entity stuff (e.g. get entity motion accessor) ``` or ``` if (!isEntity()) return; do entity stuff ``` That's clearer than ``` if (isSensor()) return; do entity stuff ``` because the fact that !isSensor() is equivalent to isEntity() is not always immediately clear.