Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5zig/The-5zig-Mod
/ getHealth
Method
getHealth
Minecraft-Utils/1.12.2/src/Variables.java:737–742 ·
view source on GitHub ↗
(Object entity)
Source
from the content-addressed store, hash-verified
735
}
736
737
@Override
738
public
float getHealth(Object entity) {
739
if
(!(entity instanceof vn))
740
return
-1;
741
return
((vn) entity).cd();
742
}
743
744
@Override
745
public
float getPlayerHealth() {
Callers
1
getPlayerHealth
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected