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

Method getActivePotionEffects

Minecraft-Utils/1.8/src/Variables.java:795–803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

793 }
794
795 @Override
796 public List<PotionEffectImpl> getActivePotionEffects() {
797 List<PotionEffectImpl> result = new ArrayList<PotionEffectImpl>(getActivePlayerPotionEffects().size());
798 for (wq potionEffect : getActivePlayerPotionEffects()) {
799 result.add(wrapPotionEffect(potionEffect));
800 }
801 Collections.sort(result);
802 return result;
803 }
804
805 @Override
806 public List<PotionEffectImpl> getDummyPotionEffects() {

Callers

nothing calls this directly

Calls 5

wrapPotionEffectMethod · 0.95
sizeMethod · 0.80
addMethod · 0.45
sortMethod · 0.45

Tested by

no test coverage detected