@Override public void apply(World world,Entity entity,Random random,Object data){
  final int index=random.nextInt(effects.size());
  final IEffect effect=effects.get(index);
  if (effect != null)   effect.apply(world,entity,random,data);
}

@ Override public void apply ( World world , Entity entity , Random random , Object data ) { final int index = random . nextInt ( effects . size ( ) ) ; final IEffect effect = effects . get ( index ) ; if ( effect != null ) effect . apply ( world , entity , random , data ) ; }
applies all of the internal effects to the targets
