Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5zig/The-5zig-Mod
/ getHealth
Method
getHealth
Minecraft-Utils/1.13/src/Variables.java:751–756 ·
view source on GitHub ↗
(Object entity)
Source
from the content-addressed store, hash-verified
749
}
750
751
@Override
752
public
float getHealth(Object entity) {
753
if
(!(entity instanceof aev))
754
return
-1;
755
return
((aev) entity).cq();
756
}
757
758
@Override
759
public
float getPlayerHealth() {
Callers
1
getPlayerHealth
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected