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

Method getActivePotionEffects

Minecraft-Utils/1.12/src/Variables.java:811–819  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

809 }
810
811 @Override
812 public List<PotionEffectImpl> getActivePotionEffects() {
813 List<PotionEffectImpl> result = new ArrayList<PotionEffectImpl>(getActivePlayerPotionEffects().size());
814 for (uy potionEffect : getActivePlayerPotionEffects()) {
815 result.add(wrapPotionEffect(potionEffect));
816 }
817 Collections.sort(result);
818 return result;
819 }
820
821 @Override
822 public List<PotionEffectImpl> getDummyPotionEffects() {

Callers 1

Calls 5

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

Tested by

no test coverage detected