Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5zig/The-5zig-Mod
/ getPotionByEffect
Method
getPotionByEffect
Minecraft-Utils/1.12/src/Variables.java:891–893 ·
view source on GitHub ↗
(uy potionEffect)
Source
from the content-addressed store, hash-verified
889
}
890
891
public
ux getPotionByEffect(uy potionEffect) {
892
return
potionEffect.a();
893
}
894
895
public
ain getArmorItemBySlot(
int
slot) {
896
return
getPlayer().bv.g(slot);
Callers
1
getPotionForVignette
Method · 0.95
Calls
1
a
Method · 0.45
Tested by
no test coverage detected