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