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

Method wrapPotionEffect

Minecraft-Utils/1.12/src/Variables.java:826–829  ·  view source on GitHub ↗
(uy potionEffect)

Source from the content-addressed store, hash-verified

824 }
825
826 private PotionEffectImpl wrapPotionEffect(uy potionEffect) {
827 return new PotionEffectImpl(potionEffect.f(), potionEffect.b(), ux.a(potionEffect, 1), potionEffect.c() + 1, potionEffect.a().d(), potionEffect.a().i(), potionEffect.e(),
828 potionEffect.a().g());
829 }
830
831 @Override
832 public int getPotionEffectIndicatorHeight() {

Callers 2

getPotionForVignetteMethod · 0.95

Calls 7

gMethod · 0.80
fMethod · 0.45
bMethod · 0.45
aMethod · 0.45
cMethod · 0.45
dMethod · 0.45
eMethod · 0.45

Tested by

no test coverage detected