MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / wrapPotionEffect

Method wrapPotionEffect

Minecraft-Utils/1.8/src/Variables.java:815–819  ·  view source on GitHub ↗
(wq potionEffect)

Source from the content-addressed store, hash-verified

813 }
814
815 private PotionEffectImpl wrapPotionEffect(wq potionEffect) {
816 wp potion = getPotionByEffect(potionEffect);
817 return new PotionEffectImpl(potion == null ? "" : potionEffect.g(), potionEffect.b(), wp.a(potionEffect), potionEffect.c() + 1, potion == null ? -1 : potion.f(),
818 potion == null || !potion.g(), true, potion == null ? 0 : potion.k());
819 }
820
821 @Override
822 public boolean isHungerPotionActive() {

Callers 2

getPotionForVignetteMethod · 0.95

Calls 7

getPotionByEffectMethod · 0.95
gMethod · 0.80
bMethod · 0.45
aMethod · 0.45
cMethod · 0.45
fMethod · 0.45
kMethod · 0.45

Tested by

no test coverage detected