Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5zig/The-5zig-Mod
/ isPlayerSpectating
Method
isPlayerSpectating
Minecraft-Utils/1.10/src/Variables.java:982–985 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
980
}
981
982
@Override
983
public
boolean isPlayerSpectating() {
984
return
!isSpectatingSelf() || getPlayerController().a();
985
}
986
987
@Override
988
public
boolean shouldDrawHUD() {
Callers
nothing calls this directly
Calls
3
isSpectatingSelf
Method · 0.95
getPlayerController
Method · 0.95
a
Method · 0.45
Tested by
no test coverage detected