Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5zig/The-5zig-Mod
/ isPlayerInsideWater
Method
isPlayerInsideWater
Minecraft-Utils/1.13/src/Variables.java:778–781 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
776
}
777
778
@Override
779
public
boolean isPlayerInsideWater() {
780
return
getSpectatingEntity().a(wv.a) || getAir() < 300;
781
}
782
783
@Override
784
public
float getResistanceFactor() {
Callers
nothing calls this directly
Calls
3
getSpectatingEntity
Method · 0.95
getAir
Method · 0.95
a
Method · 0.45
Tested by
no test coverage detected