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

Method getActivePotionEffects

Minecraft-Utils/1.13/src/Variables.java:824–832  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

822 }
823
824 @Override
825 public List<PotionEffectImpl> getActivePotionEffects() {
826 List<PotionEffectImpl> result = new ArrayList<PotionEffectImpl>(getActivePlayerPotionEffects().size());
827 for (aeh potionEffect : getActivePlayerPotionEffects()) {
828 result.add(wrapPotionEffect(potionEffect));
829 }
830 Collections.sort(result);
831 return result;
832 }
833
834 @Override
835 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