mirror of https://github.com/FabricMC/yarn.git
1bbd993937
`visibleOnly` actually sets `respectsVisibility` to `false` ```java public TargetPredicate visibleOnly() { this.respectsVisibility = false; return this; } ``` later in `test`, you can see that `respectsVisibility` is correctly named, as precedes the visibility check: ```java if (this.respectsVisibility && baseEntity instanceof MobEntity && !((MobEntity)baseEntity).getVisibilityCache().canSee(targetEntity)) { return false; } ``` Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
com/mojang/blaze3d | ||
net/minecraft |